Package bref
Class Bref3Reader
java.lang.Object
bref.Bref3Reader
Class Bref3Reader
contains methods for reading a bref3
(binary reference format version 3) file.
Instances of class Bref3Reader
are not thread-safe.
Methods of this class will terminate the Java Virtual Machine with an error message if an I/O error or file format error is detected.
-
Constructor Summary
ConstructorsConstructorDescriptionBref3Reader
(File source, DataInput dataIn) Constructs a newBref3Reader
instance.Bref3Reader
(File source, DataInput dataIn, Filter<String> sampleFilter, Filter<Marker> markerFilter) Constructs a newBref3Reader
instance. -
Method Summary
-
Constructor Details
-
Bref3Reader
Constructs a newBref3Reader
instance.- Parameters:
source
- the source bref3 file ornull
if the bref3 file is read from stdindataIn
- aDataInput
instance reading from a bref3 file- Throws:
IllegalArgumentException
- if a format error is detected in a line of the specified bref3 fileNullPointerException
- if(dataIn == null)
-
Bref3Reader
public Bref3Reader(File source, DataInput dataIn, Filter<String> sampleFilter, Filter<Marker> markerFilter) Constructs a newBref3Reader
instance.- Parameters:
source
- the source bref3 file ornull
if the bref3 file is read from stdindataIn
- aDataInput
instance reading from a bref3 filesampleFilter
- a sample filtermarkerFilter
- a marker filter- Throws:
IllegalArgumentException
- if a format error is detected in a line of the specified bref3 fileNullPointerException
- if(dataIn == null) || (sampleFilter == null) || (markerFilter == null)
-
-
Method Details