com.greenpineyu.fel.compile
类 FelJavaFileObject

java.lang.Object
  继承者 javax.tools.SimpleJavaFileObject
      继承者 com.greenpineyu.fel.compile.FelJavaFileObject
所有已实现的接口:
FileObject, JavaFileObject

public class FelJavaFileObject
extends SimpleJavaFileObject

编译时,用于提供类源码和保存类的字节码

作者:
yuqingsong

嵌套类摘要
 
从接口 javax.tools.JavaFileObject 继承的嵌套类/接口
JavaFileObject.Kind
 
字段摘要
 
从类 javax.tools.SimpleJavaFileObject 继承的字段
kind, uri
 
构造方法摘要
FelJavaFileObject(String baseName, CharSequence source)
           
FelJavaFileObject(URI uri, JavaFileObject.Kind kind)
           
 
方法摘要
 CharSequence getCharContent(boolean ignoreEncodingErrors)
           
 InputStream openInputStream()
           
 OutputStream openOutputStream()
           
 
从类 javax.tools.SimpleJavaFileObject 继承的方法
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openReader, openWriter, toString, toUri
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

FelJavaFileObject

public FelJavaFileObject(String baseName,
                         CharSequence source)

FelJavaFileObject

public FelJavaFileObject(URI uri,
                         JavaFileObject.Kind kind)
方法详细信息

getCharContent

public CharSequence getCharContent(boolean ignoreEncodingErrors)
                            throws UnsupportedOperationException
指定者:
接口 FileObject 中的 getCharContent
覆盖:
SimpleJavaFileObject 中的 getCharContent
抛出:
UnsupportedOperationException

openInputStream

public InputStream openInputStream()
指定者:
接口 FileObject 中的 openInputStream
覆盖:
SimpleJavaFileObject 中的 openInputStream

openOutputStream

public OutputStream openOutputStream()
指定者:
接口 FileObject 中的 openOutputStream
覆盖:
SimpleJavaFileObject 中的 openOutputStream


Copyright © 2013. All Rights Reserved.