|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WLObjectOutput
This interface, which is the interface implemented by the output streams set up between the WebLogic Server and its clients, is passed as an argument to the writeObject() method in the interface WLSerializable.
Methods in this interface can be used by classes implementing the writeObject() method in the weblogic.classes.WLSerializable interface.
Method Summary | |
---|---|
void |
writeAbbrevString(String s)
Deprecated. Please use writeImmutable instead |
void |
writeArrayList(ArrayList lst)
Writes a java.util.ArrayList to the output stream. |
void |
writeArrayOfObjects(Object[] aoo)
Writes an array of Objects to the output stream. |
void |
writeBytes(byte[] val)
Writes an array of bytes to the output stream. |
void |
writeDate(Date dateval)
Writes a java.lang.Date (or its equally famous subclass, java.sql.Date) to the output stream. |
void |
writeImmutable(Object o)
Writes a commonly used object to the output stream the object is abbreviated for greater efficiency. |
void |
writeObjectWL(Object o)
Writes a WebLogic serializable object to the output stream. |
void |
writeProperties(Properties propval)
Writes a java.util.Properties to the output stream. |
void |
writeString(String s)
Writes a java.lang.String to the output stream. |
Methods inherited from interface java.io.ObjectOutput |
---|
close, flush, write, write, write, writeObject |
Methods inherited from interface java.io.DataOutput |
---|
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Method Detail |
---|
void writeObjectWL(Object o) throws IOException
o
- Object to be written
IOException
void writeString(String s) throws IOException
s
- String to be written
IOException
void writeDate(Date dateval) throws IOException
dateval
- Date to be written
IOException
void writeArrayList(ArrayList lst) throws IOException
lst
- ArrayList to be written
IOException
void writeProperties(Properties propval) throws IOException
propval
- Properties object to be written
IOException
void writeBytes(byte[] val) throws IOException
val
- Value to be written
IOException
- if there is a serialization errorvoid writeArrayOfObjects(Object[] aoo) throws IOException
aoo
- Value to be written
IOException
- if there is a serialization errorvoid writeAbbrevString(String s) throws IOException
s
- String to be written
IOException
- if there is an error during serializationvoid writeImmutable(Object o) throws IOException
o
- String to be written
IOException
- if there is an error during serialization
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |