public class RealValueFileEventStream extends FileEventStream
| Constructor and Description |
|---|
RealValueFileEventStream(File file) |
RealValueFileEventStream(String fileName) |
RealValueFileEventStream(String fileName,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
static float[] |
parseContexts(String[] contexts)
Parses the specified contexts and re-populates context array with features
and returns the values for these features.
|
Event |
read()
Returns the next object.
|
close, reset, toLinepublic RealValueFileEventStream(String fileName) throws IOException
IOExceptionpublic RealValueFileEventStream(String fileName, String encoding) throws IOException
IOExceptionpublic RealValueFileEventStream(File file) throws IOException
IOExceptionpublic static float[] parseContexts(String[] contexts)
contexts - The contexts with real values specified.public Event read() throws IOException
ObjectStreamread in interface ObjectStream<Event>read in class FileEventStreamIOException - if there is an error during readingCopyright © 2017 The Apache Software Foundation. All rights reserved.