| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Closes this resource, relinquishing any underlying resources. |
| public List | describeLocations()
Implements liquibase. Returns a description of the places this classloader will look for paths. |
| public List | getAll(String path)
Implements liquibase. Returns all |
| public List | search(String
The path to lookup resources in. path, boolean Set to true and will return paths to contents in subdirectories as well. recursive)Implements liquibase. Returns the path to all resources contained in the given path. |
| public void |
| contentByFileName | back to summary |
|---|---|
| private final SortedMap<String, String> contentByFileName | |
| MockResourceAccessor | back to summary |
|---|---|
| public MockResourceAccessor() | |
| MockResourceAccessor | back to summary |
|---|---|
| public MockResourceAccessor(Map<String, String> contentByFileName) | |
| close | back to summary |
|---|---|
| public void close() throws Exception Implements java. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| describeLocations | back to summary |
|---|---|
| public List Implements liquibase. Doc from liquibase. Returns a description of the places this classloader will look for paths. Used in error messages and other troubleshooting cases.
| |
| getAll | back to summary |
|---|---|
| public List Implements liquibase. Doc from liquibase. Returns all
If the resourceAccessor returns multiple values, the returned List should be considered sorted for that resource accessor.
For example,
| |
| search | back to summary |
|---|---|
| public List Implements liquibase. Doc from liquibase. Returns the path to all resources contained in the given path.
Multiple resources may be returned with the same path, but only if they are actually unique files.
Order is important to pay attention to, they should be returned in a user-expected manner based on this resource accessor.
| |
| setContent | back to summary |
|---|---|
| public void setContent(String fileName, String content) | |