| Modifier and Type | Class and Description |
|---|---|
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| public boolean | autoClose
A flag for clients to use to indicate that this file manager should be closed when it is no longer required. |
| private byte[] | |
| protected Charset | charset
User provided charset (through javax.tools). |
| protected final Map | |
| private String | |
| protected long | |
| private static final byte[] | |
| private String | |
| protected static final Set | |
| private long | |
| protected Lint | |
| protected final Locations | |
| public Log | log
The log to be used for error reporting. |
| protected String | |
| protected Options | |
| private final HashSet |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public void | |
| public void | |
| protected Locations | |
| public CharBuffer | |
| protected void | |
| public void | |
| public CharBuffer | |
| protected ClassLoader | |
| public CharsetDecoder | |
| private String | |
| public String | |
| public static JavaFileObject. | |
| public static JavaFileObject. | |
| public boolean | handleOption(String current, Iterator<String> remaining)
Implements javax. Handles one option. |
| public boolean | Returns: true if successful, and false otherwisethe option whose value to be set option, String the value for the option value)Common back end for OptionHelper handleFileManagerOption. |
| public boolean | Returns: true if all the calls are successfula collection of options and corresponding values map)Call handleOption for collection of options and corresponding values. |
| public boolean | |
| public boolean | |
| public int | isSupportedOption(String option)
Implements javax. Determines if the given option is supported and if so, the number of arguments the option takes. |
| public ByteBuffer | Returns: a byte buffer containing the contents of the streamthe stream in)Make a |
| pack-priv synchronized void | |
| protected static <T> T | |
| protected static <T> Collection | |
| public void | |
| public synchronized void | |
| public void | setContext(Context
the context containing items to be associated with the file manager context)Set the context for JavacPathFileManager. |
| pack-priv synchronized void |
| autoClose | back to summary |
|---|---|
| public boolean autoClose A flag for clients to use to indicate that this file manager should be closed when it is no longer required. | |
| byteArrayCache | back to summary |
|---|---|
| private byte[] byteArrayCache | |
| charset | back to summary |
|---|---|
| protected Charset charset User provided charset (through javax.tools). | |
| contentCache | back to summary |
|---|---|
| protected final Map<JavaFileObject, BaseFileManager. | |
| defaultEncodingName | back to summary |
|---|---|
| private String defaultEncodingName | |
| deferredCloseTimeout | back to summary |
|---|---|
| protected long deferredCloseTimeout | |
| EMPTY_ARRAY | back to summary |
|---|---|
| private static final byte[] EMPTY_ARRAY | |
| encodingName | back to summary |
|---|---|
| private String encodingName | |
| javacFileManagerOptions | back to summary |
|---|---|
| protected static final Set<Option> javacFileManagerOptions | |
| lastUsedTime | back to summary |
|---|---|
| private long lastUsedTime | |
| lint | back to summary |
|---|---|
| protected Lint lint | |
| locations | back to summary |
|---|---|
| protected final Locations locations | |
| log | back to summary |
|---|---|
| public Log log The log to be used for error reporting. | |
| multiReleaseValue | back to summary |
|---|---|
| protected String multiReleaseValue | |
| options | back to summary |
|---|---|
| protected Options options | |
| outputFilesWritten | back to summary |
|---|---|
| private final HashSet<Path> outputFilesWritten | |
| BaseFileManager | back to summary |
|---|---|
protected BaseFileManager(Charset charset)
| |
| applyOptions | back to summary |
|---|---|
| protected void applyOptions(Options options) | |
| cache | back to summary |
|---|---|
| public void cache(JavaFileObject file, CharBuffer cb) | |
| clear | back to summary |
|---|---|
| public void clear() | |
| createLocations | back to summary |
|---|---|
| protected Locations createLocations() | |
| decode | back to summary |
|---|---|
| public CharBuffer decode(ByteBuffer inbuf, boolean ignoreEncodingErrors) | |
| deferredClose | back to summary |
|---|---|
| protected void deferredClose() Wait for a period of inactivity before calling close().
The length of the period of inactivity is given by | |
| flushCache | back to summary |
|---|---|
| public void flushCache(JavaFileObject file) | |
| getCachedContent | back to summary |
|---|---|
| public CharBuffer getCachedContent(JavaFileObject file) | |
| getClassLoader | back to summary |
|---|---|
| protected ClassLoader getClassLoader(URL[] urls) | |
| getDecoder | back to summary |
|---|---|
| public CharsetDecoder getDecoder(String encodingName, boolean ignoreEncodingErrors) | |
| getDefaultEncodingName | back to summary |
|---|---|
| private String getDefaultEncodingName() | |
| getEncodingName | back to summary |
|---|---|
| public String getEncodingName() | |
| getKind | back to summary |
|---|---|
| public static JavaFileObject. | |
| getKind | back to summary |
|---|---|
| public static JavaFileObject. | |
| handleOption | back to summary |
|---|---|
| public boolean handleOption(String current, Iterator<String> remaining) Implements javax. Doc from javax. Handles one option. If
| |
| handleOption | back to summary |
|---|---|
| public boolean handleOption(Option option, String value) Common back end for OptionHelper handleFileManagerOption. | |
| handleOptions | back to summary |
|---|---|
| public boolean handleOptions(Map<Option, String> map) Call handleOption for collection of options and corresponding values. | |
| isDefaultBootClassPath | back to summary |
|---|---|
| public boolean isDefaultBootClassPath() | |
| isDefaultSystemModulesPath | back to summary |
|---|---|
| public boolean isDefaultSystemModulesPath() | |
| isSupportedOption | back to summary |
|---|---|
| public int isSupportedOption(String option) Implements javax. Doc from javax. Determines if the given option is supported and if so, the number of arguments the option takes.
| |
| makeByteBuffer | back to summary |
|---|---|
| public ByteBuffer makeByteBuffer(InputStream in) throws IOException Make a
| |
| newOutputToPath | back to summary |
|---|---|
| pack-priv synchronized void newOutputToPath(Path path) throws IOException Record the fact that we have started writing to an output file. | |
| nullCheck | back to summary |
|---|---|
| protected static <T> T nullCheck(T o) | |
| nullCheck | back to summary |
|---|---|
| protected static <T> Collection | |
| recycleByteBuffer | back to summary |
|---|---|
| public void recycleByteBuffer(ByteBuffer buf) | |
| resetOutputFilesWritten | back to summary |
|---|---|
| public synchronized void resetOutputFilesWritten() | |
| setContext | back to summary |
|---|---|
| public void setContext(Context context) Set the context for JavacPathFileManager.
| |
| updateLastUsedTime | back to summary |
|---|---|
| pack-priv synchronized void updateLastUsedTime() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SoftReference | |
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv CharBuffer | |
| pack-priv boolean |
| ref | back to summary |
|---|---|
| pack-priv final SoftReference<CharBuffer> ref | |
| timestamp | back to summary |
|---|---|
| pack-priv final long timestamp | |
| ContentCacheEntry | back to summary |
|---|---|
| pack-priv ContentCacheEntry(JavaFileObject file, CharBuffer cb) | |
| getValue | back to summary |
|---|---|
| pack-priv CharBuffer getValue() | |
| isValid | back to summary |
|---|---|
| pack-priv boolean isValid(JavaFileObject file) | |