galaxy.io
Class Util

java.lang.Object
  |
  +--galaxy.io.Util

public class Util
extends java.lang.Object

Utility class for I/O classes.


Constructor Summary
Util()
           
 
Method Summary
static java.lang.String bytesToString(byte[] bytes)
          Creates a string representaion of a byte array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

bytesToString

public static java.lang.String bytesToString(byte[] bytes)
Creates a string representaion of a byte array. ASCII characters between 32 and 126 (inclusive) are written to the string. All other characters are represented as a 0-padded octal sequence, \ooo.
Parameters:
bytes - the byte array to stringify
Returns:
the stringified byte array