Errai 3.0.1-SNAPSHOT

org.jboss.errai.reflections.util
Class Utils

java.lang.Object
  extended by org.jboss.errai.reflections.util.Utils

public abstract class Utils
extends Object

a garbage can of convenient methods


Constructor Summary
Utils()
           
 
Method Summary
static void close(InputStream inputStream)
           
static Field getFieldFromString(String field)
           
static Method getMethodFromDescriptor(String descriptor)
           
static boolean isEmpty(String s)
          isEmpty compatible with Java 5
static File prepareFile(String filename)
           
static String repeat(String string, int times)
           
 
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

repeat

public static String repeat(String string,
                            int times)

isEmpty

public static boolean isEmpty(String s)
isEmpty compatible with Java 5


prepareFile

public static File prepareFile(String filename)

getMethodFromDescriptor

public static Method getMethodFromDescriptor(String descriptor)
                                      throws ReflectionsException
Throws:
ReflectionsException

getFieldFromString

public static Field getFieldFromString(String field)

close

public static void close(InputStream inputStream)

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.