org.glassfish.grizzly.utils
Class Utils

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

public class Utils
extends java.lang.Object

Class contains set of useful operations commonly used in the framework

Author:
Alexey Stashok, Jean-Francois Arcand

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

Field Detail

VERBOSE_TESTS

public static boolean VERBOSE_TESTS
Constructor Detail

Utils

public Utils()
Method Detail

isDebugVM

public static boolean isDebugVM()

dumpOut

public static void dumpOut(java.lang.Object text)

dumpErr

public static void dumpErr(java.lang.Object text)

copy

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

byteBuffer2String

public static java.lang.String byteBuffer2String(java.nio.ByteBuffer bb)


Copyright © 2011 Oracle Corpration. All Rights Reserved.