org.glassfish.grizzly.utils
Class Utils

java.lang.Object
  extended by org.glassfish.grizzly.utils.Utils

public class Utils
extends Object

Class contains set of useful operations commonly used in the framework

Author:
Alexey Stashok, Jean-Francois Arcand

Constructor Summary
Utils()
           
 
Method Summary
static String byteBuffer2String(ByteBuffer bb)
           
static byte[] copy(byte[] src)
           
static void dumpErr(Object text)
           
static void dumpOut(Object text)
           
static boolean isDebugVM()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

isDebugVM

public static boolean isDebugVM()

dumpOut

public static void dumpOut(Object text)

dumpErr

public static void dumpErr(Object text)

copy

public static byte[] copy(byte[] src)

byteBuffer2String

public static String byteBuffer2String(ByteBuffer bb)


Copyright © 2012 Oracle Corporation. All Rights Reserved.