bip
Class BIPAbstractScanner
java.lang.Object
bip.BIPAbstractScanner
- All Implemented Interfaces:
- BIPScanner
- Direct Known Subclasses:
- BIPDelimited, BIPFixedWidth, BIPUnformatted
public abstract class BIPAbstractScanner
- extends java.lang.Object
- implements BIPScanner
Method Summary |
boolean |
read(boolean current)
|
boolean |
read(boolean current,
int chars)
|
boolean |
read(boolean current,
java.lang.String units)
|
double |
read(double current)
|
double |
read(double current,
int chars)
|
double |
read(double current,
java.lang.String units)
|
float |
read(float current)
|
float |
read(float current,
int chars)
|
float |
read(float current,
java.lang.String units)
|
int |
read(int current)
|
int |
read(int current,
int chars)
|
int |
read(int current,
java.lang.String units)
|
java.lang.String |
read(java.lang.String current)
|
java.lang.String |
read(java.lang.String current,
int chars)
|
java.lang.String |
read(java.lang.String current,
java.lang.String units)
|
void |
setDefaultUnits(java.lang.String units)
|
void |
setDefaultWidth(int width)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultUnits
protected java.lang.String defaultUnits
defaultWidth
protected int defaultWidth
BIPAbstractScanner
public BIPAbstractScanner()
setDefaultUnits
public void setDefaultUnits(java.lang.String units)
setDefaultWidth
public void setDefaultWidth(int width)
read
public int read(int current,
java.lang.String units)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public int read(int current)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public int read(int current,
int chars)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public java.lang.String read(java.lang.String current,
java.lang.String units)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public java.lang.String read(java.lang.String current)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public java.lang.String read(java.lang.String current,
int chars)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public double read(double current,
java.lang.String units)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public double read(double current)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public double read(double current,
int chars)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public float read(float current,
java.lang.String units)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public float read(float current)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public float read(float current,
int chars)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public boolean read(boolean current,
java.lang.String units)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public boolean read(boolean current)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException
read
public boolean read(boolean current,
int chars)
throws BIPException
- Specified by:
read
in interface BIPScanner
- Throws:
BIPException