|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.tools.migration.fileimport.ImportFromEAR
ImportFromEAR Import the BTT 4.3.x defintion files from an EAR file
Field Summary | |
---|---|
(package private) java.util.Vector |
definitionFiles
|
protected java.io.File |
earFile
|
(package private) java.lang.String |
path
|
Constructor Summary | |
---|---|
ImportFromEAR(java.io.File archive)
Constructor |
|
ImportFromEAR(java.lang.String archive)
Constructor |
Method Summary | |
---|---|
protected java.util.Vector |
createSelfDefinedOpList()
|
protected java.util.zip.ZipInputStream |
find(java.lang.String name)
|
protected java.util.zip.ZipInputStream |
find(java.util.zip.ZipInputStream in,
java.lang.String name)
|
protected java.util.Vector |
findFile(java.util.zip.ZipInputStream in,
java.lang.String name,
java.lang.String upperPath)
|
protected java.util.Vector |
findFileInPath(java.util.zip.ZipInputStream in,
java.lang.String pathInfo)
|
protected void |
getDefSelfDefFiles(java.lang.String[] copiedFiles,
java.lang.String targetLoc)
|
java.lang.String[] |
getDseIniListInEAR()
Retrieve the list of the dse.ini file in the EAR file. |
java.io.File |
getEarFile()
Get the ear file instance |
protected java.lang.String |
getEntityPath()
|
java.lang.String |
getTargetPath()
Get the target path which will place the imported defintion files |
protected void |
importDefinitionFiles(boolean fromEAR,
java.lang.String entityLoc,
java.lang.String targetLoc)
|
void |
importFromEAR(java.lang.String dseIniFile)
Import the definition files according to the specified dse.ini file. |
protected void |
importSelfDefFiles(boolean fromEAR,
java.lang.String entityLoc,
java.lang.String targetLoc)
|
protected boolean |
isArchive(java.lang.String name)
|
protected boolean |
isBTTDefFiles(java.lang.String filename)
|
static void |
main(java.lang.String[] args)
|
protected void |
makeDefFileNameList()
|
protected int |
read_write(boolean fromEAR,
java.lang.String importFile,
java.lang.String targetFile)
|
void |
resetEarByFile(java.io.File file)
Reset the ear file instance by File instance |
void |
resetEarByName(java.lang.String earFileName)
Reset the ear file instance by EAR file name |
void |
setEarFile(java.io.File file)
Set the ear file instance |
protected void |
setEntityPath(java.lang.String string)
|
void |
setTargetPath(java.lang.String string)
Set the target path which will place the imported defintion files |
protected int |
writeFile(java.io.InputStream in,
java.lang.String targetFile)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.String path
protected java.io.File earFile
java.util.Vector definitionFiles
Constructor Detail |
public ImportFromEAR(java.io.File archive)
archive
- File instance of an EAR filepublic ImportFromEAR(java.lang.String archive)
archive
- File Name(with the path information) of an EAR fileMethod Detail |
protected java.util.Vector findFile(java.util.zip.ZipInputStream in, java.lang.String name, java.lang.String upperPath) throws java.lang.Exception
java.lang.Exception
protected java.util.Vector findFileInPath(java.util.zip.ZipInputStream in, java.lang.String pathInfo) throws java.lang.Exception
java.lang.Exception
protected java.util.zip.ZipInputStream find(java.lang.String name) throws java.lang.Exception
java.lang.Exception
protected java.util.zip.ZipInputStream find(java.util.zip.ZipInputStream in, java.lang.String name) throws java.io.IOException
java.io.IOException
public java.lang.String[] getDseIniListInEAR() throws java.lang.Exception
java.lang.Exception
protected boolean isBTTDefFiles(java.lang.String filename)
protected boolean isArchive(java.lang.String name)
public static void main(java.lang.String[] args)
protected void makeDefFileNameList()
public void importFromEAR(java.lang.String dseIniFile) throws java.lang.Exception
dseIniFile
-
java.lang.Exception
protected void importDefinitionFiles(boolean fromEAR, java.lang.String entityLoc, java.lang.String targetLoc) throws DSEException, java.lang.Exception
DSEException
java.lang.Exception
protected void importSelfDefFiles(boolean fromEAR, java.lang.String entityLoc, java.lang.String targetLoc) throws java.lang.Exception
java.lang.Exception
protected java.util.Vector createSelfDefinedOpList() throws java.io.IOException
java.io.IOException
protected void getDefSelfDefFiles(java.lang.String[] copiedFiles, java.lang.String targetLoc) throws java.lang.Exception
java.lang.Exception
protected int read_write(boolean fromEAR, java.lang.String importFile, java.lang.String targetFile) throws java.lang.Exception
java.lang.Exception
protected int writeFile(java.io.InputStream in, java.lang.String targetFile) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getEntityPath()
protected void setEntityPath(java.lang.String string)
public java.lang.String getTargetPath()
public void setTargetPath(java.lang.String string)
string
- public java.io.File getEarFile()
public void setEarFile(java.io.File file)
file
- the instance of EAR filepublic void resetEarByFile(java.io.File file)
file
- the instance of EAR filepublic void resetEarByName(java.lang.String earFileName)
earFileName
- the name of EAR file
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |