Class BinaryFooter

java.lang.Object
binaryFileStorage.BinaryFooter
All Implemented Interfaces:
Serializable, ManagedParameters

public class BinaryFooter extends Object implements Serializable, ManagedParameters
See Also:
  • Field Details

  • Constructor Details

    • BinaryFooter

      public BinaryFooter(long dataDate, long analysisDate, int objects, long fileLength)
    • BinaryFooter

      public BinaryFooter()
  • Method Details

    • getStandardLength

      public static int getStandardLength()
    • writeFooter

      public boolean writeFooter(DataOutputStream dos, int fileFormat)
    • readFooterData

      public boolean readFooterData(DataInputStream dis, int fileFormat)
      Reads footer data from after the footer id Int.
      Parameters:
      fileFormat -
      binaryInputStream -
      fileStream -
      Returns:
      true if read Ok.
    • getDataDate

      public long getDataDate()
      Returns:
      the dataDate
    • getAnalysisDate

      public long getAnalysisDate()
      Returns:
      the analysisDate
    • getFileEndSample

      public long getFileEndSample()
    • setFileEndSample

      public void setFileEndSample(long fileEndSample)
    • getNObjects

      public int getNObjects()
      Returns:
      the nObjects
    • getFileLength

      public long getFileLength()
      Returns:
      the fileLength
    • getFileEndReason

      public int getFileEndReason()
    • setFileEndReason

      public void setFileEndReason(int fileEndReason)
    • setDataDate

      public void setDataDate(long dataDate)
      Parameters:
      dataDate - the dataDate to set
    • setAnalysisDate

      public void setAnalysisDate(long analysisDate)
      Parameters:
      analysisDate - the analysisDate to set
    • setnObjects

      public void setnObjects(int nObjects)
      Parameters:
      nObjects - the nObjects to set
    • setFileLength

      public void setFileLength(long fileLength)
      Parameters:
      fileLength - the fileLength to set
    • getLowestUID

      public Long getLowestUID()
    • getHighestUID

      public Long getHighestUID()
    • setLowestUID

      public void setLowestUID(Long lowestUID)
      Parameters:
      lowestUID - the lowestUID to set
    • setHighestUID

      public void setHighestUID(Long highestUID)
      Parameters:
      highestUID - the highestUID to set
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.