Package | Description |
---|---|
org.jlab.coda.hipo |
Modifier and Type | Method and Description |
---|---|
FileHeader |
Writer.getFileHeader()
Get the file header.
|
FileHeader |
WriterMT.getFileHeader()
Get the file header.
|
FileHeader |
Reader.getFileHeader()
Get the file header from reading a file.
|
FileHeader |
FileHeader.setEntries(int n)
Set the number of record entries.
|
FileHeader |
FileHeader.setFileNumber(int num)
Set the file number which is the split number starting at 1.
|
FileHeader |
FileHeader.setHeaderLength(int length)
Set the this header's length in bytes and words.
|
FileHeader |
FileHeader.setIndexLength(int length)
Set the length of the index array in bytes.
|
FileHeader |
FileHeader.setLength(int length)
Set the total length in bytes, header + index + user header.
|
FileHeader |
FileHeader.setPosition(long pos)
Set the position of this record in a file.
|
FileHeader |
FileHeader.setUserHeaderLength(int length)
Set the user-defined header's length in bytes and words and the padding.
|
FileHeader |
FileHeader.setUserIntFirst(int val)
Set the first user integer.
|
FileHeader |
FileHeader.setUserIntSecond(int val)
Set the second user integer.
|
FileHeader |
FileHeader.setUserRegister(long val)
Set the first user register.
|
Modifier and Type | Method and Description |
---|---|
void |
FileHeader.copy(FileHeader head)
Copy the contents of the arg into this object.
|
static java.nio.ByteBuffer |
Writer.createRecord(java.lang.String dictionary,
byte[] firstEvent,
java.nio.ByteOrder byteOrder,
FileHeader fileHeader,
RecordHeader recordHeader)
Create a buffer representation of a record
containing dictionary and/or first event.
|