| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.harvard.hul.ois.jhove.ModuleBase
public abstract class ModuleBase
This class is an abstract implementation of the Module interface.
  It contains all the methods required for a Module, but doesn't
  do anything by itself.  A subclass should provide a functional
  implmentation of parse (InputStream stream, RepInfo info, int parseIndex)
  if it is not random access, or
  parse (RandomAccessFile file, RepInfo info)
  if it is random access.
| Field Summary | |
|---|---|
| protected  App | _appThe application object | 
| protected  boolean | _bigEndianThe dominant "endianness" of the Module. | 
| protected  boolean | _checksumFinishedFlag indicating valid checksum information set | 
| protected  boolean | _countStreamFlag to indicate read routines should count the stream | 
| protected  java.lang.String | _coverageCoverage information | 
| protected  java.util.zip.CRC32 | _crc32CRC32 calculated on content object | 
| protected  java.util.Date | _dateModule last modification date | 
| protected  java.util.List<java.lang.String> | _defaultParamsList of default parameters. | 
| protected  java.util.List<java.lang.String> | _featuresThe list of supported features. | 
| protected  java.lang.String[] | _formatFormats recognized by this Module | 
| protected  java.lang.String | _initInitialization value. | 
| protected  boolean | _isRandomAccessRandom access flag | 
| protected  JhoveBase | _jeJHOVE engine. | 
| protected  java.util.logging.Logger | _loggerLogger for a module class. | 
| protected  java.security.MessageDigest | _md5MD5 digest calculated on content object | 
| protected  java.lang.String[] | _mimeTypeMIME types supported by this Module | 
| protected  java.lang.String | _nameModule name | 
| protected  long | _nByteByte count of content object | 
| protected  java.lang.String | _noteModule note | 
| protected  java.lang.String | _paramModule-specific parameter. | 
| protected  java.lang.String | _releaseModule release description | 
| protected  java.lang.String | _repInfoNoteRepInfo note | 
| protected  java.lang.String | _rightsCopyright notice | 
| protected  java.security.MessageDigest | _sha1SHA-1 digest calculated on content object | 
| protected  java.util.List<Signature> | _signatureModule Signature list | 
| protected  java.util.List<Document> | _specificationModule specification document list | 
| protected  java.lang.String | _validityNoteValidity criteria | 
| protected  Agent | _vendorModule vendor | 
| protected  int | _verbosityIndicator of how much data to report | 
| protected  java.lang.String | _wellFormedNoteWell-formedness criteria | 
| Fields inherited from interface edu.harvard.hul.ois.jhove.Module | 
|---|
| MAXIMUM_VERBOSITY, MINIMUM_VERBOSITY | 
| Constructor Summary | |
|---|---|
| protected  | ModuleBase(java.lang.String name,
           java.lang.String release,
           int[] date,
           java.lang.String[] format,
           java.lang.String coverage,
           java.lang.String[] mimeType,
           java.lang.String wellFormedNote,
           java.lang.String validityNote,
           java.lang.String repInfoNote,
           java.lang.String note,
           java.lang.String rights,
           boolean isRandomAccess)Constructors of all subclasses of ModuleBase should call this as a superconstructor. | 
| Method Summary | |
|---|---|
|  Property | addIntegerProperty(java.lang.String name,
                   int value,
                   java.lang.String[] labels)Returns an Property representing an integer value. | 
|  Property | addIntegerProperty(java.lang.String name,
                   int value,
                   java.lang.String[] labels,
                   int[] index)Returns an Property representing an integer value. | 
|  void | applyDefaultParams()Applies the default parameters. | 
| protected  void | calcRAChecksum(Checksummer ckSummer,
               java.io.RandomAccessFile raf)Calculates the checksums for a module that uses a random access file. | 
|  void | checkSignatures(java.io.File file,
                java.io.InputStream stream,
                RepInfo info)Check if the digital object conforms to this Module's internal signature information. | 
|  void | checkSignatures(java.io.File file,
                java.io.RandomAccessFile raf,
                RepInfo info)Check if the digital object conforms to this Module's internal signature information. | 
|  App | getApp()Returns the App object. | 
|  JhoveBase | getBase()Returns the JHOVE engine object. | 
| static java.io.DataInputStream | getBufferedDataStream(java.io.InputStream stream,
                      int size)A convenience method for getting a buffered DataInputStream from a module's InputStream. | 
|  java.lang.String | getCoverage()Return details as to the specific format versions or variants that are supported by this module | 
| protected  java.lang.String | getCRC32()Returns the hex string representation of the CRC32 result. | 
|  java.util.Date | getDate()Return the last modification date of this Module, as a Java Date object | 
|  java.util.List<java.lang.String> | getDefaultParams()Returns the list of default parameters. | 
|  java.util.List<java.lang.String> | getFeatures()Returns the full list of features. | 
|  java.lang.String[] | getFormat()Return the array of format names supported by this Module | 
|  java.lang.String[] | getMimeType()Return the array of MIME type strings for formats supported by this Module | 
|  java.lang.String | getName()Return the module name | 
|  long | getNByte()Returns the value of _nByte. | 
|  java.lang.String | getNote()Return the module note | 
|  java.lang.String | getRelease()Return the release identifier | 
|  java.lang.String | getRepInfoNote()Return the RepInfo note | 
|  java.lang.String | getRights()Return the copyright information string | 
|  java.util.List<Signature> | getSignature()Return the List of Signatures recognized by this Module | 
|  java.util.List<Document> | getSpecification()Returns a list of Documentobjects (one for each 
  specification document of the format). | 
|  java.lang.String | getValidityNote()Return the string describing validity criteria | 
|  Agent | getVendor()Return the vendor information | 
|  java.lang.String | getWellFormedNote()Return the string describing well-formedness criteria | 
|  boolean | hasFeature(java.lang.String feature)Returns trueif the module supports a given
  named feature, andfalseif the feature is
  unsupported or unknown. | 
|  void | init(java.lang.String init)Per-instantiation initialization. | 
|  void | initFeatures()Initializes the feature list. | 
| protected  void | initParse()Initializes the state of the module for parsing. | 
|  boolean | isBigEndian()Returns trueif the dominant "endianness" of the
  module, or the current file being processed,
  is big-endian, otherwise false. | 
|  boolean | isRandomAccess()Return the random access flag (true if the module operates on random access files, false if it operates on streams) | 
|  void | param(java.lang.String param)Per-action initialization. | 
|  int | parse(java.io.InputStream stream,
      RepInfo info,
      int parseIndex)Parse the content of a stream digital object and store the results in RepInfo. | 
|  void | parse(java.io.RandomAccessFile file,
      RepInfo info)Parse the content of a random access digital object and store the results in RepInfo. | 
| static int | readByteBuf(java.io.DataInputStream stream,
            byte[] buf,
            ModuleBase counted)Reads into a byte buffer from a DataInputStream. | 
| static double | readDouble(java.io.DataInputStream stream,
           boolean endian) | 
| static double | readDouble(java.io.DataInputStream stream,
           boolean endian,
           ModuleBase counted) | 
| static double | readDouble(java.io.RandomAccessFile file,
           boolean endian) | 
| static float | readFloat(java.io.DataInputStream stream,
          boolean endian,
          ModuleBase counted) | 
| static float | readFloat(java.io.RandomAccessFile file,
          boolean endian) | 
| static int | readSignedByte(java.io.DataInputStream stream) | 
| static int | readSignedByte(java.io.DataInputStream stream,
               ModuleBase counted) | 
| static int | readSignedByte(java.io.RandomAccessFile file) | 
| static int | readSignedInt(java.io.DataInputStream stream,
              boolean endian) | 
| static int | readSignedInt(java.io.DataInputStream stream,
              boolean endian,
              ModuleBase counted) | 
| static int | readSignedInt(java.io.RandomAccessFile file,
              boolean endian) | 
| static long | readSignedLong(java.io.DataInputStream stream,
               boolean bigEndian,
               ModuleBase counted)Reads eight bytes as a signed 64-bit value from a DataInputStream. | 
| static Rational | readSignedRational(java.io.DataInputStream stream,
                   boolean endian,
                   ModuleBase counted) | 
| static Rational | readSignedRational(java.io.RandomAccessFile file,
                   boolean endian) | 
| static int | readSignedShort(java.io.DataInputStream stream,
                boolean endian) | 
| static int | readSignedShort(java.io.DataInputStream stream,
                boolean endian,
                ModuleBase counted) | 
| static int | readSignedShort(java.io.RandomAccessFile file,
                boolean endian) | 
| static int | readUnsignedByte(java.io.DataInputStream stream)Reads an unsigned byte from a DataInputStream. | 
| static int | readUnsignedByte(java.io.DataInputStream stream,
                 ModuleBase counted)Reads an unsigned byte from a DataInputStream. | 
| static int | readUnsignedByte(java.io.RandomAccessFile file)Reads an unsigned byte from a RandomAccessFile. | 
| static long | readUnsignedInt(java.io.DataInputStream stream,
                boolean bigEndian)Reads four bytes as an unsigned 32-bit value from a DataInputStream. | 
| static long | readUnsignedInt(java.io.DataInputStream stream,
                boolean bigEndian,
                ModuleBase counted)Reads four bytes as an unsigned 32-bit value from a DataInputStream. | 
| static long | readUnsignedInt(java.io.RandomAccessFile file,
                boolean bigEndian)Reads four bytes as an unsigned 32-bit value from a RandomAccessFile. | 
| static Rational | readUnsignedRational(java.io.DataInputStream stream,
                     boolean endian) | 
| static Rational | readUnsignedRational(java.io.DataInputStream stream,
                     boolean endian,
                     ModuleBase counted) | 
| static Rational | readUnsignedRational(java.io.RandomAccessFile file,
                     boolean endian) | 
| static int | readUnsignedShort(java.io.DataInputStream stream,
                  boolean bigEndian)Reads two bytes as an unsigned short value from a DataInputStream. | 
| static int | readUnsignedShort(java.io.DataInputStream stream,
                  boolean bigEndian,
                  ModuleBase counted)Reads two bytes as an unsigned short value from a DataInputStream. | 
| static int | readUnsignedShort(java.io.RandomAccessFile file,
                  boolean bigEndian)Reads two bytes as an unsigned short value from a RandomAccessFile. | 
|  void | resetParams()Reset parameter settings. | 
|  void | setApp(App app)Pass the associated App object to this Module. | 
|  void | setBase(JhoveBase je)Pass the JHOVE engine object to this Module. | 
| protected  void | setChecksums(Checksummer ckSummer,
             RepInfo info)Set the checksum values. | 
|  void | setCRC32(java.util.zip.CRC32 crc32)Set the value of the CRC32 calculated for the content object. | 
|  void | setDefaultParams(java.util.List<java.lang.String> params)Set a a List of default parameters for the module. | 
|  void | setMD5(java.security.MessageDigest md5)Sets the MD5 calculated digest for the content object, and sets the checksumFinished flag. | 
|  void | setNByte(long nByte)Sets the byte count for the content object, and sets the checksumFinished flag. | 
|  void | setSHA1(java.security.MessageDigest sha1)Sets the SHA-1 calculated digest for the content object, and sets the checksumFinished flag. | 
|  void | setValidityNote(java.lang.String validityNote)Set the value of the validityNote property, which briefly explains the validity criteria of this Module. | 
|  void | setVerbosity(int verbosity)Set the degree of verbosity desired from the module. | 
|  void | show(OutputHandler handler)Generates information about this Module. | 
|  int | skipBytes(java.io.DataInputStream stream,
          int bytesToSkip) | 
|  int | skipBytes(java.io.DataInputStream stream,
          int bytesToSkip,
          ModuleBase counted) | 
| protected  Property[] | vectorToPropArray(java.util.Vector vec)A utility for converting a Vector of Properties to an Array. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected App _app
protected java.lang.String _coverage
protected java.util.Date _date
protected java.lang.String[] _format
protected java.lang.String _init
protected java.util.List<java.lang.String> _defaultParams
protected JhoveBase _je
protected java.lang.String[] _mimeType
protected java.lang.String _name
protected java.lang.String _note
protected java.lang.String _param
protected java.lang.String _release
protected java.lang.String _repInfoNote
protected java.lang.String _rights
protected java.util.List<Signature> _signature
protected java.util.List<Document> _specification
protected Agent _vendor
protected java.lang.String _wellFormedNote
protected java.lang.String _validityNote
protected boolean _isRandomAccess
protected long _nByte
protected java.util.zip.CRC32 _crc32
protected java.security.MessageDigest _md5
protected java.security.MessageDigest _sha1
protected boolean _checksumFinished
protected int _verbosity
protected boolean _countStream
protected boolean _bigEndian
protected java.util.List<java.lang.String> _features
protected java.util.logging.Logger _logger
| Constructor Detail | 
|---|
protected ModuleBase(java.lang.String name,
                     java.lang.String release,
                     int[] date,
                     java.lang.String[] format,
                     java.lang.String coverage,
                     java.lang.String[] mimeType,
                     java.lang.String wellFormedNote,
                     java.lang.String validityNote,
                     java.lang.String repInfoNote,
                     java.lang.String note,
                     java.lang.String rights,
                     boolean isRandomAccess)
super constructor.
name - Name of the modulerelease - Release identifierdate - Last modification date of the module code,
                          in the form of an array of three numbers.
                          date[0] is the year, 
                          date[1] the month, and
                          date[2] the day.format - Array of format names supported by the modulecoverage - Details as to the specific format versions or 
                          variants that are supported by the modulemimeType - Array of MIME type strings for formats 
                          supported by the modulewellFormedNote - Brief explanation of what constitutes
                          well-formed contentvalidityNote - Brief explanation of what constitutes
                          valid contentrepInfoNote - Note pertaining to RepInfo (may be null)note - Additional information about the module
                          (may be null)rights - Copyright notice for the moduleisRandomAccess - true if the module treats content as
                          random-access data, | Method Detail | 
|---|
public void initFeatures()
public void init(java.lang.String init)
          throws java.lang.Exception
init in interface Moduleinit - Initialization parameter.  This is typically obtained
                from the configuration file.
java.lang.Exceptionpublic void setDefaultParams(java.util.List<java.lang.String> params)
setDefaultParams in interface Moduleparams - A List whose elements are Strings.
                     May be empty.
public void applyDefaultParams()
                        throws java.lang.Exception
applyDefaultParams in interface Modulejava.lang.Exception
public void resetParams()
                 throws java.lang.Exception
resetParams in interface Modulejava.lang.Exception
public void param(java.lang.String param)
           throws java.lang.Exception
param in interface Moduleparam - Initialization parameter.
java.lang.Exceptionpublic App getApp()
public JhoveBase getBase()
public long getNByte()
public boolean isBigEndian()
true if the dominant "endianness" of the
  module, or the current file being processed,
  is big-endian, otherwise false.  This does not guarantee
  that all numbers in the module follow the dominant endianness,
  particularly as formats sometimes incorporate data stored in
  a previously defined format.  For some formats, e.g., TIFF, the
  endianness depends on the file being processed.
 
  Every module must initialize the value of _bigEndian for this
  function, or else assign its value when parsing a file,
  to return a meaningful result.  For some modules (e.g.,
  ASCII, endianness has no meaning.
public final java.lang.String getCoverage()
getCoverage in interface Modulepublic final java.util.Date getDate()
getDate in interface Modulepublic final java.lang.String[] getFormat()
getFormat in interface Modulepublic final java.lang.String[] getMimeType()
getMimeType in interface Modulepublic final java.lang.String getName()
getName in interface Modulepublic final java.lang.String getNote()
getNote in interface Modulepublic final java.lang.String getRelease()
getRelease in interface Modulepublic final java.lang.String getRepInfoNote()
getRepInfoNote in interface Modulepublic final java.lang.String getRights()
getRights in interface Modulepublic final java.util.List<Signature> getSignature()
getSignature in interface Modulepublic final java.util.List<Document> getSpecification()
Document objects (one for each 
  specification document of the format).  The specification
  list is generated by the Module, and specifications cannot
  be added by callers.
getSpecification in interface ModuleDocumentpublic final Agent getVendor()
getVendor in interface Modulepublic final java.lang.String getWellFormedNote()
getWellFormedNote in interface Modulepublic final java.lang.String getValidityNote()
getValidityNote in interface Modulepublic final boolean isRandomAccess()
isRandomAccess in interface Modulepublic boolean hasFeature(java.lang.String feature)
true if the module supports a given
  named feature, and false if the feature is
  unsupported or unknown.  Feature names are case sensitive.
 
  It is recommended that features be named using package
  nomenclature.  The following features are, by default,
  supported by the modules developed by OIS:
 
  
hasFeature in interface Modulepublic java.util.List<java.lang.String> getFeatures()
getFeatures in interface Modulepublic java.util.List<java.lang.String> getDefaultParams()
getDefaultParams in interface Modulepublic final void setApp(App app)
setApp in interface Modulepublic final void setBase(JhoveBase je)
setBase in interface Modulepublic final void setValidityNote(java.lang.String validityNote)
public final void setCRC32(java.util.zip.CRC32 crc32)
public void setVerbosity(int verbosity)
param can override the verbosity setting.
  It does not affect whether raw data are reported or not, only
  which data are reported.
setVerbosity in interface Moduleverbosity - The requested verbosity value.  Recognized
          values are Module.MINIMUM_VERBOSITY and Module.MAXIMUM_VERBOSITY.
          The interpretation of the value depends on the module, and
          the module may choose not to use this setting.  However,
          modules should treat MAXIMUM_VERBOSITY as a request for
          all the data available from the module.public final void setNByte(long nByte)
public final void setMD5(java.security.MessageDigest md5)
public final void setSHA1(java.security.MessageDigest sha1)
public int parse(java.io.InputStream stream,
                 RepInfo info,
                 int parseIndex)
          throws java.io.IOException
parse in interface Modulestream - An InputStream, positioned at its beginning,
                    which is generated from the object to be parsed.
                    If multiple calls to parse are made 
                    on the basis of a nonzero value being returned,
                    a new InputStream must be provided each time.info - A fresh (on the first call) RepInfo object 
                    which will be modified
                    to reflect the results of the parsing
                    If multiple calls to parse are made 
                    on the basis of a nonzero value being returned, 
                    the same RepInfo object should be passed with each
                    call.parseIndex - Must be 0 in first call to parse.  If
                    parse returns a nonzero value, it must be
                    called again with parseIndex 
                    equal to that return value.
java.io.IOException
public void parse(java.io.RandomAccessFile file,
                  RepInfo info)
           throws java.io.IOException
parse in interface Modulefile - A RandomAccessFile, positioned at its beginning,
                    which is generated from the object to be parsedinfo - A fresh RepInfo object which will be modified
                    to reflect the results of the parsing
java.io.IOException
public void checkSignatures(java.io.File file,
                            java.io.InputStream stream,
                            RepInfo info)
                     throws java.io.IOException
checkSignatures in interface Modulefile - A File object for the object being parsedstream - An InputStream, positioned at its beginning,
                    which is generated from the object to be parsedinfo - A fresh RepInfo object which will be modified
                    to reflect the results of the test
java.io.IOException
public void checkSignatures(java.io.File file,
                            java.io.RandomAccessFile raf,
                            RepInfo info)
                     throws java.io.IOException
checkSignatures in interface Modulefile - A File object representing the object to be 
                    parsedraf - A RandomAccessFile, positioned at its beginning,
                    which is generated from the object to be parsedinfo - A fresh RepInfo object which will be modified
                    to reflect the results of the test
java.io.IOExceptionprotected void initParse()
protected void calcRAChecksum(Checksummer ckSummer,
                              java.io.RandomAccessFile raf)
                       throws java.io.IOException
java.io.IOException
protected void setChecksums(Checksummer ckSummer,
                            RepInfo info)
ckSummer - Checksummer objectinfo - RepInfo objectpublic void show(OutputHandler handler)
show in interface Moduleprotected java.lang.String getCRC32()
public Property addIntegerProperty(java.lang.String name,
                                   int value,
                                   java.lang.String[] labels,
                                   int[] index)
labels and
  index are unused.  Otherwise,
  returns a STRING property, with the
  string being the element of labels
  whose index is the index of
  value in index.
public Property addIntegerProperty(java.lang.String name,
                                   int value,
                                   java.lang.String[] labels)
labels and
  index are unused.  Otherwise,
  returns a STRING property, with the
  string being the element of labels
  whose index is value.
public static int readUnsignedByte(java.io.DataInputStream stream)
                            throws java.io.IOException
stream - Stream to read
java.io.IOException
public static int readUnsignedByte(java.io.DataInputStream stream,
                                   ModuleBase counted)
                            throws java.io.IOException
stream - Stream to readcounted - If non-null, module for which value of _nByte 
                    shall be incremented appropriately
java.io.IOException
public static int readUnsignedByte(java.io.RandomAccessFile file)
                            throws java.io.IOException
java.io.IOException
public static int readByteBuf(java.io.DataInputStream stream,
                              byte[] buf,
                              ModuleBase counted)
                       throws java.io.IOException
stream - Stream to read frombuf - Byte buffer to fill upcounted - If non-null, module for which value of _nByte 
                  shall be incremented appropriately
java.io.IOException
public static int readUnsignedShort(java.io.DataInputStream stream,
                                    boolean bigEndian)
                             throws java.io.IOException
stream - The stream to read from.bigEndian - If true, interpret the first byte as the high
                    byte, otherwise interpret the first byte as
                    the low byte.
java.io.IOException
public static int readUnsignedShort(java.io.DataInputStream stream,
                                    boolean bigEndian,
                                    ModuleBase counted)
                             throws java.io.IOException
stream - The stream to read from.bigEndian - If true, interpret the first byte as the high
                    byte, otherwise interpret the first byte as
                    the low byte.
java.io.IOException
public static int readUnsignedShort(java.io.RandomAccessFile file,
                                    boolean bigEndian)
                             throws java.io.IOException
file - The file to read from.bigEndian - If true, interpret the first byte as the high
                    byte, otherwise interpret the first byte as
                    the low byte.
java.io.IOException
public static long readUnsignedInt(java.io.DataInputStream stream,
                                   boolean bigEndian)
                            throws java.io.IOException
stream - The stream to read from.bigEndian - If true, interpret the first byte as the high
                    byte, otherwise interpret the first byte as
                    the low byte.
java.io.IOException
public static long readUnsignedInt(java.io.DataInputStream stream,
                                   boolean bigEndian,
                                   ModuleBase counted)
                            throws java.io.IOException
stream - The stream to read from.bigEndian - If true, interpret the first byte as the high
                    byte, otherwise interpret the first byte as
                    the low byte.
java.io.IOException
public static long readUnsignedInt(java.io.RandomAccessFile file,
                                   boolean bigEndian)
                            throws java.io.IOException
file - The file to read from.bigEndian - If true, interpret the first byte as the high
                    byte, otherwise interpret the first byte as
                    the low byte.
java.io.IOException
public static long readSignedLong(java.io.DataInputStream stream,
                                  boolean bigEndian,
                                  ModuleBase counted)
                           throws java.io.IOException
stream - The stream to read from.bigEndian - If true, interpret the first byte as the high
                    byte, otherwise interpret the first byte as
                    the low byte.
java.io.IOException
public static Rational readUnsignedRational(java.io.DataInputStream stream,
                                            boolean endian)
                                     throws java.io.IOException
java.io.IOException
public static Rational readUnsignedRational(java.io.DataInputStream stream,
                                            boolean endian,
                                            ModuleBase counted)
                                     throws java.io.IOException
java.io.IOException
public static Rational readUnsignedRational(java.io.RandomAccessFile file,
                                            boolean endian)
                                     throws java.io.IOException
java.io.IOException
public static Rational readSignedRational(java.io.DataInputStream stream,
                                          boolean endian,
                                          ModuleBase counted)
                                   throws java.io.IOException
java.io.IOException
public static Rational readSignedRational(java.io.RandomAccessFile file,
                                          boolean endian)
                                   throws java.io.IOException
java.io.IOException
public static int readSignedByte(java.io.RandomAccessFile file)
                          throws java.io.IOException
java.io.IOException
public static int readSignedShort(java.io.RandomAccessFile file,
                                  boolean endian)
                           throws java.io.IOException
java.io.IOException
public static int readSignedInt(java.io.RandomAccessFile file,
                                boolean endian)
                         throws java.io.IOException
java.io.IOException
public static int readSignedByte(java.io.DataInputStream stream)
                          throws java.io.IOException
java.io.IOException
public static int readSignedByte(java.io.DataInputStream stream,
                                 ModuleBase counted)
                          throws java.io.IOException
java.io.IOException
public static int readSignedShort(java.io.DataInputStream stream,
                                  boolean endian)
                           throws java.io.IOException
java.io.IOException
public static int readSignedShort(java.io.DataInputStream stream,
                                  boolean endian,
                                  ModuleBase counted)
                           throws java.io.IOException
java.io.IOException
public static int readSignedInt(java.io.DataInputStream stream,
                                boolean endian)
                         throws java.io.IOException
java.io.IOException
public static int readSignedInt(java.io.DataInputStream stream,
                                boolean endian,
                                ModuleBase counted)
                         throws java.io.IOException
java.io.IOException
public static float readFloat(java.io.RandomAccessFile file,
                              boolean endian)
                       throws java.io.IOException
java.io.IOException
public static float readFloat(java.io.DataInputStream stream,
                              boolean endian,
                              ModuleBase counted)
                       throws java.io.IOException
java.io.IOException
public static double readDouble(java.io.RandomAccessFile file,
                                boolean endian)
                         throws java.io.IOException
java.io.IOException
public static double readDouble(java.io.DataInputStream stream,
                                boolean endian)
                         throws java.io.IOException
java.io.IOException
public static double readDouble(java.io.DataInputStream stream,
                                boolean endian,
                                ModuleBase counted)
                         throws java.io.IOException
java.io.IOException
public int skipBytes(java.io.DataInputStream stream,
                     int bytesToSkip)
              throws java.io.IOException
java.io.IOException
public int skipBytes(java.io.DataInputStream stream,
                     int bytesToSkip,
                     ModuleBase counted)
              throws java.io.IOException
java.io.IOException
public static java.io.DataInputStream getBufferedDataStream(java.io.InputStream stream,
                                                            int size)
protected Property[] vectorToPropArray(java.util.Vector vec)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||