public final class StringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
decodeBase64(String pEncodedString)
Decodes a Base64 encoded String.
|
static String |
encodeBase64(String pString)
Encodes a String into another Base64 encoded String.
|
static String |
getCharsetFromContentType(String contentType) |
static String |
getStreamAsString(InputStream is,
String charset)
Deprecated.
|
static String |
streamToString(InputStream is,
String charset) |
public static String decodeBase64(String pEncodedString)
public static String encodeBase64(String pString)
@Deprecated public static String getStreamAsString(InputStream is, String charset) throws IOException
streamToString(InputStream, String)
IOException
public static String streamToString(InputStream is, String charset)
Copyright © 2004–2016 52north.org. All rights reserved.