public abstract class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
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) |
public static boolean isEmpty(String s)
public static Method getMethodFromDescriptor(String descriptor) throws ReflectionsException
ReflectionsException
public static void close(InputStream inputStream)
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.