|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
com.sun.portal.search.soif.SOIFOutputStream
SOIFOutputStream class. Writes serialized SOIF objects to an output stream.
| Field Summary |
| Fields inherited from class java.io.DataOutputStream |
written |
| Fields inherited from class java.io.FilterOutputStream |
out |
| Constructor Summary | |
SOIFOutputStream(OutputStream os)
Creates a new SOIFOutputStream |
|
SOIFOutputStream(OutputStream os,
String encoding)
Creates a new SOIFOutputStream |
|
SOIFOutputStream(String filename)
Creates a new file based SOIFOutputStream using the default character encoding (UTF-8) |
|
SOIFOutputStream(String filename,
String encoding)
Creates a new file based SOIFOutputStream |
|
| Method Summary | |
void |
setAllowed(Set allowed)
Sets the allowed attributes on oouput. |
void |
write(SOIF s)
Writes a SOIF object to this output stream. |
void |
write(SOIF s,
Set allowed)
Writes a SOIF to this output stream including only the allowed attributes. |
| Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.io.FilterOutputStream |
close, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataOutput |
write |
| Constructor Detail |
public SOIFOutputStream(OutputStream os)
public SOIFOutputStream(OutputStream os,
String encoding)
os - the underlying output stream to write SOIF toencoding - the character encoding of the output SOIF
public SOIFOutputStream(String filename)
throws FileNotFoundException
filename - the file to write SOIF objects to
public SOIFOutputStream(String filename,
String encoding)
throws FileNotFoundException
filename - the file to write SOIF objects toencoding - the character encoding of the output SOIF| Method Detail |
public void setAllowed(Set allowed)
allowed - a restricted attribute set for the conversion (use lower case)
public void write(SOIF s)
throws IOException
s - the SOIF to be written
IOException
public void write(SOIF s,
Set allowed)
throws IOException
allowed - a restricted attribute set for the conversion (use lower case)
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||