Package 

Class ShapeFileReader


  • 
    public class ShapeFileReader
    
                        

    Reads an ESRI Shape File from an InputStream and provides its contents as simple Java objects.

    • Method Summary

      Modifier and Type Method Description
      ShapeFileHeader getHeader() Returns the shape's header.
      AbstractShape next() Reads one shape from the InputStream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShapeFileReader

        ShapeFileReader(InputStream is)
        Reads a Shape File from an InputStream using the default validationpreferences.
        Parameters:
        is - the InputStream to be read.
      • ShapeFileReader

        ShapeFileReader(InputStream is, ValidationPreferences preferences)
        Reads a Shape File from an InputStream using the specified validationpreferences.
        Parameters:
        is - the InputStream to be read.
        preferences - Customized validation preferences.