|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.datasources.shapefile.DbaseFileStream
gistoolkit.datasources.shapefile.DbaseFileWriter
A DbaseFileReader is used to write dbase III records out one at a time.
Field Summary | |
protected java.lang.String |
myDbfExt
|
protected LEDataOutputStream |
myDbfStream
|
protected java.lang.String[] |
myFieldNames
|
protected AttributeType[] |
myFieldTypes
|
protected java.lang.String |
myFilename
|
protected java.lang.String |
myGzipExt
|
protected DbaseFileHeader |
myHeader
|
Constructor Summary | |
DbaseFileWriter(java.lang.String filename)
|
|
DbaseFileWriter(java.lang.String filename,
DbaseFileHeader inHeader)
|
Method Summary | |
void |
close()
|
boolean |
equiv(DbaseFileStream that)
Returns equivalency between this reader and another. |
protected void |
finalize()
|
java.lang.String[] |
getFieldNames()
Returns the field names for the dbase file being read. |
AttributeType[] |
getFieldTypes()
Returns the field names for the dbase file being read. |
DbaseFileHeader |
getHeader()
Return the shapefile header associated with this reader |
protected void |
setFile(java.lang.String inFilename)
Set the file name for this shape file. |
void |
write(Record inRec)
Appends the passed record to the dbase file. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected LEDataOutputStream myDbfStream
protected java.lang.String myFilename
protected java.lang.String myDbfExt
protected java.lang.String myGzipExt
protected DbaseFileHeader myHeader
protected java.lang.String[] myFieldNames
protected AttributeType[] myFieldTypes
Constructor Detail |
public DbaseFileWriter(java.lang.String filename) throws java.io.FileNotFoundException, java.io.IOException
public DbaseFileWriter(java.lang.String filename, DbaseFileHeader inHeader) throws java.io.FileNotFoundException, java.io.IOException
Method Detail |
protected void finalize() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public void write(Record inRec) throws java.io.IOException
java.io.IOException
protected void setFile(java.lang.String inFilename)
public DbaseFileHeader getHeader()
public java.lang.String[] getFieldNames()
public AttributeType[] getFieldTypes()
public boolean equiv(DbaseFileStream that)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |