Class HpelBasicFormatter


  • public class HpelBasicFormatter
    extends HpelPlainFormatter
    A HpelPlainFormatter subclass implementation that provides formatting of RepositoryLogRecord to a format referred to as "Basic".
    • Constructor Detail

      • HpelBasicFormatter

        public HpelBasicFormatter()
    • Method Detail

      • formatRecord

        public java.lang.String formatRecord​(RepositoryLogRecord record,
                                             java.util.Locale locale)
        Formats a RepositoryLogRecord into a localized basic 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 java.lang.String getFooter()
        Footers do not exist for the Basic format, so return empty string.
        Specified by:
        getFooter in class HpelFormatter
        Returns:
        the footer as a string