bip
Class BIPFixedWidth

java.lang.Object
  extended by bip.BIPAbstractScanner
      extended by bip.BIPFixedWidth
All Implemented Interfaces:
BIPScanner
Direct Known Subclasses:
FixedReaderOperator

public class BIPFixedWidth
extends BIPAbstractScanner


Field Summary
(package private)  java.io.BufferedReader br
           
(package private)  java.lang.String filename
           
(package private)  boolean loose
           
 
Fields inherited from class bip.BIPAbstractScanner
defaultUnits, defaultWidth
 
Constructor Summary
BIPFixedWidth()
           
 
Method Summary
 void close()
           
 void match(java.lang.String s)
           
 void nextline()
           
 void open(java.lang.String newFilename)
           
 boolean read(boolean current, int chars, java.lang.String units)
           
 double read(double current, int chars, java.lang.String units)
           
 float read(float current, int chars, java.lang.String units)
           
 int read(int current, int chars, java.lang.String units)
           
 java.lang.String read(java.lang.String current, int chars, java.lang.String units)
           
private  java.lang.String readString(int chars, boolean stopOnEOL)
           
 void setLoose()
           
 
Methods inherited from class bip.BIPAbstractScanner
read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, setDefaultUnits, setDefaultWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

br

java.io.BufferedReader br

filename

java.lang.String filename

loose

boolean loose
Constructor Detail

BIPFixedWidth

public BIPFixedWidth()
Method Detail

open

public void open(java.lang.String newFilename)
          throws BIPException
Throws:
BIPException

setLoose

public void setLoose()

close

public void close()
           throws BIPException
Throws:
BIPException

nextline

public void nextline()
              throws BIPException
Throws:
BIPException

match

public void match(java.lang.String s)
           throws BIPException
Throws:
BIPException

read

public int read(int current,
                int chars,
                java.lang.String units)
         throws BIPException
Throws:
BIPException

read

public java.lang.String read(java.lang.String current,
                             int chars,
                             java.lang.String units)
                      throws BIPException
Throws:
BIPException

readString

private java.lang.String readString(int chars,
                                    boolean stopOnEOL)
                             throws BIPException
Throws:
BIPException

read

public float read(float current,
                  int chars,
                  java.lang.String units)
           throws BIPException
Throws:
BIPException

read

public double read(double current,
                   int chars,
                   java.lang.String units)
            throws BIPException
Throws:
BIPException

read

public boolean read(boolean current,
                    int chars,
                    java.lang.String units)
             throws BIPException
Throws:
BIPException