| Modifier and Type | Field and Description |
|---|---|
| private final Path |
| Access | Constructor and Description |
|---|---|
| public | DirectoryResourceAccessor(File directory)
Creates a FileSystemResourceAccessor with the given directory as the root. |
| public | DirectoryResourceAccessor(Path directory)
Creates a FileSystemResourceAccessor with the given directory as the root. |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Closes this resource, relinquishing any underlying resources. |
| protected Resource | createResource(Path file, String pathToAdd)
Implements abstract liquibase.
|
| protected Path |
| rootDirectory | back to summary |
|---|---|
| private final Path rootDirectory | |
| DirectoryResourceAccessor | back to summary |
|---|---|
| public DirectoryResourceAccessor(File directory) throws FileNotFoundException Creates a FileSystemResourceAccessor with the given directory as the root. | |
| DirectoryResourceAccessor | back to summary |
|---|---|
| public DirectoryResourceAccessor(Path directory) throws FileNotFoundException Creates a FileSystemResourceAccessor with the given directory as the root. | |
| 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
| |
| createResource | back to summary |
|---|---|
| protected Resource createResource(Path file, String pathToAdd) Implements abstract liquibase.
| |
| getRootPath | back to summary |
|---|---|
| protected Path getRootPath() Implements abstract liquibase.
| |