com.partnersoft.io.formats.shapefile
Class ShapefileByteReader

java.lang.Object
  extended by com.partnersoft.io.formats.shapefile.ShapefileByteReader

public class ShapefileByteReader
extends java.lang.Object

Hides the ugly details of getting numbers out of shapefiles.

Author:
Paul Reavis Copyright 1999 Partner Software, Inc.

Constructor Summary
ShapefileByteReader(java.io.InputStream istream)
           
 
Method Summary
 void close()
           
 int readBigEndianInteger()
           
 double readDouble()
           
 int readInteger()
           
 void skip(long n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapefileByteReader

public ShapefileByteReader(java.io.InputStream istream)
Method Detail

readBigEndianInteger

public int readBigEndianInteger()
                         throws java.io.IOException
Throws:
java.io.IOException

readInteger

public int readInteger()
                throws java.io.IOException
Throws:
java.io.IOException

readDouble

public double readDouble()
                  throws java.io.IOException
Throws:
java.io.IOException

skip

public void skip(long n)
          throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException