org.jmol.util
Class CompoundDocument
java.lang.Object
org.jmol.util.BinaryDocument
org.jmol.util.CompoundDocument
public class CompoundDocument
- extends BinaryDocument
Methods inherited from class org.jmol.util.BinaryDocument |
readByte, readByteArray, readByteArray, readFloat, readInt, readLong, readPoint3fArray, readShort, seek, setRandom, setStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
header
CompoundDocument.CmpDocHeader header
directory
java.util.Vector directory
rootEntry
CompoundDocument.CmpDocDirectoryEntry rootEntry
SAT
int[] SAT
SSAT
int[] SSAT
sectorSize
int sectorSize
shortSectorSize
int shortSectorSize
nShortSectorsPerStandardSector
int nShortSectorsPerStandardSector
nIntPerSector
int nIntPerSector
nDirEntriesperSector
int nDirEntriesperSector
data
java.lang.StringBuffer data
CompoundDocument
public CompoundDocument(java.io.BufferedInputStream bis)
isCompoundDocument
public static boolean isCompoundDocument(java.io.InputStream is)
throws java.lang.Exception
- Throws:
java.lang.Exception
isCompoundDocument
public static boolean isCompoundDocument(byte[] bytes)
getDirectory
public java.util.Vector getDirectory()
getDirectoryListing
public java.lang.String getDirectoryListing(java.lang.String separator)
getAllData
public java.lang.StringBuffer getAllData()
getFileAsString
public java.lang.StringBuffer getFileAsString(java.lang.String entryName)
getOffset
private long getOffset(int SID)
gotoSector
private void gotoSector(int SID)
readHeader
private boolean readHeader()
getSectorAllocationTable
private void getSectorAllocationTable()
getShortSectorAllocationTable
private void getShortSectorAllocationTable()
getDirectoryTable
private void getDirectoryTable()
getFileAsString
private java.lang.StringBuffer getFileAsString(CompoundDocument.CmpDocDirectoryEntry thisEntry)
getStandardStringData
private java.lang.StringBuffer getStandardStringData(int thisSID,
int nBytes)
getShortStringData
private java.lang.StringBuffer getShortStringData(int shortSID,
int nBytes)