public class RealValueFileEventStream extends FileEventStream
| Constructor and Description |
|---|
RealValueFileEventStream(java.io.File file) |
RealValueFileEventStream(java.lang.String fileName) |
RealValueFileEventStream(java.lang.String fileName,
java.lang.String encoding) |
| Modifier and Type | Method and Description |
|---|---|
static float[] |
parseContexts(java.lang.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(java.lang.String fileName)
throws java.io.IOException
java.io.IOExceptionpublic RealValueFileEventStream(java.lang.String fileName,
java.lang.String encoding)
throws java.io.IOException
java.io.IOExceptionpublic RealValueFileEventStream(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic static float[] parseContexts(java.lang.String[] contexts)
contexts - The contexts with real values specified.public Event read() throws java.io.IOException
ObjectStreamread in interface ObjectStream<Event>read in class FileEventStreamjava.io.IOException - if there is an error during readingCopyright © 2010 - 2023 Adobe. All Rights Reserved