Package org.apache.bookkeeper.util
Class HexDumpEntryFormatter
- java.lang.Object
-
- org.apache.bookkeeper.util.EntryFormatter
-
- org.apache.bookkeeper.util.HexDumpEntryFormatter
-
public class HexDumpEntryFormatter extends EntryFormatter
A hex dump entry formatter.
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.util.EntryFormatter
STRING_FORMATTER
-
-
Constructor Summary
Constructors Constructor Description HexDumpEntryFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
formatEntry(byte[] data)
Format an entry into a readable format.void
formatEntry(java.io.InputStream input)
Format an entry from a string into a readable format.-
Methods inherited from class org.apache.bookkeeper.util.EntryFormatter
newEntryFormatter, newEntryFormatter
-
-
-
-
Method Detail
-
formatEntry
public void formatEntry(byte[] data)
Description copied from class:EntryFormatter
Format an entry into a readable format.- Specified by:
formatEntry
in classEntryFormatter
- Parameters:
data
- Data Payload
-
formatEntry
public void formatEntry(java.io.InputStream input)
Description copied from class:EntryFormatter
Format an entry from a string into a readable format.- Specified by:
formatEntry
in classEntryFormatter
- Parameters:
input
- Input Stream
-
-