public class GenericObject extends DataObject
Constructor and Description |
---|
GenericObject(java.io.File parentDir,
File fileObject,
long offset,
long size)
Creates a new instance.
|
GenericObject(java.net.URL parentDir,
File fileObject,
long offset,
long size)
Creates a new instance.
|
closeChannel, getChannel, getDataFile, getInputStream, getOffset, getSize, setSize
public GenericObject(java.io.File parentDir, File fileObject, long offset, long size) throws java.io.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 bytesjava.io.IOException
- if an error occurred initializng the objectpublic GenericObject(java.net.URL parentDir, File fileObject, long offset, long size) throws java.io.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 bytesjava.io.IOException
- if an error occurred initializng the objectCopyright © 2010-2019 Planetary Data System. All Rights Reserved.