public class HexRead extends Object
| Constructor and Description | 
|---|
HexRead()  | 
| Modifier and Type | Method and Description | 
|---|---|
static byte[] | 
readData(InputStream stream,
        int eofChar)  | 
static byte[] | 
readData(String filename)
This method reads hex data from a filename and returns a byte array. 
 | 
static byte[] | 
readData(String filename,
        String section)
Same as readData(String) except that this method allows you to specify sections within
 a file. 
 | 
static byte[] | 
readFromString(String data)  | 
public static byte[] readData(String filename) throws IOException
filename - The filename to readIOException - If there was a problem while reading the file.public static byte[] readData(String filename, String section) throws IOException
[sectioname]
IOExceptionreadData(String)public static byte[] readData(InputStream stream, int eofChar) throws IOException
IOExceptionpublic static byte[] readFromString(String data) throws IOException
IOExceptionCopyright © 2014 Open Microscopy Environment