bamboo.util
Class StringUtil

java.lang.Object
  extended by bamboo.util.StringUtil

public class StringUtil
extends Object


Constructor Summary
StringUtil()
           
 
Method Summary
static void byte_cnt_to_sbuf(long bytes, StringBuffer buf)
           
static void bytes_to_sbuf(byte[] data, int offset, int length, boolean pretty, StringBuffer buf)
           
static String bytes_to_str(byte[] data)
           
static String bytes_to_str(byte[] data, int offset, int length, boolean pretty)
           
static void time_to_sbuf(long secs, StringBuffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtil

public StringUtil()
Method Detail

bytes_to_str

public static String bytes_to_str(byte[] data)

bytes_to_str

public static String bytes_to_str(byte[] data,
                                  int offset,
                                  int length,
                                  boolean pretty)

bytes_to_sbuf

public static void bytes_to_sbuf(byte[] data,
                                 int offset,
                                 int length,
                                 boolean pretty,
                                 StringBuffer buf)

time_to_sbuf

public static final void time_to_sbuf(long secs,
                                      StringBuffer buf)

byte_cnt_to_sbuf

public static final void byte_cnt_to_sbuf(long bytes,
                                          StringBuffer buf)