public class MemoryInput extends SerialInput
| Constructor | Description |
|---|---|
MemoryInput(MemoryContainer container) |
Assigns container to be read.
|
| Modifier and Type | Method | Description |
|---|---|---|
Example |
inputExample() |
Reads the next example from the data reprezentation.
|
Metadata |
inputMetadata() |
Reads the metadata (attributes and file's information) from the data
reprezentation.
|
public MemoryInput(MemoryContainer container)
container - reference to memory containerpublic Metadata inputMetadata() throws SerialIOException
SerialInputinputMetadata in class SerialInputMetadata objectSerialIOException - if an error is detected in data reprezentationSerialInput.inputMetadata()public Example inputExample() throws SerialIOException
SerialInputnull when end of data has been reached.
This method is allowed to return reference to a single instance of
Example class, modifying it during invocations.
inputExample in class SerialInputnull when end of data has been reachedSerialIOException - if an error is detected in data reprezentationSerialInput.inputExample()