step.io
Class StepEncodedInput.MetaContext
java.lang.Object
|
+--step.io.StepEncodedInput.MetaContext
- All Implemented Interfaces:
- DecodeContext
- Enclosing class:
- StepEncodedInput
- public class StepEncodedInput.MetaContext
- extends Object
- implements DecodeContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepEncodedInput.MetaContext
public StepEncodedInput.MetaContext(MetaRecord metaRecord)
throws IOException
read
public Object read(Object request)
throws IOException
- Description copied from interface:
DecodeContext
- Request data from the context.
This request is usually a
byte[]
to be filled, however it may
be any encapsulated request agreed upon by the implementation and some
Encoder
.
- Specified by:
read
in interface DecodeContext
- Parameters:
request
- an object representing a request for data,
generally a byte[]
.
- Returns:
- the filled request.
- Throws:
IOException
- if an I/O error occurred.