Interface GenevaMetaWriter

All Known Implementing Classes:
GenevaBasicMetaWriter

public interface GenevaMetaWriter
Generic interface for writting out geneva data it handles the number of lines, number of characters, checksum and security checksum subclass can decide which ones to track
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    get the number of characters written
    gets the checksum
    int
    get number of lines written using the writeln method
    gets the security checksum
    void
    resets the line count, character count, checksum and security checksum
    void
    writes out a line of date increments/updates line, character, checksum, security checksum
    void
    writes out a line does NOT imcrement/update lines, characters, checksum, security checksum use this in after the end footer
  • Method Details

    • reset

      void reset()
      resets the line count, character count, checksum and security checksum
    • writeln

      void writeln(String data)
      writes out a line of date increments/updates line, character, checksum, security checksum
      Parameters:
      data - String to write out data
    • writelnNoInc

      void writelnNoInc(String data)
      writes out a line does NOT imcrement/update lines, characters, checksum, security checksum use this in after the end footer
      Parameters:
      data - String to write out
    • getLines

      int getLines()
      get number of lines written using the writeln method
      Returns:
      number of lines written
    • getCharacters

      int getCharacters()
      get the number of characters written
    • getChecksum

      String getChecksum()
      gets the checksum
      Returns:
      checksum the checksum or empty string if it doesn't compute the checksum
    • getSecurityChecksum

      String getSecurityChecksum()
      gets the security checksum
      Returns:
      security checksum or empty string if it doesn't compute the security checksum