Uses of Interface
javax.tools.FileObject
-
Packages that use FileObject 软件包 描述 com.sun.source.util 为抽象语法树(AST)的操作提供实用程序。javax.annotation.processing 用于声明注释处理器和允许注释处理器与注释处理工具环境通信的设施。javax.tools 为可以从程序调用的工具提供接口,例如编译器。 -
-
Uses of FileObject in com.sun.source.util
Methods in com.sun.source.util with parameters of type FileObject Modifier and Type 方法 描述 abstract DocCommentTree
DocTrees. getDocCommentTree(FileObject fileObject)
返回给定文件的文档注释树。abstract DocTreePath
DocTrees. getDocTreePath(FileObject fileObject, PackageElement packageElement)
返回包含给定文件的文档注释树的文档树路径。 -
Uses of FileObject in javax.annotation.processing
Methods in javax.annotation.processing that return FileObject Modifier and Type 方法 描述 FileObject
Filer. createResource(JavaFileManager.Location location, CharSequence moduleAndPkg, CharSequence relativeName, Element... originatingElements)
创建一个新的辅助资源文件进行写入并返回一个文件对象。FileObject
Filer. getResource(JavaFileManager.Location location, CharSequence moduleAndPkg, CharSequence relativeName)
返回一个读取现有资源的对象。 -
Uses of FileObject in javax.tools
Classes in javax.tools with type parameters of type FileObject Modifier and Type Class 描述 class
ForwardingFileObject<F extends FileObject>
转发给定文件对象。Subinterfaces of FileObject in javax.tools Modifier and Type 接口 描述 interface
JavaFileObject
用于Java编程语言源和类文件的工具的文件抽象。Classes in javax.tools that implement FileObject Modifier and Type Class 描述 class
ForwardingFileObject<F extends FileObject>
转发给定文件对象。class
ForwardingJavaFileObject<F extends JavaFileObject>
转发给定文件对象。class
SimpleJavaFileObject
为JavaFileObject中的大多数方法提供简单的实现。Fields in javax.tools declared as FileObject Modifier and Type Field 描述 protected F
ForwardingFileObject. fileObject
所有方法被委派的文件对象。Methods in javax.tools that return FileObject Modifier and Type 方法 描述 FileObject
ForwardingJavaFileManager. getFileForInput(JavaFileManager.Location location, String packageName, String relativeName)
FileObject
JavaFileManager. getFileForInput(JavaFileManager.Location location, String packageName, String relativeName)
返回file object用于表示指定的输入relative name中指定的包在给定的取向包位置。FileObject
ForwardingJavaFileManager. getFileForOutput(JavaFileManager.Location location, String packageName, String relativeName, FileObject sibling)
FileObject
JavaFileManager. getFileForOutput(JavaFileManager.Location location, String packageName, String relativeName, FileObject sibling)
返回file object用于表示指定的输出relative name中指定的包在给定的位置。Methods in javax.tools with parameters of type FileObject Modifier and Type 方法 描述 default Path
StandardJavaFileManager. asPath(FileObject file)
返回此文件对象下的路径(如果有)(可选操作)。boolean
ForwardingJavaFileManager. contains(JavaFileManager.Location location, FileObject fo)
default boolean
JavaFileManager. contains(JavaFileManager.Location location, FileObject fo)
确定给定的文件对象是否“包含在”指定的位置。FileObject
ForwardingJavaFileManager. getFileForOutput(JavaFileManager.Location location, String packageName, String relativeName, FileObject sibling)
FileObject
JavaFileManager. getFileForOutput(JavaFileManager.Location location, String packageName, String relativeName, FileObject sibling)
返回file object用于表示指定的输出relative name中指定的包在给定的位置。JavaFileObject
ForwardingJavaFileManager. getJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling)
JavaFileObject
JavaFileManager. getJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling)
返回一个file object,用于在给定的面向包的位置中表示指定类的指定类的输出。boolean
ForwardingJavaFileManager. isSameFile(FileObject a, FileObject b)
boolean
JavaFileManager. isSameFile(FileObject a, FileObject b)
比较两个文件对象,如果它们代表相同的底层对象,则返回true。boolean
StandardJavaFileManager. isSameFile(FileObject a, FileObject b)
比较两个文件对象,如果它们表示相同的规范文件,zip文件条目或任何基于文件系统的容器中的条目,则返回true。
-