public class GenericObject extends DataObject
channel, dataObjectLocation, fileObject, localIdentifier, name, offset, parentDir
Constructor and Description |
---|
GenericObject(java.io.File parentDir,
File fileObject,
long offset,
long size)
Deprecated.
|
GenericObject(java.io.File parentDir,
File fileObject,
long offset,
long size,
DataObjectLocation location)
Creates a new instance.
|
GenericObject(java.net.URL parentDir,
File fileObject,
long offset,
long size)
Deprecated.
|
GenericObject(java.net.URL parentDir,
File fileObject,
long offset,
long size,
DataObjectLocation location)
Creates a new instance.
|
closeChannel, getChannel, getDataFile, getDataObjectLocation, getInputStream, getLocalIdentifier, getName, getOffset, getSize, setDataObjectLocation, setLocalIdentifier, setName, setSize
public GenericObject(java.io.File parentDir, File fileObject, long offset, long size, DataObjectLocation location) throws java.io.IOException, java.net.URISyntaxException
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 objectjava.net.URISyntaxException
public GenericObject(java.net.URL parentDir, File fileObject, long offset, long size, DataObjectLocation location) throws java.io.IOException, java.net.URISyntaxException
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 objectjava.net.URISyntaxException
@Deprecated public GenericObject(java.io.File parentDir, File fileObject, long offset, long size) throws java.io.IOException, java.net.URISyntaxException
java.io.IOException
java.net.URISyntaxException
@Deprecated public GenericObject(java.net.URL parentDir, File fileObject, long offset, long size) throws java.io.IOException, java.net.URISyntaxException
java.io.IOException
java.net.URISyntaxException
Copyright © 2023 Planetary Data System. All rights reserved.