public class Dump extends Object
| Constructor and Description |
|---|
Dump()
CLASS CONSTRUCTOR.
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
leading(int os,
int width)
Return leading characters to pad out the byte offset to field width.
|
protected static String |
leading(int os,
int width,
char pad)
Return leading characters to pad out the byte offset to field width.
|
protected static String |
leading(long os,
int width)
Return leading characters to pad out the byte offset to field width.
|
protected static String |
leading(long os,
int width,
char pad)
Return leading characters to pad out the byte offset to field width.
|
protected static String |
leading(String s,
int width)
Return leading characters to pad out the string to field width.
|
protected static String |
leading(String s,
int width,
char pad)
Return leading characters to pad out the string to field width.
|
protected static String |
readChars(DataInputStream stream,
int length)
Read and display a sequence of characters.
|
protected static String leading(int os, int width)
os - Byte offsetwidth - Field widthprotected static String leading(long os, int width)
os - Byte offsetwidth - Field widthprotected static String leading(int os, int width, char pad)
os - Byte offsetwidth - Field widthpad - Padding characterprotected static String leading(long os, int width, char pad)
os - Byte offsetwidth - Field widthpad - Padding characterprotected static String leading(String s, int width)
s - Stringwidth - Field widthprotected static String leading(String s, int width, char pad)
s - Stringwidth - Field widthpad - Padding characterprotected static String readChars(DataInputStream stream, int length) throws IOException
stream - Data input streamlength - Number of charactersIOExceptionCopyright © 2008–2018 The Open Preservation Foundation. All rights reserved.