|
Oracle JDBC API Reference 11g Release 2 ("11.2.0.3.0") |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.sql.ConverterArchive
public class ConverterArchive
This class allows a program to serialize an object and put it into a regular file or archive it into a zip file. It also allows a program to extract the object from the file for usage. It is used by the GSS package to create dynamically loadable data files. It is made public so programs from other packages can utilize this to created dynamically loable data files.
Field Summary | |
---|---|
static java.lang.String |
BUILD_DATE
|
static boolean |
TRACE
|
Constructor Summary | |
---|---|
ConverterArchive()
|
Method Summary | |
---|---|
void |
closeArchiveforInsert()
|
void |
closeArchiveforRead()
|
void |
insertObj(java.lang.Object obj,
java.lang.String entryName)
entryName is the name of the obj inside the zip file, include directory |
void |
insertObjtoFile(java.lang.String directory,
java.lang.String filename,
java.lang.Object obj)
|
void |
insertSingleObj(java.lang.String zipName,
java.lang.Object obj,
java.lang.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(java.lang.String zipName)
|
void |
openArchiveforRead()
|
java.lang.Object |
readObj(java.lang.String entryName)
|
java.lang.Object |
readObj(java.lang.String zipName,
java.lang.String entryName)
entryName is the name of the obj inside the zip file, include directory zipName is the name of the zip file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BUILD_DATE
public static final boolean TRACE
Constructor Detail |
---|
public ConverterArchive()
Method Detail |
---|
public void openArchiveforInsert(java.lang.String zipName)
zipName
- is the name of the zip file. May include directorypublic void closeArchiveforInsert()
public void insertObj(java.lang.Object obj, java.lang.String entryName)
public void insertSingleObj(java.lang.String zipName, java.lang.Object obj, java.lang.String entryName) throws java.io.IOException
java.io.IOException
public void insertObjtoFile(java.lang.String directory, java.lang.String filename, java.lang.Object obj) throws java.io.IOException
java.io.IOException
public void openArchiveforRead()
public void closeArchiveforRead()
public java.lang.Object readObj(java.lang.String entryName)
public java.lang.Object readObj(java.lang.String zipName, java.lang.String entryName)
|
Oracle JDBC API Reference 11g Release 2 ("11.2.0.3.0") |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |