org.eclipse.jdt.internal.compiler.apt.util
类 Util

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.apt.util.Util

public final class Util
extends Object

Util class that defines helper methods to read class contents with handling of wrong encoding


嵌套类摘要
static class Util.EncodingError
           
static class Util.EncodingErrorCollector
           
 
字段摘要
static String LINE_SEPARATOR
           
 
构造方法摘要
Util()
           
 
方法摘要
static CharSequence getCharContents(javax.tools.FileObject fileObject, boolean ignoreEncodingErrors, byte[] contents, String encoding)
           
static char[] getInputStreamAsCharArray(InputStream stream, int length, String encoding)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

LINE_SEPARATOR

public static String LINE_SEPARATOR
构造方法详细信息

Util

public Util()
方法详细信息

getInputStreamAsCharArray

public static char[] getInputStreamAsCharArray(InputStream stream,
                                               int length,
                                               String encoding)
                                        throws IOException
抛出:
IOException

getCharContents

public static CharSequence getCharContents(javax.tools.FileObject fileObject,
                                           boolean ignoreEncodingErrors,
                                           byte[] contents,
                                           String encoding)
                                    throws IOException
抛出:
IOException


Copyright © 2013. All Rights Reserved.