org.jboss.errai.reflections.util
Class Utils
java.lang.Object
org.jboss.errai.reflections.util.Utils
public abstract class Utils
- extends Object
a garbage can of convenient methods
Constructor Summary |
Utils()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
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)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.