it.eng.spagobi.tools.importexport
Class TransformManager

java.lang.Object
  extended by it.eng.spagobi.tools.importexport.TransformManager

public class TransformManager
extends java.lang.Object


Constructor Summary
TransformManager()
           
 
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
 

Constructor Detail

TransformManager

public TransformManager()
Method Detail

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 archive
archiveName - the archive name
pathImpTmpFolder - 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 fold
archiveName - the archive name
Returns:
The SpagoBI version of the exported file
Throws:
java.lang.Exception - the exception