iitb.con.util
Class FileDump

java.lang.Object
  extended by iitb.con.util.FileDump

public class FileDump
extends java.lang.Object

Dumps the file contents in hex-decimal values


Constructor Summary
FileDump()
           
 
Method Summary
static void dumpFile(java.lang.String name, int lineLength)
          Dumps the file contents in hex-decimal values
static void dumpFile(java.lang.String name, int lineLength, ItemSerializer is)
          Dumps the file contents in bytes after deserializing with given ItemSerializer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDump

public FileDump()
Method Detail

dumpFile

public static void dumpFile(java.lang.String name,
                            int lineLength)
Dumps the file contents in hex-decimal values

Parameters:
name - file length
lineLength - no. of words in the line

dumpFile

public static void dumpFile(java.lang.String name,
                            int lineLength,
                            ItemSerializer is)
Dumps the file contents in bytes after deserializing with given ItemSerializer

Parameters:
name - file name
lineLength - no. of words in the line
is - ItemSerializer