|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.files.importexport.jar.RemoteJarExportWriter
Field Summary | |
---|---|
protected OutputStream |
fOutputStream
|
Constructor Summary | |
---|---|
RemoteJarExportWriter(OutputStream outputStream)
Create a JarPackageWriter on the given output stream. |
Method Summary | |
---|---|
void |
close()
Closes this stream. |
IStatus |
getStatus()
Returns the status of this reader. |
void |
write(RemoteJarExportData jarPackage)
Writes the JAR package data to the description file to to the underlying stream. |
void |
writeString(RemoteJarExportData jarPackage)
Writes a String representation of the JAR specification to to the underlying stream. |
void |
writeXML(RemoteJarExportData jarPackage)
Writes a XML representation of the JAR specification to to the underlying stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected OutputStream fOutputStream
Constructor Detail |
public RemoteJarExportWriter(OutputStream outputStream)
Method Detail |
public void write(RemoteJarExportData jarPackage) throws CoreException
IRemoteJarDescriptionWriter
It is the client's responsibility to close this writer.
write
in interface IRemoteJarDescriptionWriter
CoreException
- if writing fails, e.g. I/O error during write operationpublic void writeXML(RemoteJarExportData jarPackage) throws IOException
IOException
- if writing to the underlying stream failspublic void writeString(RemoteJarExportData jarPackage) throws IOException
IOException
- Writing to the underlying stream.public void close() throws CoreException
close
in interface IRemoteJarDescriptionWriter
CoreException
public IStatus getStatus()
IRemoteJarDescriptionWriter
OK
.
getStatus
in interface IRemoteJarDescriptionWriter
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |