|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.csss.opensource.jhexdump.JHexDump
This class is the abstract class that all JHexDump implementations subclass.
There are a couple of attributes which are accessile via get/set methods that will alter the output that are applicable for all implementations of JHexDump that use the JHexDumpReader class.
Constructor Summary | |
JHexDump()
Public constructor. |
Method Summary | |
int |
getBytesPerRow()
Returns the number of bytes to display per row of the hexdump. |
boolean |
isNoAscii()
Returns the state of the NoAscii. |
boolean |
isNoPosInd()
Returns the state of the NoPosInd. |
void |
setBytesPerRow(int bytesPerRow)
Sets the number of bytes to display per row of the hexdump. |
void |
setNoAscii(boolean noAscii)
Toggles the production of the grid of ascii displayable characters on/off. |
void |
setNoPosInd(boolean noPosInd)
Toggles the production of the position indicator on/off. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JHexDump()
Sets default values for BytesPerRow (16), NoPosInd (false), and NoAscii (false).
Method Detail |
public int getBytesPerRow()
The default is 16.
public void setBytesPerRow(int bytesPerRow)
The default is 16.
bytesPerRow
- the new value of bytes per row to setpublic boolean isNoAscii()
If NoAscii is set to true, then the hexdump will not produce the grid of ascii displayable characters which appears on the right hand side of the hexdump by default.
public void setNoAscii(boolean noAscii)
If NoAscii is set to true, then the hexdump will not produce the grid of ascii displayable characters which appears on the right hand side of the hexdump by default.
noAscii
- The value of NoAscii to setpublic boolean isNoPosInd()
If NoPosInd is set to true, then the hexdump will not produce the position indicator which appears on the left hand side of the hexdump by default.
public void setNoPosInd(boolean noPosInd)
If NoPosInd is set to true, then the hexdump will not produce the position indicator which appears on the left hand side of the hexdump by default.
noPosInd
- The value of NoPosInd to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |