|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.io.hbook.HbookFile
Class for reading an HBook/PAW file.
Constructor Summary | |
HbookFile(File file)
Open an hbook file. |
|
HbookFile(String fileName)
Open an hbook file. |
|
HbookFile(String fileName,
int recordSize)
Open an hbook file. |
Method Summary | |
void |
close()
Close the file. |
CompositeHbookObject |
getTopLevelDirectory()
Returns the top level directory for this file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HbookFile(File file) throws IOException
file
- The file to open
IOException
- If an IOError occurs while opening the filepublic HbookFile(String fileName) throws IOException
fileName
- The name of the file to open
IOException
- If an IOError occurs while opening the filepublic HbookFile(String fileName, int recordSize) throws IOException
fileName
- The name of the file to openrecordSize
- The record size (0 for default)
IOException
- If an IOError occurs while opening the fileMethod Detail |
public void close() throws IOException
IOException
- If an IOError occurs while closing the filepublic CompositeHbookObject getTopLevelDirectory()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |