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