| Modifier and Type | Field and Description |
|---|---|
| private final AccessControlContext | context
Deprecated
as a consequence of
AccessControlContext being deprecated.
|
| private final String | |
| private final Path |
| Access | Constructor and Description |
|---|---|
| pack-priv | PathResource(Path path, final String name, AccessControlContext context)
Deprecated
as a consequence of
AccessControlContext being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public long | |
| public URL | |
| public InputStream | openStream()
Implements org. |
| context | back to summary |
|---|---|
| private final AccessControlContext context
Deprecated as a consequence of | |
| name | back to summary |
|---|---|
| private final String name | |
| path | back to summary |
|---|---|
| private final Path path | |
| PathResource | back to summary |
|---|---|
| pack-priv PathResource(Path path, final String name, AccessControlContext context)
Deprecated as a consequence of | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Get the relative resource name. | |
| getSize | back to summary |
|---|---|
| public long getSize() Implements org. Doc from org. Get the size of the resource, if known.
| |
| getURL | back to summary |
|---|---|
| public URL getURL() Implements org. Doc from org. Get the complete URL of this resource. | |
| openStream | back to summary |
|---|---|
| public InputStream openStream() throws IOException Implements org. Doc from org. Open an input stream to this resource.
| |