public class MultipleFieldReader extends Reader
The clue is, that when the Reader doesn't reach a field, this field won't be requested from the program.
Constructor and Description |
---|
MultipleFieldReader(Program program,
ProgramFieldType[] infoFieldArr)
Creates a new instance of MultipleFieldReader.
|
MultipleFieldReader(Program program,
ProgramFieldType[] infoFieldArr,
String fieldSeparator)
Creates a new instance of MultipleFieldReader.
|
public MultipleFieldReader(Program program, ProgramFieldType[] infoFieldArr)
program
- The program to read the fields from.infoFieldArr
- The fields that should be read.public MultipleFieldReader(Program program, ProgramFieldType[] infoFieldArr, String fieldSeparator)
program
- The program to read the fields from.infoFieldArr
- The fields that should be read.fieldSeparator
- The String to use for separating fields.public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
public int read() throws IOException
read
in class Reader
IOException
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)