All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sun.wizards.builder.ResourceWriter

public interface ResourceWriter
Note: ResourceWriter is deprecated. In order to follow the common stream format, Objects do not write their own data to the Archive. Rather, you should create a ResourceCollection specifying the resources that your ResourceWriter object will write, and create a ResourceResolver that knows how to find those classes. Then register the ResourceResolver with the ResourceCollection, and the ResourceCollection with the ArchiveCreator. Then the ArchiveCreator will call upon your ResourceResolver and place the resolved resources into the WizardArchive.

The ResourceWriter interface is used for any class that writes information into the wizard archive. The object must register itself with the ArchiveWriter in order to be called upon to write its data.


Method Index

 o writeResource(DataOutput)
This method should write the archive data to the specified output stream.

Methods

 o writeResource
 public abstract void writeResource(DataOutput out)
This method should write the archive data to the specified output stream. When finished writing the data, the writeResource method should simply return. Do not close the output file.

Parameters:
out - The output stream to which the data should be written.

All Packages  Class Hierarchy  This Package  Previous  Next  Index