public class StringUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
lineSeparator |
static String |
lineSeparatorStr |
Constructor and Description |
---|
StringUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
cleanString(String str) |
static String |
getClassName(Class targetClass) |
static InputStream |
getContentAsInputStream(URL url) |
static String |
getNMTokens(List list) |
static URL |
getURL(URL contextURL,
String spec) |
static List |
parseNMTokens(String nmTokens) |
public static final String lineSeparator
public static final String lineSeparatorStr
public static URL getURL(URL contextURL, String spec) throws MalformedURLException
MalformedURLException
public static InputStream getContentAsInputStream(URL url) throws SecurityException, IllegalArgumentException, IOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.