Package org.eclipse.jdt.ui.jarpackager
Interface IJarDescriptionWriter
public interface IJarDescriptionWriter
Writes the description file of a JAR package data object.
 
The format is defined by the client who implements the reader/writer pair.
- Since:
 - 2.0
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this writer.org.eclipse.core.runtime.IStatusReturns the status of this reader.voidwrite(JarPackageData jarPackage) Writes the JAR package data to the description file to to the underlying stream. 
- 
Method Details
- 
write
Writes the JAR package data to the description file to to the underlying stream.It is the client's responsibility to close this writer.
- Parameters:
 jarPackage- the jar package data to write- Throws:
 org.eclipse.core.runtime.CoreException- if writing fails, e.g. I/O error during write operation
 - 
close
void close() throws org.eclipse.core.runtime.CoreExceptionCloses this writer.It is the client's responsibility to close this writer.
- Throws:
 org.eclipse.core.runtime.CoreException- if closing fails, e.g. I/O error during close operation
 - 
getStatus
org.eclipse.core.runtime.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 codeOK.- Returns:
 - the status of this operation
 
 
 -