public class FileSystem extends 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_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA| Modifier | Constructor and Description |
|---|---|
protected |
FileSystem(FileSystem.Classpath[] paths,
String[] initialFileNames,
boolean annotationsFromClasspath) |
|
FileSystem(String[] classpathNames,
String[] initialFileNames,
String encoding) |
| 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(String classpathName,
String encoding,
AccessRuleSet accessRuleSet) |
static FileSystem.Classpath |
getClasspath(String classpathName,
String encoding,
AccessRuleSet accessRuleSet,
Map options) |
static FileSystem.Classpath |
getClasspath(String classpathName,
String encoding,
boolean isSourceOnly,
AccessRuleSet accessRuleSet,
String destinationPath,
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
protected FileSystem(FileSystem.Classpath[] paths, String[] initialFileNames, boolean annotationsFromClasspath)
public static FileSystem.Classpath getClasspath(String classpathName, String encoding, AccessRuleSet accessRuleSet)
public static FileSystem.Classpath getClasspath(String classpathName, String encoding, AccessRuleSet accessRuleSet, Map options)
public static FileSystem.Classpath getClasspath(String classpathName, String encoding, boolean isSourceOnly, AccessRuleSet accessRuleSet, String destinationPath, 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 INameEnvironmentCopyright © 2016. All rights reserved.