| java.lang.Object java.io.OutputStream java.io.FilterOutputStream java.io.DataOutputStream com.sun.portal.search.soif.SOIFOutputStream
SOIFOutputStream | public class SOIFOutputStream extends DataOutputStream (Code) | | SOIFOutputStream class. Writes serialized SOIF objects to an output stream.
|
Method Summary | |
public void | setAllowed(Set allowed) Sets the allowed attributes on oouput. | public void | write(SOIF s) Writes a SOIF object to this output stream. | public void | write(SOIF s, Set allowed) Writes a SOIF to this output stream including only the allowed attributes. |
SOIFOutputStream | public SOIFOutputStream(OutputStream os)(Code) | | Creates a new SOIFOutputStream
|
SOIFOutputStream | public SOIFOutputStream(OutputStream os, String encoding)(Code) | | Creates a new SOIFOutputStream
Parameters: os - the underlying output stream to write SOIF to Parameters: encoding - the character encoding of the output SOIF |
SOIFOutputStream | public SOIFOutputStream(String filename) throws FileNotFoundException(Code) | | Creates a new file based SOIFOutputStream using the default character encoding (UTF-8)
Parameters: filename - the file to write SOIF objects to |
SOIFOutputStream | public SOIFOutputStream(String filename, String encoding) throws FileNotFoundException(Code) | | Creates a new file based SOIFOutputStream
Parameters: filename - the file to write SOIF objects to Parameters: encoding - the character encoding of the output SOIF |
setAllowed | public void setAllowed(Set allowed)(Code) | | Sets the allowed attributes on oouput. Only attributes in the
allowed set will be written out.
Parameters: allowed - a restricted attribute set for the conversion (use lower case) |
write | public void write(SOIF s) throws IOException(Code) | | Writes a SOIF object to this output stream.
Parameters: s - the SOIF to be written |
write | public void write(SOIF s, Set allowed) throws IOException(Code) | | Writes a SOIF to this output stream including only the allowed attributes.
Parameters: allowed - a restricted attribute set for the conversion (use lower case) |
Fields inherited from java.io.DataOutputStream | protected int written(Code)(Java Doc)
|
|
|