|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectanl.repast.gis.data.dbf.DBFWriter
public class DBFWriter
Title: JDBF
Description: Used to write database (DBF) files.
Create a DBFWriter passing a file name and a list of fields, then add the
records one by one, and close it. Make sure you always close your DBF files,
even if there is an error writing some of the records.
Copyright : Copyright (c) 2004
Société : FUCaM-GTM
| Constructor Summary | |
|---|---|
DBFWriter(java.io.OutputStream outputstream,
JDBField[] ajdbfield)
Opens an output stream for writing. |
|
DBFWriter(java.lang.String s,
JDBField[] ajdbfield)
Opens a DBF file for writing. |
|
DBFWriter(java.lang.String s,
JDBField[] ajdbfield,
java.lang.String s1)
Opens a DBF file for writing, bytes in DBF will be converted from UNICODE to national charset. |
|
| Method Summary | |
|---|---|
void |
addRecord(java.lang.Object[] aobj)
Writes a record to the DBF file. |
void |
close()
Closes the DBF file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBFWriter(java.lang.String s,
JDBField[] ajdbfield)
throws JDBFException
s - Stringajdbfield - JDBField[]
JDBFException
public DBFWriter(java.io.OutputStream outputstream,
JDBField[] ajdbfield)
throws JDBFException
outputstream - OutputStreamajdbfield - JDBField[]
JDBFException
public DBFWriter(java.lang.String s,
JDBField[] ajdbfield,
java.lang.String s1)
throws JDBFException
s - Stringajdbfield - JDBField[]s1 - String
JDBFException| Method Detail |
|---|
public void addRecord(java.lang.Object[] aobj)
throws JDBFException
aobj - Object[]
JDBFException
public void close()
throws JDBFException
JDBFException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||