public class ConverterArchive extends Object
Constructor | Description |
---|---|
ConverterArchive() |
Modifier and Type | Method | Description |
---|---|---|
void |
closeArchiveforInsert() |
|
void |
closeArchiveforRead() |
|
void |
insertObj(Object obj, String entryName) |
entryName is the name of the obj inside the zip file, include directory
|
void |
insertObjtoFile(String directory, String filename, Object obj) |
|
void |
insertSingleObj(String zipName, Object obj, String entryName) |
entryName is the name of the obj inside the zip file, include directory zipName is the name of the zip file.
|
void |
openArchiveforInsert(String zipName) |
|
void |
openArchiveforRead() |
|
Object |
readObj(String entryName) |
|
Object |
readObj(String zipName, String entryName) |
entryName is the name of the obj inside the zip file, include directory zipName is the name of the zip file.
|
public void openArchiveforInsert(String zipName)
zipName
- is the name of the zip file. May include directorypublic void closeArchiveforInsert()
public void insertObj(Object obj, String entryName)
public void insertSingleObj(String zipName, Object obj, String entryName) throws IOException
IOException
public void insertObjtoFile(String directory, String filename, Object obj) throws IOException
IOException
public void openArchiveforRead()
public void closeArchiveforRead()