org.jostraca.resource
Class SimpleDataObjectReader
java.lang.Object
org.jostraca.resource.SimpleDataObjectReader
- public class SimpleDataObjectReader
- extends java.lang.Object
Reads simple data objects, in the format:
object-desc-1 ; object-desc-2 ; object-desc-3 ;
where object-desc-n is the object description used by SimpleDataObject.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_SEPARATOR
public static final java.lang.String OBJECT_SEPARATOR
- See Also:
- Constant Field Values
SimpleDataObjectReader
public SimpleDataObjectReader()
read
public static SimpleDataObject[] read(java.lang.String pFilePath)
throws ResourceException
- See read(File)
- Parameters:
pFilePath - Path to file containing schema.
- Throws:
ResourceException
read
public static SimpleDataObject[] read(java.lang.String pFilePath,
int pNumItemsPerField)
throws ResourceException
- See read(File)
- Parameters:
pFilePath - Path to file containing schema.pNumItemsPerField - number of items of metadata per field
- Throws:
ResourceException
read
public static SimpleDataObject[] read(java.io.File pFile)
throws ResourceException
- Throws:
ResourceException
read
public static SimpleDataObject[] read(java.io.File pFile,
int pNumItemsPerField)
throws ResourceException
- Read a simple schema definition for a data container object:
- Parameters:
pFile - File containing schema.pNumItemsPerField - number of items of metadata per field
- Throws:
ResourceException- See Also:
SimpleDataObject
Copyright © 2000-2002 Richard Rodger