Class StringEntryFormatter

java.lang.Object
org.apache.bookkeeper.util.EntryFormatter
org.apache.bookkeeper.util.StringEntryFormatter

public class StringEntryFormatter extends EntryFormatter
A String-based entry formatter.
  • Constructor Details

    • StringEntryFormatter

      public StringEntryFormatter()
  • Method Details

    • formatEntry

      public void formatEntry(byte[] data)
      Description copied from class: EntryFormatter
      Format an entry into a readable format.
      Specified by:
      formatEntry in class EntryFormatter
      Parameters:
      data - Data Payload
    • formatEntry

      public void formatEntry(InputStream input)
      Description copied from class: EntryFormatter
      Format an entry from a string into a readable format.
      Specified by:
      formatEntry in class EntryFormatter
      Parameters:
      input - Input Stream