Class HpelAdvancedFormatter


public class HpelAdvancedFormatter extends HpelPlainFormatter
A HpelPlainFormatter subclass implementation that provides formatting of RepositoryLogRecord to a format referred to as "Advanced".
  • Constructor Details

    • HpelAdvancedFormatter

      public HpelAdvancedFormatter()
  • Method Details

    • formatRecord

      public String formatRecord(RepositoryLogRecord record, Locale locale)
      Formats a RepositoryLogRecord into a localized advanced format output String.
      Specified by:
      formatRecord in class HpelFormatter
      Parameters:
      record - the RepositoryLogRecord to be formatted
      locale - the Locale to use for localization when formatting this record.
      Returns:
      the formated string output.
    • getFooter

      public String getFooter()
      Footers do not exist for the Advanced format, so return empty string.
      Specified by:
      getFooter in class HpelFormatter
      Returns:
      the footer as a string
    • setLineSeparator

      public void setLineSeparator(String lineSeparator)
      Overrides:
      setLineSeparator in class HpelFormatter