Package org.apache.bookkeeper.util
Class StringEntryFormatter
java.lang.Object
org.apache.bookkeeper.util.EntryFormatter
org.apache.bookkeeper.util.StringEntryFormatter
A String-based entry formatter.
-
Field Summary
Fields inherited from class org.apache.bookkeeper.util.EntryFormatter
STRING_FORMATTER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidformatEntry(byte[] data) Format an entry into a readable format.voidformatEntry(InputStream input) Format an entry from a string into a readable format.Methods inherited from class org.apache.bookkeeper.util.EntryFormatter
newEntryFormatter, newEntryFormatter
-
Constructor Details
-
StringEntryFormatter
public StringEntryFormatter()
-
-
Method Details
-
formatEntry
public void formatEntry(byte[] data) Description copied from class:EntryFormatterFormat an entry into a readable format.- Specified by:
formatEntryin classEntryFormatter- Parameters:
data- Data Payload
-
formatEntry
Description copied from class:EntryFormatterFormat an entry from a string into a readable format.- Specified by:
formatEntryin classEntryFormatter- Parameters:
input- Input Stream
-