public final class HexDump
extends java.lang.Object
Constructor and Description |
---|
HexDump() |
Modifier and Type | Method and Description |
---|---|
static void |
Dump(byte[] byt,
int len,
int offset)
Hex dump a byte array
|
static void |
Dump(byte[] byt,
int len,
int offset,
DebugInterface dbgDev)
Hex dump a byte array to a debug output device
|
static void |
Dump(byte[] byt,
int len,
int offset,
java.io.PrintStream stream)
Hex dump a byte array
|
static java.lang.String |
hexString(byte[] buf)
Generate a hex string for the specified bytes
|
static java.lang.String |
hexString(byte[] buf,
int off,
int len,
java.lang.String gap)
Generate a hex string for the specified bytes
|
static java.lang.String |
hexString(byte[] buf,
int len,
java.lang.String gap)
Generate a hex string for the specified bytes
|
static java.lang.String |
hexString(byte[] buf,
java.lang.String gap)
Generate a hex string for the specified bytes
|
static java.lang.String |
hexString(java.lang.String str)
Generate a hex string for the specified string
|
static java.lang.String |
hexString(java.lang.String str,
java.lang.String gap)
Generate a hex string for the specified string
|
public static final void Dump(byte[] byt, int len, int offset)
byt
- Byte array to dumplen
- Length of data to dumpoffset
- Offset to start data dumppublic static final void Dump(byte[] byt, int len, int offset, java.io.PrintStream stream)
byt
- Byte array to dumplen
- Length of data to dumpoffset
- Offset to start data dumpstream
- Output stream to dump the output to.public static final void Dump(byte[] byt, int len, int offset, DebugInterface dbgDev)
byt
- Byte array to dumplen
- Length of data to dumpoffset
- Offset to start data dumpdbgDev
- Debug device for outputpublic static final java.lang.String hexString(java.lang.String str)
str
- Stringpublic static final java.lang.String hexString(java.lang.String str, java.lang.String gap)
str
- Stringgap
- Stringpublic static final java.lang.String hexString(byte[] buf)
buf
- byte[]public static final java.lang.String hexString(byte[] buf, java.lang.String gap)
buf
- byte[]gap
- Stringpublic static final java.lang.String hexString(byte[] buf, int len, java.lang.String gap)
buf
- byte[]len
- intgap
- Stringpublic static final java.lang.String hexString(byte[] buf, int off, int len, java.lang.String gap)
buf
- byte[]off
- intlen
- intgap
- StringCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.