public class SerializableParameter extends Object implements ParameterHolder
| Constructor and Description |
|---|
SerializableParameter(Object object) |
| Modifier and Type | Method and Description |
|---|---|
long |
length() |
int |
writeTo(OutputStream os,
int offset,
int maxWriteSize)
Write at most maxWriteSize, return the amont actually written
|
public SerializableParameter(Object object) throws IOException
IOExceptionpublic int writeTo(OutputStream os, int offset, int maxWriteSize) throws IOException
ParameterHolderwriteTo in interface ParameterHolderos - the stream to write tooffset - where to start writingmaxWriteSize - max number of bytes to writeIOException - when everything goes wrongpublic long length()
length in interface ParameterHolderCopyright © 2016. All rights reserved.