| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: the stringthe stream is, String the character encoding encoding)Reads a string from a stream. |
| public static String | Returns: the stringthe URL u, String the character encoding encoding)Reads a string from a URL |
| CSLUtils | back to summary |
|---|---|
| public CSLUtils() | |
| readStreamToString | back to summary |
|---|---|
| public static String readStreamToString(InputStream is, String encoding) throws IOException Reads a string from a stream. Closes the stream after reading.
| |
| readURLToString | back to summary |
|---|---|
| public static String readURLToString(URL u, String encoding) throws IOException Reads a string from a URL
| |