java.lang.ObjectHexDump
public class HexDump
| Constructor Summary | |
|---|---|
HexDump()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
static void |
readFile(java.lang.String filename)
Lee el archivo filename y lo imprime en Sytem.out en dos columnas: la de la izquierda muestra el archivo en bytes, la de la derecha muestra los caracteres imprimibles. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HexDump()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public static void readFile(java.lang.String filename)
throws java.io.IOException
filename - el archivo que se imprimirá en pantalla
java.io.IOException - si a) el archivo no existe o b) hay un error de lectura