Java org.eclipse.jdt.internal.compiler.util Util fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.internal.compiler.util Util fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.internal.compiler.util Util.

The text is from its open source code.

Field

Method

char[]bytesToChar(byte[] bytes, String encoding)
Returns the given bytes as a char array using a given encoding (null means platform default).
voidcollectRunningVMBootclasspath(List bootclasspaths)
byte[]getFileByteContent(File file)
Returns the contents of the given file as a byte array.
char[]getFileCharContent(File file, String encoding)
Returns the contents of the given file as a char array.
byte[]getInputStreamAsByteArray(InputStream stream, int length)
Returns the given input stream's contents as a byte array.
char[]getInputStreamAsCharArray(InputStream stream, int length, String encoding)
Returns the given input stream's contents as a character array.
FilegetJavaHome()
intgetLineNumber(int position, int[] lineEnds, int g, int d)
byte[]getZipEntryByteContent(ZipEntry ze, ZipFile zip)
Returns the contents of the given zip entry as a byte array.
booleanisClassFileName(char[] name)
Returns true iff str.toLowerCase().endsWith(".class") implementation is not creating extra strings.
booleanisClassFileName(String name)
Returns true iff str.toLowerCase().endsWith(".class") implementation is not creating extra strings.
intsearchColumnNumber(int[] startLineIndexes, int lineNumber, int position)
INTERNAL USE-ONLY Search the column number corresponding to a specific position