gov.nasa.pds.label.object
Class GenericObject

java.lang.Object
  extended by gov.nasa.pds.label.object.DataObject
      extended by gov.nasa.pds.label.object.GenericObject

public class GenericObject
extends DataObject

Implements a generic interface to a data object, for objects that are not otherwise specially handled.


Constructor Summary
GenericObject(File parentDir, File fileObject, long offset, long size)
          Creates a new instance.
 
Method Summary
 
Methods inherited from class gov.nasa.pds.label.object.DataObject
getBuffer, getDataFile, getInputStream, getOffset, getSize, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericObject

public GenericObject(File parentDir,
                     File fileObject,
                     long offset,
                     long size)
Creates a new instance.

Parameters:
parentDir - the parent directory of the data file
fileObject - the PDS4 file object for the data file
offset - the offset within the file of the start of the data object
size - the size of the data object, in bytes


Copyright © 2014. All Rights Reserved.