public class FileSystem extends java.lang.Object implements INameEnvironment, SuffixConstants
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileSystem.Classpath |
static class |
FileSystem.ClasspathNormalizer
This class is defined how to normalize the classpath entries.
|
static interface |
FileSystem.ClasspathSectionProblemReporter |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
annotationsFromClasspath |
protected FileSystem.Classpath[] |
classpaths |
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA| Modifier | Constructor and Description |
|---|---|
protected |
FileSystem(FileSystem.Classpath[] paths,
java.lang.String[] initialFileNames,
boolean annotationsFromClasspath) |
|
FileSystem(java.lang.String[] classpathNames,
java.lang.String[] initialFileNames,
java.lang.String encoding,
int mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
This method cleans the environment.
|
NameEnvironmentAnswer |
findType(char[][] compoundName)
Find a type with the given compound name.
|
NameEnvironmentAnswer |
findType(char[][] compoundName,
boolean asBinaryOnly) |
NameEnvironmentAnswer |
findType(char[] typeName,
char[][] packageName)
Find a type named
|
char[][][] |
findTypeNames(char[][] packageName) |
static FileSystem.Classpath |
getClasspath(java.lang.String classpathName,
java.lang.String encoding,
AccessRuleSet accessRuleSet) |
static FileSystem.Classpath |
getClasspath(java.lang.String classpathName,
java.lang.String encoding,
AccessRuleSet accessRuleSet,
int mode) |
static FileSystem.Classpath |
getClasspath(java.lang.String classpathName,
java.lang.String encoding,
AccessRuleSet accessRuleSet,
java.util.Map options) |
static FileSystem.Classpath |
getClasspath(java.lang.String classpathName,
java.lang.String encoding,
boolean isSourceOnly,
AccessRuleSet accessRuleSet,
java.lang.String destinationPath,
java.util.Map options) |
static FileSystem.Classpath |
getClasspath(java.lang.String classpathName,
java.lang.String encoding,
int mode,
AccessRuleSet accessRuleSet,
java.lang.String destinationPath,
java.util.Map options) |
boolean |
isPackage(char[][] compoundName,
char[] packageName)
Answer whether packageName is the name of a known subpackage inside
the package parentPackageName.
|
protected FileSystem.Classpath[] classpaths
protected boolean annotationsFromClasspath
public FileSystem(java.lang.String[] classpathNames,
java.lang.String[] initialFileNames,
java.lang.String encoding,
int mode)
protected FileSystem(FileSystem.Classpath[] paths, java.lang.String[] initialFileNames, boolean annotationsFromClasspath)
public static FileSystem.Classpath getClasspath(java.lang.String classpathName, java.lang.String encoding, AccessRuleSet accessRuleSet)
public static FileSystem.Classpath getClasspath(java.lang.String classpathName, java.lang.String encoding, AccessRuleSet accessRuleSet, java.util.Map options)
public static FileSystem.Classpath getClasspath(java.lang.String classpathName, java.lang.String encoding, AccessRuleSet accessRuleSet, int mode)
public static FileSystem.Classpath getClasspath(java.lang.String classpathName, java.lang.String encoding, boolean isSourceOnly, AccessRuleSet accessRuleSet, java.lang.String destinationPath, java.util.Map options)
public static FileSystem.Classpath getClasspath(java.lang.String classpathName, java.lang.String encoding, int mode, AccessRuleSet accessRuleSet, java.lang.String destinationPath, java.util.Map options)
public void cleanup()
INameEnvironmentcleanup in interface INameEnvironmentpublic NameEnvironmentAnswer findType(char[][] compoundName)
INameEnvironmentfindType in interface INameEnvironmentpublic char[][][] findTypeNames(char[][] packageName)
public NameEnvironmentAnswer findType(char[][] compoundName, boolean asBinaryOnly)
public NameEnvironmentAnswer findType(char[] typeName, char[][] packageName)
INameEnvironmentfindType in interface INameEnvironmentpublic boolean isPackage(char[][] compoundName,
char[] packageName)
INameEnvironmentisPackage in interface INameEnvironment