public class CDRecord extends Record
Constructor and Description |
---|
CDRecord(Record base)
Create a CDRecord based on a base record.
|
Modifier and Type | Method and Description |
---|---|
void |
dump()
Display a description of the record.
|
String |
getCopyright()
Retrieve the copyright statement declared in the CDF file.
|
int |
getEncoding()
Retrieve the encoding token for the CDF file.
|
int |
getFlags()
Retrieve the flags set in the CDF file.
|
long |
getGDROffset()
Retrieve the offset of the GD Record in the CDF file.
|
int |
getIncrement()
Retrieve the increment number declared in the CDF file.
|
int |
getRelease()
Retrieve the release number declared in the CDF file.
|
int |
getVersion()
Retrieve the version number of the CDF file.
|
long |
read(long offset,
RandomAccessFile in)
Read the contents of a CDRecord from an input stream.
|
getOffset, getSize, getType, mimic, read, readDataAsString, readDataValue, readStringValue, setOffset, setSize, setType
public CDRecord(Record base)
base
- the base record to derive a CDRecord.public long read(long offset, RandomAccessFile in) throws IOException
offset
- the current byte offset into the streamin
- the input stream to read from.IOException
- if any reading error occurs.public long getGDROffset()
public int getVersion()
public int getRelease()
public int getEncoding()
public int getFlags()
public int getIncrement()
public String getCopyright()
Copyright © 2014-2015 Regents University of California. All Rights Reserved.