it.eng.spagobi.tools.importexport
Class TransformManager
java.lang.Object
it.eng.spagobi.tools.importexport.TransformManager
public class TransformManager
- extends java.lang.Object
Method Summary |
byte[] |
applyTransformations(byte[] impArchive,
java.lang.String archiveName,
java.lang.String pathImpTmpFolder)
Apply transformations. |
java.lang.String |
getCurrentVersion()
Gets the current SpagobI version. |
java.lang.String |
getExportVersion(java.lang.String pathImpTmpFold,
java.lang.String archiveName)
Gets the SpagoBI version of the exported file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformManager
public TransformManager()
applyTransformations
public byte[] applyTransformations(byte[] impArchive,
java.lang.String archiveName,
java.lang.String pathImpTmpFolder)
throws it.eng.spago.error.EMFUserError
- Apply transformations.
- Parameters:
impArchive
- the imp archivearchiveName
- the archive namepathImpTmpFolder
- the path imp tmp folder
- Returns:
- the byte[]
- Throws:
it.eng.spago.error.EMFUserError
- the EMF user error
getCurrentVersion
public java.lang.String getCurrentVersion()
- Gets the current SpagobI version.
- Returns:
- The current SpagoBI version
getExportVersion
public java.lang.String getExportVersion(java.lang.String pathImpTmpFold,
java.lang.String archiveName)
throws java.lang.Exception
- Gets the SpagoBI version of the exported file.
- Parameters:
pathImpTmpFold
- the path imp tmp foldarchiveName
- the archive name
- Returns:
- The SpagoBI version of the exported file
- Throws:
java.lang.Exception
- the exception