public final class Util extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Util.EncodingError |
static class |
Util.EncodingErrorCollector |
| Modifier and Type | Field and Description |
|---|---|
static String |
LINE_SEPARATOR |
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static CharSequence |
getCharContents(FileObject fileObject,
boolean ignoreEncodingErrors,
byte[] contents,
String encoding) |
static char[] |
getInputStreamAsCharArray(InputStream stream,
int length,
String encoding) |
public static String LINE_SEPARATOR
public static char[] getInputStreamAsCharArray(InputStream stream, int length, String encoding) throws IOException
IOExceptionpublic static CharSequence getCharContents(FileObject fileObject, boolean ignoreEncodingErrors, byte[] contents, String encoding) throws IOException
IOExceptionCopyright © 2015. All rights reserved.