Package oracle.sql
Class ConverterArchive
java.lang.Object
oracle.sql.ConverterArchive
- All Implemented Interfaces:
oracle.jdbc.diagnostics.Diagnosable,oracle.jdbc.diagnostics.PropertyChangeListener
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidoracle.jdbc.diagnostics.DiagnosablevoidentryName is the name of the obj inside the zip file, include directoryvoidinsertObjtoFile(String directory, String filename, Object obj) voidinsertSingleObj(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.voidopenArchiveforInsert(String zipName) voidentryName 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface oracle.jdbc.diagnostics.Diagnosable
begin, beginCurrentSql, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debugp, end, endCurrentSql, format, isDebugEnabled, isDiagnoseFirstFailureEnabled, isLoggable, isSensitiveEnabled, onClose, propertyChange, resumeLogging, secure, suspendLogging, trace, tracep
-
Constructor Details
-
ConverterArchive
public ConverterArchive()
-
-
Method Details
-
openArchiveforInsert
- Parameters:
zipName- is the name of the zip file. May include directory
-
closeArchiveforInsert
public void closeArchiveforInsert() -
insertObj
entryName is the name of the obj inside the zip file, include directory -
insertSingleObj
entryName is the name of the obj inside the zip file, include directory zipName is the name of the zip file. May include directory- Throws:
IOException
-
insertObjtoFile
- Throws:
IOException
-
openArchiveforRead
public void openArchiveforRead() -
closeArchiveforRead
public void closeArchiveforRead() -
readObj
-
readObj
entryName is the name of the obj inside the zip file, include directory zipName is the name of the zip file. May include directory -
getDiagnosable
public oracle.jdbc.diagnostics.Diagnosable getDiagnosable()- Specified by:
getDiagnosablein interfaceoracle.jdbc.diagnostics.Diagnosable
-