Class EclipseFileManager
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.tool.EclipseFileManager
org.aspectj.org.eclipse.jdt.internal.compiler.apt.util.EclipseFileManager
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable, JavaFileManager, OptionChecker, StandardJavaFileManager
Implementation of the Standard Java File Manager
-
Nested Class Summary
Nested classes/interfaces inherited from interface JavaFileManager
JavaFileManager.LocationNested classes/interfaces inherited from interface StandardJavaFileManager
StandardJavaFileManager.PathFactory -
Field Summary
Fields inherited from class EclipseFileManager
bundle, locationHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLocation(JavaFileManager.Location location) booleanhasLocation(JavaFileManager.Location location) voidsetLocation(JavaFileManager.Location location, Iterable<? extends File> files) voidsetLocationForModule(JavaFileManager.Location location, String moduleName, Collection<? extends Path> paths) Methods inherited from class EclipseFileManager
addNewEntry, asPath, close, contains, flush, getClassLoader, getFileForInput, getFileForOutput, getFiles, getJavaFileForInput, getJavaFileForOutput, getJavaFileObjects, getJavaFileObjects, getJavaFileObjects, getJavaFileObjectsFromFiles, getJavaFileObjectsFromPaths, getJavaFileObjectsFromStrings, getKind, getLocationAsPaths, getLocationForModule, getLocationForModule, getPaths, getServiceLoader, handleOption, inferBinaryName, inferModuleName, initialize, isSameFile, isSupportedOption, list, listLocationsForModules, processPathEntries, setLocale, setLocationFromPaths, validateModuleLocationModifier and TypeMethodDescriptionprotected voidaddNewEntry(ArrayList paths, String currentClasspathName, ArrayList currentRuleSpecs, String customEncoding, String destPath, boolean isSourceOnly, boolean rejectDestinationPathOnJars) asPath(FileObject file) voidclose()booleancontains(JavaFileManager.Location location, FileObject fo) voidflush()getClassLoader(JavaFileManager.Location location) getFileForInput(JavaFileManager.Location location, String packageName, String relativeName) getFileForOutput(JavaFileManager.Location location, String packageName, String relativeName, FileObject sibling) getJavaFileForInput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind) getJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling) Iterable<? extends JavaFileObject> getJavaFileObjects(File... files) Iterable<? extends JavaFileObject> getJavaFileObjects(String... names) Iterable<? extends JavaFileObject> getJavaFileObjects(Path... paths) Iterable<? extends JavaFileObject> getJavaFileObjectsFromFiles(Iterable<? extends File> files) Iterable<? extends JavaFileObject> getJavaFileObjectsFromPaths(Iterable<? extends Path> paths) Iterable<? extends JavaFileObject> getLocationAsPaths(JavaFileManager.Location location) getLocationForModule(JavaFileManager.Location location, String moduleName) getLocationForModule(JavaFileManager.Location location, JavaFileObject fo) <S> ServiceLoader<S> getServiceLoader(JavaFileManager.Location location, Class<S> service) booleanhandleOption(String current, Iterator<String> remaining) inferBinaryName(JavaFileManager.Location location, JavaFileObject file) inferModuleName(JavaFileManager.Location location) protected voidinitialize(File javahome) booleanisSameFile(FileObject fileObject1, FileObject fileObject2) intisSupportedOption(String option) list(JavaFileManager.Location location, String packageName, Set<JavaFileObject.Kind> kinds, boolean recurse) voidprocessPathEntries(int defaultSize, ArrayList paths, String currentPath, String customEncoding, boolean isSourceOnly, boolean rejectDestinationPathOnJars) voidvoidsetLocationFromPaths(JavaFileManager.Location location, Collection<? extends Path> paths) protected voidvalidateModuleLocation(JavaFileManager.Location location, String modName) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JavaFileManager
getFileForOutputForOriginatingFiles, getJavaFileForOutputForOriginatingFilesMethods inherited from interface StandardJavaFileManager
getJavaFileObjectsFromPaths, setPathFactory
-
Constructor Details
-
EclipseFileManager
-
-
Method Details
-
getLocation
- Specified by:
getLocationin interfaceStandardJavaFileManager- Overrides:
getLocationin classEclipseFileManager
-
hasLocation
- Specified by:
hasLocationin interfaceJavaFileManager- Overrides:
hasLocationin classEclipseFileManager
-
setLocation
public void setLocation(JavaFileManager.Location location, Iterable<? extends File> files) throws IOException - Specified by:
setLocationin interfaceStandardJavaFileManager- Overrides:
setLocationin classEclipseFileManager- Throws:
IOException
-
setLocationForModule
public void setLocationForModule(JavaFileManager.Location location, String moduleName, Collection<? extends Path> paths) throws IOException - Specified by:
setLocationForModulein interfaceStandardJavaFileManager- Overrides:
setLocationForModulein classEclipseFileManager- Throws:
IOException
-