public class Object2CodeObjectOutputStream extends Object implements AutoCloseable
| Constructor and Description |
|---|
Object2CodeObjectOutputStream(OutputStream out)
Generate a new Object2CodeObjectOutputStream based on an OutputStream
e.g.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
writeObject(Object o)
Writes an object ussing all getters and setters
to the given output stream.
|
void |
writeObject(Object o,
boolean onlyPropertiesWithMatchingField)
Writes an object into the given output stream.
|
public Object2CodeObjectOutputStream(OutputStream out) throws IOException, SecurityException
Serialize.object2code(Object)IOExceptionSecurityExceptionpublic void writeObject(Object o)
o - the object to writepublic void writeObject(Object o, boolean onlyPropertiesWithMatchingField)
o - the Object to writeonlyPropertiesWithMatchingField - use only fields that have a corresponding private field?public void close()
close in interface AutoCloseableCopyright © 2014 Apaxo GmbH. All rights reserved.