edu.psu.geovista.db.dbase
Class DBaseFile

java.lang.Object
  extended byedu.psu.geovista.db.dbase.DBaseFile

public class DBaseFile
extends java.lang.Object

DBaseFile reads a dBase (*.dbf) file into an Object[] array where the first Object is an array of Strings that holds the names of the arrays, and the sucessive Objects are arrays of primitives of doubles, ints, strings, or booleans. DBaseFile can also be used to write dBase files, but this functionality is only partly supported.

Version:
$Revision: 1.1.1.1 $
Author:
Michael T. Wheeler (mtwheels@psu.edu)
See Also:
DBaseFieldDescriptor

Constructor Summary
DBaseFile(java.io.InputStream inStream)
           
DBaseFile(java.lang.String fileName)
           
DBaseFile(java.lang.String fileName, java.lang.String outputFileName)
           
 
Method Summary
 java.lang.Object[] getDataSet()
           
static void main(java.lang.String[] args)
           
 void setDataSet(java.lang.Object[] dataSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBaseFile

public DBaseFile(java.io.InputStream inStream)

DBaseFile

public DBaseFile(java.lang.String fileName)
          throws java.io.IOException

DBaseFile

public DBaseFile(java.lang.String fileName,
                 java.lang.String outputFileName)
          throws java.io.IOException
Method Detail

getDataSet

public java.lang.Object[] getDataSet()

setDataSet

public void setDataSet(java.lang.Object[] dataSet)

main

public static void main(java.lang.String[] args)


Copyright © 1996-2003 GeoVista Center. All Rights Reserved.