Package
Class
Use
Tree
Deprecated
Index
Help
NVS Shapefile library Version 3.2
NVision Solutions, Inc.
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
F
G
I
M
P
R
S
T
U
W
A
addField(RecordField)
- Method in class com.nvs.shapefile.
Record
Adds the specified RecordField.
addPart(int)
- Method in class com.nvs.shapefile.
ShapeObject
Adds the specified part
addPoint(Point)
- Method in class com.nvs.shapefile.
ShapeObject
Adds the specified point to this ShapeObject
addShapeObject(ShapeObject)
- Method in class com.nvs.shapefile.
Shapefile
Adds the specified ShapeObject to this Shapefile
addTableDescriptor(TableDescriptor)
- Method in class com.nvs.shapefile.
TableDescription
Adds the specified TableDescriptor.
B
BoundingBox
- class com.nvs.shapefile.
BoundingBox
.
The BoundingBox holds a shapefile's or a shape's minimum and maximum X and Y values
BoundingBox()
- Constructor for class com.nvs.shapefile.
BoundingBox
Creates a Bounding box with both minimum and maximum values of X and Y set to zero.
BoundingBox(double, double, double, double)
- Constructor for class com.nvs.shapefile.
BoundingBox
Creates a Bounding box specified minimum and maximum X and Y values.
C
com.nvs.shapefile
- package com.nvs.shapefile
computeExtents()
- Method in class com.nvs.shapefile.
Shapefile
Computes the minimum extents for this Shapefile and sets its BoundingBox to them
computeExtents()
- Method in class com.nvs.shapefile.
ShapeObject
Computes the minimum extents for this ShapeObject and sets its BoundingBox to them
contains(String)
- Method in class com.nvs.shapefile.
TableDescription
F
FIELDTYPE_CHARACTER
- Static variable in class com.nvs.shapefile.
Shapefile
Field type value of a string record field ('C')
FIELDTYPE_DATE
- Static variable in class com.nvs.shapefile.
Shapefile
Field type value of a string record field ('D')
FIELDTYPE_FLOAT
- Static variable in class com.nvs.shapefile.
Shapefile
Field type value of a string record field ('F')
FIELDTYPE_LOGICAL
- Static variable in class com.nvs.shapefile.
Shapefile
Field type value of a string record field ('L')
FIELDTYPE_NUMBER
- Static variable in class com.nvs.shapefile.
Shapefile
Field type value of a string record field ('N')
G
getBoundingBox()
- Method in class com.nvs.shapefile.
Shapefile
Returns the BoundingBox of this Shapefile
getBoundingBox()
- Method in class com.nvs.shapefile.
ShapeObject
Returns this ShapeObject's BoundingBox
getField(int)
- Method in class com.nvs.shapefile.
Record
Retrieves the RecordField at the specified index.
getField(String)
- Method in class com.nvs.shapefile.
Record
Retrieves the RecordField with specified name.
getFieldCount()
- Method in class com.nvs.shapefile.
Record
Retrieves the current number of RecordFields
getFieldCount()
- Method in class com.nvs.shapefile.
TableDescription
Retrieves the current number of TableDescriptors.
getFields()
- Method in class com.nvs.shapefile.
Record
Retrieves all RecordFields as an ArrayList
getName()
- Method in class com.nvs.shapefile.
RecordField
Retrieves the field name
getName()
- Method in class com.nvs.shapefile.
TableDescriptor
Retrieves the name of the field.
getPart(int)
- Method in class com.nvs.shapefile.
ShapeObject
Returns the part at the specified index
getPartCount()
- Method in class com.nvs.shapefile.
ShapeObject
Returns the number of parts in this ShapeObject
getParts()
- Method in class com.nvs.shapefile.
ShapeObject
Returns this ShapeObject's parts as an ArrayList
getPoint(int)
- Method in class com.nvs.shapefile.
ShapeObject
Returns the point at the specified index
getPointCount()
- Method in class com.nvs.shapefile.
ShapeObject
Returns the number of points in this ShapeObject
getPoints()
- Method in class com.nvs.shapefile.
ShapeObject
Returns this ShapeObject's Points as an ArrayList
getPrecision()
- Method in class com.nvs.shapefile.
TableDescriptor
Retrieves the precision of the field.
getRecord()
- Method in class com.nvs.shapefile.
ShapeObject
Returns this ShapeObject's Record
getShapeObject(int)
- Method in class com.nvs.shapefile.
Shapefile
Returns the ShapeObject at the specified index
getShapeObjectCount()
- Method in class com.nvs.shapefile.
Shapefile
Returns the number of ShapeObjects in this Shapefile
getShapeObjects()
- Method in class com.nvs.shapefile.
Shapefile
Returns all ShapeObjects in this Shapefile
getTableDescription()
- Method in class com.nvs.shapefile.
Shapefile
Returns this Shapefile's TableDescription
getTableDescriptor(int)
- Method in class com.nvs.shapefile.
TableDescription
Retrieves the TableDescriptor at the specified index.
getTableDescriptor(String)
- Method in class com.nvs.shapefile.
TableDescription
Retrieves the TableDescriptor with the specified name.
getTableDescriptors()
- Method in class com.nvs.shapefile.
TableDescription
Retrieves all TableDescriptors.
getType()
- Method in class com.nvs.shapefile.
Shapefile
Returns the type of this Shapefile
getType()
- Method in class com.nvs.shapefile.
ShapeObject
Returns this ShapeObject's type
getType()
- Method in class com.nvs.shapefile.
TableDescriptor
Retrieves the data type of the field.
getValue()
- Method in class com.nvs.shapefile.
RecordField
Retrieves the field value
getWarningMessages()
- Method in class com.nvs.shapefile.
Shapefile
Returns an ArrayList of Strings representing warning messages that have occured in read/write operations
getWidth()
- Method in class com.nvs.shapefile.
TableDescriptor
Retrieves the width of the field.
getX()
- Method in class com.nvs.shapefile.
Point
Retrieves value of X
getXMax()
- Method in class com.nvs.shapefile.
BoundingBox
Retrieves the maximum X value.
getXMin()
- Method in class com.nvs.shapefile.
BoundingBox
Retrieves the minimum X value.
getY()
- Method in class com.nvs.shapefile.
Point
Retrieves value of Y
getYMax()
- Method in class com.nvs.shapefile.
BoundingBox
Retrieves the maximum Y value.
getYMin()
- Method in class com.nvs.shapefile.
BoundingBox
Retrieves the minimum Y value.
I
InvalidDescriptorNameException
- exception com.nvs.shapefile.
InvalidDescriptorNameException
.
Thrown to indicate an invalid TableDescriptor name has been specified
InvalidDescriptorNameException()
- Constructor for class com.nvs.shapefile.
InvalidDescriptorNameException
Constructs an InvalidDescriptorNameException with no detail message.
InvalidDescriptorNameException(String)
- Constructor for class com.nvs.shapefile.
InvalidDescriptorNameException
Constructs an InvalidDescriptorNameException with the specified detail message.
InvalidFieldNameException
- exception com.nvs.shapefile.
InvalidFieldNameException
.
Thrown to indicate an invalid RecordField name has been specified
InvalidFieldNameException()
- Constructor for class com.nvs.shapefile.
InvalidFieldNameException
Constructs an InvalidFieldNameException with no detail message.
InvalidFieldNameException(String)
- Constructor for class com.nvs.shapefile.
InvalidFieldNameException
Constructs an InvalidFieldNameException with the specified detail message.
InvalidFieldTypeException
- exception com.nvs.shapefile.
InvalidFieldTypeException
.
Thrown to indicate an invalid RecordField type has been specified
InvalidFieldTypeException()
- Constructor for class com.nvs.shapefile.
InvalidFieldTypeException
Constructs an InvalidFieldTypeException with no detail message.
InvalidFieldTypeException(String)
- Constructor for class com.nvs.shapefile.
InvalidFieldTypeException
Constructs an InvalidFieldTypeException with the specified detail message.
InvalidFileException
- exception com.nvs.shapefile.
InvalidFileException
.
Thrown to indicate an invalid or corrupt shapefile
InvalidFileException()
- Constructor for class com.nvs.shapefile.
InvalidFileException
Constructs an InvalidFileException with no detail message.
InvalidFileException(String)
- Constructor for class com.nvs.shapefile.
InvalidFileException
Constructs an InvalidFileException with the specified detail message.
InvalidShapeTypeException
- exception com.nvs.shapefile.
InvalidShapeTypeException
.
Thrown to indicate a mismatch between a shapefile and its shapeobjects
InvalidShapeTypeException()
- Constructor for class com.nvs.shapefile.
InvalidShapeTypeException
Constructs an InvalidShapeTypeException with no detail message.
InvalidShapeTypeException(String)
- Constructor for class com.nvs.shapefile.
InvalidShapeTypeException
Constructs an InvalidShapeTypeException with the specified detail message.
M
MULTIPOINT
- Static variable in class com.nvs.shapefile.
ShapeObject
Shape type value of a MultiPoint shapefile type descriptor (8)
P
Point
- class com.nvs.shapefile.
Point
.
A Point holds X and Y coordinates, but no Record.
POINT
- Static variable in class com.nvs.shapefile.
ShapeObject
Shape type value of a Point shapefile type descriptor (1)
Point()
- Constructor for class com.nvs.shapefile.
Point
Creates a new Point with X and Y equal to zero.
Point(double, double)
- Constructor for class com.nvs.shapefile.
Point
Creates a new Point with specified X and Y values.
POLYGON
- Static variable in class com.nvs.shapefile.
ShapeObject
Shape type value of a Polygon shapefile type descriptor (5)
POLYLINE
- Static variable in class com.nvs.shapefile.
ShapeObject
Shape type value of a PolyLine shapefile type descriptor (3)
R
Record
- class com.nvs.shapefile.
Record
.
Records contain an internal Collection of RecordFields and store the database attributes for a given shape.
Record()
- Constructor for class com.nvs.shapefile.
Record
Default constructor.
Record(Collection)
- Constructor for class com.nvs.shapefile.
Record
Initializes the Record to the specified collection of RecordFields.
RecordField
- class com.nvs.shapefile.
RecordField
.
RecordFields populate Records and hold information fields with a name, value pair.
RecordField()
- Constructor for class com.nvs.shapefile.
RecordField
Default Constructor.
RecordField(String)
- Constructor for class com.nvs.shapefile.
RecordField
Initializes the RecordField with the specified name.
RecordField(String, String)
- Constructor for class com.nvs.shapefile.
RecordField
Initializes the RecordField with the specified name and value.
removeField(int)
- Method in class com.nvs.shapefile.
Record
Removes the RecordField at the specified index.
removeField(String)
- Method in class com.nvs.shapefile.
Record
Removes the RecordField with the supplied name.
removePart(int)
- Method in class com.nvs.shapefile.
ShapeObject
Removes the part at the specified index
removePoint(int)
- Method in class com.nvs.shapefile.
ShapeObject
Removes the point at the specified index
removeShapeObject(int)
- Method in class com.nvs.shapefile.
Shapefile
Removes the ShapeObject at the specified index
removeTableDescriptor(int)
- Method in class com.nvs.shapefile.
TableDescription
Removes the TableDescriptor at the specified index.
removeTableDescriptor(String)
- Method in class com.nvs.shapefile.
TableDescription
Removes the TableDescriptor with the specified name.
S
setBoundingBox(BoundingBox)
- Method in class com.nvs.shapefile.
Shapefile
Sets the BoundingBox of this Shapefile
setBoundingBox(BoundingBox)
- Method in class com.nvs.shapefile.
ShapeObject
Sets this ShapeObject's BoundingBox
setField(RecordField)
- Method in class com.nvs.shapefile.
Record
Sets value of RecordField with the name of fld.getName().
setFields(Collection)
- Method in class com.nvs.shapefile.
Record
Sets the internal Collection of RecordFields to the specified Collection
setName(String)
- Method in class com.nvs.shapefile.
RecordField
Sets the name to that specified.
setName(String)
- Method in class com.nvs.shapefile.
TableDescriptor
Sets the specified field name.
setParts(Collection)
- Method in class com.nvs.shapefile.
ShapeObject
Sets the parts of this ShapeObject to those in the specified Collection
setPoints(Collection)
- Method in class com.nvs.shapefile.
ShapeObject
Sets this ShapeObject's Points to those in the specified Collection
setPrecision(int)
- Method in class com.nvs.shapefile.
TableDescriptor
Sets the specified field precision.
setRecord(Record)
- Method in class com.nvs.shapefile.
ShapeObject
Sets this ShapeObject's Record
setShapeObjects(Collection)
- Method in class com.nvs.shapefile.
Shapefile
Sets the ShapeObjects in this Shapefile to those in the specified collection
setTableDescription(TableDescription)
- Method in class com.nvs.shapefile.
Shapefile
Sets the TableDescription for this Shapefile
setTableDescriptors(Collection)
- Method in class com.nvs.shapefile.
TableDescription
Sets interal TableDescriptors Collection to specified Collection.
setTableDescriptorType(String, int)
- Method in class com.nvs.shapefile.
TableDescription
Sets type of TableDescriptor with specified name.
setType(int)
- Method in class com.nvs.shapefile.
Shapefile
Sets the type of this Shapefile
setType(int)
- Method in class com.nvs.shapefile.
ShapeObject
Sets the type of this ShapeObject
setType(int)
- Method in class com.nvs.shapefile.
TableDescriptor
Sets the specified field type.
setValue(String)
- Method in class com.nvs.shapefile.
RecordField
Sets the value to that specified.
setWidth(int)
- Method in class com.nvs.shapefile.
TableDescriptor
Sets the specified field width.
setX(double)
- Method in class com.nvs.shapefile.
Point
Sets the X value to that specified.
setXMax(double)
- Method in class com.nvs.shapefile.
BoundingBox
Sets the maximum X value to that specified.
setXMin(double)
- Method in class com.nvs.shapefile.
BoundingBox
Sets the minimum X value to that specified.
setY(double)
- Method in class com.nvs.shapefile.
Point
Sets the Y value to that specified.
setYMax(double)
- Method in class com.nvs.shapefile.
BoundingBox
Sets the maximum Y value to that specified.
setYMin(double)
- Method in class com.nvs.shapefile.
BoundingBox
Sets the minimum Y value to that specified.
Shapefile
- class com.nvs.shapefile.
Shapefile
.
The Shapefile class represents an ESRI shapefile
Shapefile()
- Constructor for class com.nvs.shapefile.
Shapefile
Creates a new Shapefile with no shapes, no type, and a BoundingBox with all values set to zero.
Shapefile(InputStream, InputStream, InputStream)
- Constructor for class com.nvs.shapefile.
Shapefile
Constructs a new Shapefile object by reading the specified streams
Shapefile(int)
- Constructor for class com.nvs.shapefile.
Shapefile
Creates a new Shapefile with the specified type, no shapes, and a BoundingBox with all values set to zero.
Shapefile(String)
- Constructor for class com.nvs.shapefile.
Shapefile
Constructs a new Shapefile object by reading the specified file
If the index and/or records files cannot be found, no exception is
thrown.
ShapeObject
- class com.nvs.shapefile.
ShapeObject
.
A ShapeObject represents a shape record within a Shapefile.
ShapeObject()
- Constructor for class com.nvs.shapefile.
ShapeObject
Creates a new ShapeObject with an UNDEFINED type
ShapeObject(int)
- Constructor for class com.nvs.shapefile.
ShapeObject
Creates a new ShapeObject with the specified type
SHAPETYPE_MULTIPOINT
- Static variable in class com.nvs.shapefile.
Shapefile
Shape type value of a MultiPoint shapefile type descriptor (8)
SHAPETYPE_POINT
- Static variable in class com.nvs.shapefile.
Shapefile
Shape type value of a Point shapefile type descriptor (1)
SHAPETYPE_POLYGON
- Static variable in class com.nvs.shapefile.
Shapefile
Shape type value of a Polygon shapefile type descriptor (5)
SHAPETYPE_POLYLINE
- Static variable in class com.nvs.shapefile.
Shapefile
Shape type value of a PolyLine shapefile type descriptor (3)
T
TableDescription
- class com.nvs.shapefile.
TableDescription
.
TableDescription()
- Constructor for class com.nvs.shapefile.
TableDescription
Default constructor.
TableDescription(Collection)
- Constructor for class com.nvs.shapefile.
TableDescription
Initializes with the specified Collection of TableDescriptors.
TableDescriptor
- class com.nvs.shapefile.
TableDescriptor
.
TableDescriptor's populate a TableDescription and provide information about the field names, types, and widths for a Shapefile's records.
TableDescriptor()
- Constructor for class com.nvs.shapefile.
TableDescriptor
Default constructor.
TableDescriptor(String)
- Constructor for class com.nvs.shapefile.
TableDescriptor
Initializes field name.
TableDescriptor(String, int)
- Constructor for class com.nvs.shapefile.
TableDescriptor
Initializes to specified name and type.
TableDescriptor(String, int, int)
- Constructor for class com.nvs.shapefile.
TableDescriptor
Initializes to specified name, type, and width.
U
UNDEFINED
- Static variable in class com.nvs.shapefile.
ShapeObject
User didn't specify what sort of shape this is supposed to be
W
write(OutputStream, OutputStream, OutputStream)
- Method in class com.nvs.shapefile.
Shapefile
Writes this shapefile to the specified streams
write(String)
- Method in class com.nvs.shapefile.
Shapefile
Writes this Shapefile
A
B
C
F
G
I
M
P
R
S
T
U
W
Package
Class
Use
Tree
Deprecated
Index
Help
NVS Shapefile library Version 3.2
NVision Solutions, Inc.
PREV NEXT
FRAMES
NO FRAMES
All Classes