Remote Systems
v6.4.1

com.ibm.etools.systems.files.importexport.jar
Interface IRemoteJarDescriptionWriter

All Known Implementing Classes:
RemoteJarExportWriter

public interface IRemoteJarDescriptionWriter


Method Summary
 void close()
          Closes this writer.
 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.
 

Method Detail

write

public void write(RemoteJarExportData jarPackage)
           throws CoreException
Writes the JAR package data to the description file to to the underlying stream.

It is the client's responsibility to close this writer.

Throws:
CoreException - if writing fails, e.g. I/O error during write operation

close

public void close()
           throws CoreException
Closes this writer.

It is the client's responsibility to close this writer.

Throws:
CoreException - if closing fails, e.g. I/O error during close operation

getStatus

public IStatus getStatus()
Returns the status of this reader. If there were any errors, the result is a status object containing individual status objects for each error. If there were no errors, the result is a status object with error code OK.

Returns:
the status of this operation

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.