|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jdt.internal.compiler.tool.Util
public final class Util
Util class that defines helper methods to read class contents with handling of wrong encoding
| Nested Class Summary | |
|---|---|
static class |
Util.EncodingError
|
static class |
Util.EncodingErrorCollector
|
| Field Summary | |
|---|---|
static String |
LINE_SEPARATOR
|
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
static CharSequence |
getCharContents(FileObject fileObject,
boolean ignoreEncodingErrors,
byte[] contents,
String encoding)
|
static char[] |
getInputStreamAsCharArray(InputStream stream,
int length,
String encoding)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String LINE_SEPARATOR
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static char[] getInputStreamAsCharArray(InputStream stream,
int length,
String encoding)
throws IOException
IOException
public static CharSequence getCharContents(FileObject fileObject,
boolean ignoreEncodingErrors,
byte[] contents,
String encoding)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||