public class GenericObject extends DataObject
Constructor and Description |
---|
GenericObject(File parentDir,
File fileObject,
long offset,
long size)
Creates a new instance.
|
GenericObject(URL parentDir,
File fileObject,
long offset,
long size)
Creates a new instance.
|
public GenericObject(File parentDir, File fileObject, long offset, long size) throws IOException
parentDir
- the parent directory of the data filefileObject
- the PDS4 file object for the data fileoffset
- the offset within the file of the start of the data objectsize
- the size of the data object, in bytesIOException
- if an error occurred initializng the objectpublic GenericObject(URL parentDir, File fileObject, long offset, long size) throws IOException
parentDir
- the parent directory of the data filefileObject
- the PDS4 file object for the data fileoffset
- the offset within the file of the start of the data objectsize
- the size of the data object, in bytesIOException
- if an error occurred initializng the objectCopyright © 2010–2017 Planetary Data System. All rights reserved.