| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| protected static final String[] | |
| private File | |
| private static final Log | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| protected final File | |
| public void | gc()
Implements org. Implementations may cache some information to improve performance. |
| public URL | getBaseUrl()
Implements org. Obtain the base URL for this set of resources. |
| protected final File | |
| protected void | initInternal()
Implements abstract org. Sub-classes implement this method to perform any instance initialisation required. |
| private boolean | |
| public boolean | isReadOnly()
Implements org. Obtains the current value of the read-only setting for this set of resources. |
| protected void | |
| private String | |
| public void | setReadOnly(boolean
true if this set of resources should be
configured to be read-onlyImplements org. Configures whether or not this set of resources is read-only. |
| absoluteBase | back to summary |
|---|---|
| private String absoluteBase | |
| canonicalBase | back to summary |
|---|---|
| private String canonicalBase | |
| EMPTY_STRING_ARRAY | back to summary |
|---|---|
| protected static final String[] EMPTY_STRING_ARRAY | |
| fileBase | back to summary |
|---|---|
| private File fileBase | |
| log | back to summary |
|---|---|
| private static final Log log | |
| readOnly | back to summary |
|---|---|
| private boolean readOnly | |
| AbstractFileResourceSet | back to summary |
|---|---|
| protected AbstractFileResourceSet(String internalPath) | |
| checkType | back to summary |
|---|---|
| protected abstract void checkType(File file) | |
| file | back to summary |
|---|---|
| protected final File file(String name, boolean mustExist) | |
| gc | back to summary |
|---|---|
| public void gc() Implements org. Doc from org. Implementations may cache some information to improve performance. This method triggers the clean-up of those resources. This is a NO-OP by default for File based resource sets.
| |
| getBaseUrl | back to summary |
|---|---|
| public URL getBaseUrl() Implements org. Doc from org. Obtain the base URL for this set of resources. One of the uses of this is to grant read permissions to the resources when running under a security manager. | |
| getFileBase | back to summary |
|---|---|
| protected final File getFileBase() | |
| initInternal | back to summary |
|---|---|
| protected void initInternal() throws LifecycleException Implements abstract org. Doc from org. Sub-classes implement this method to perform any instance initialisation required.
| |
| isInvalidWindowsFilename | back to summary |
|---|---|
| private boolean isInvalidWindowsFilename(String name) | |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly() Implements org. Doc from org. Obtains the current value of the read-only setting for this set of resources.
| |
| logIgnoredSymlink | back to summary |
|---|---|
| protected void logIgnoredSymlink(String contextPath, String absPath, String canPath) | |
| normalize | back to summary |
|---|---|
| private String normalize(String path) Return a context-relative path, beginning with a "/", that represents the canonical version of the specified path
after ".." and "." elements are resolved out. If the specified path attempts to go outside the boundaries of the
current context (i.e. too many ".." path elements are present), return
| |
| setReadOnly | back to summary |
|---|---|
| public void setReadOnly(boolean readOnly) Implements org. Doc from org. Configures whether or not this set of resources is read-only.
| |