ps6.tigerdb
Class TigerRecord
java.lang.Object
ps6.tigerdb.TigerRecord
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- TigerRwTLID
public class TigerRecord
- extends Object
- implements Serializable
TigerRecord.java
- See Also:
- Serialized Form
Constructor Summary |
TigerRecord()
Special ctor to work around predefined record length (Record
Type C seems to be flawed. |
TigerRecord(String s,
int recordSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
TigerRecord
public TigerRecord()
- Special ctor to work around predefined record length (Record
Type C seems to be flawed.
TigerRecord
public TigerRecord(String s,
int recordSize)
makeGP
protected static GeoPoint makeGP(int lng,
int lat)
die
protected void die(String reason)
toInt
protected int toInt(String s)
throws TigerRecord.NoInt,
NonNumericDataException
- Parses `s' as an int, with the following additions to the
standard Integer.parseInt() method:
1. White space around `s' is allowed (and ignored)
2. If s is an empty string after trimming, throws NoInt
3. The number may be prefixed by a '+' character.
4. If s is contains non-numeric data, throws NonNumericDataException
- Throws:
TigerRecord.NoInt
NonNumericDataException
parseAddrRange
public DirectedStreetNumberRange parseAddrRange(String frStr,
String toStr)
throws BadRecordException
- Throws:
BadRecordException