|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.security.common.util.StringUtils
public final class StringUtils
This class provides some utilities to work with strings in the 52n security services suite.
Method Summary | |
---|---|
static String |
decodeBase64(String pEncodedString)
Decodes a Base64 encoded String. |
static String |
encodeBase64(String pString)
Encoded a String into another Base64 encoded String. |
static String |
getCharsetFromContentType(String contentType)
|
static String |
getStreamAsString(InputStream is,
String charset)
Deprecated. use streamToString(InputStream, String) |
static String |
streamToString(InputStream is,
String charset)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String decodeBase64(String pEncodedString)
pEncodedString
-
public static String encodeBase64(String pString)
pString
-
@Deprecated public static String getStreamAsString(InputStream is, String charset) throws IOException
streamToString(InputStream, String)
IOException
public static String streamToString(InputStream is, String charset)
public static String getCharsetFromContentType(String contentType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |