| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static final Path | |
| private static final Logger | |
| pack-priv static final Index. | RESOURCE_FACTORIES
The Index (Map) of URI schemes to ResourceFactory implementations that is used by |
| pack-priv static ResourceFactory |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static boolean | Returns: true if a ResourceFactory is registered to support the urithe uri to test uri)Test uri to know if a |
| pack-priv static boolean | Returns: true if a ResourceFactory is registered to support the string representationthe string representing the resource location str)Test string to know if a |
| CURRENT_WORKING_DIR | back to summary |
|---|---|
| private static final Path CURRENT_WORKING_DIR | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| RESOURCE_FACTORIES | back to summary |
|---|---|
| pack-priv static final Index. The Index (Map) of URI schemes to ResourceFactory implementations that is used by | |
| ROOT | back to summary |
|---|---|
| pack-priv static ResourceFactory ROOT | |
| ResourceFactoryInternals | back to summary |
|---|---|
| pack-priv ResourceFactoryInternals() | |
| isSupported | back to summary |
|---|---|
| pack-priv static boolean isSupported(URI uri) Test uri to know if a
| |
| isSupported | back to summary |
|---|---|
| pack-priv static boolean isSupported(String str) Test string to know if a
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ResourceFactoryInternals. | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements org. |
| public int | |
| public Resource | newResource(URI
A URI. uri)Implements org. |
| _compositeResourceFactory | back to summary |
|---|---|
| private final ResourceFactoryInternals. | |
| closed | back to summary |
|---|---|
| private boolean closed | |
| Closeable | back to summary |
|---|---|
| pack-priv Closeable() | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| getTrackingCount | back to summary |
|---|---|
| public int getTrackingCount() Implements org. | |
| newResource | back to summary |
|---|---|
| public Resource newResource(URI uri) Implements org. Doc from org. Construct a resource from a uri. | |
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public List | |
| private FileSystemPool. | Returns: A reference countedFileSystemPool. for that file system or null. Callers should call
FileSystemPool. once they no longer require this specific Mount.The URI to mount that may require a FileSystem (e.g. "jar:file://tmp/some.jar!/directory/file.txt") uri)Mount a URI if it is needed. |
| public Resource | newResource(URI
A URI. uri)Implements org. |
| protected void |
| _mounts | back to summary |
|---|---|
| private final List<FileSystemPool. | |
| CompositeResourceFactory | back to summary |
|---|---|
| pack-priv CompositeResourceFactory() | |
| clearMounts | back to summary |
|---|---|
| public void clearMounts() | |
| getMounts | back to summary |
|---|---|
| public List | |
| mountIfNeeded | back to summary |
|---|---|
| private FileSystemPool. Mount a URI if it is needed.
| |
| newResource | back to summary |
|---|---|
| public Resource newResource(URI uri) Implements org. Doc from org. Construct a resource from a uri. | |
| onMounted | back to summary |
|---|---|
| protected void onMounted(FileSystemPool. | |
| Modifier and Type | Field and Description |
|---|---|
| private final ResourceFactoryInternals. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | doStop()
Overrides org. |
| public void | dump(Appendable
The appendable to dump to out, String The indent to apply after any new lines. indent)Implements org. |
| public Resource | newResource(URI
A URI. uri)Implements org. |
| _compositeResourceFactory | back to summary |
|---|---|
| private final ResourceFactoryInternals. | |
| LifeCycle | back to summary |
|---|---|
| pack-priv LifeCycle() | |
| doStop | back to summary |
|---|---|
| protected void doStop() throws Exception Overrides org. Doc from org. Method to override to stop the lifecycle | |
| dump | back to summary |
|---|---|
| public void dump(Appendable out, String indent) throws IOException Implements org. Doc from org. Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
| |
| newResource | back to summary |
|---|---|
| public Resource newResource(URI uri) Implements org. Doc from org. Construct a resource from a uri. | |
| Modifier and Type | Method and Description |
|---|---|
| public int |
| getTrackingCount | back to summary |
|---|---|
| public int getTrackingCount() | |