Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

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:
JarPackageData, IJarDescriptionReader

Method Summary
 void close ()
          Closes this writer.
  IStatus getStatus ()
          Returns the status of this reader.
 void write ( JarPackageData jarPackage)
          Writes the JAR package data to the description file to to the underlying stream.
 

Method Detail

write

void write(
JarPackageData 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.

Parameters:
jarPackage - the jar package data to write
Throws:
CoreException - if writing fails, e.g. I/O error during write operation

close

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


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

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire