public class DirectoryResourceAccessor extends AbstractPathResourceAccessor
ResourceAccessor.NotFoundResource| Constructor and Description |
|---|
DirectoryResourceAccessor(File directory)
Creates a FileSystemResourceAccessor with the given directory as the root.
|
DirectoryResourceAccessor(Path directory)
Creates a FileSystemResourceAccessor with the given directory as the root.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected Resource |
createResource(Path file,
String pathToAdd) |
protected Path |
getRootPath() |
describeLocations, getAll, search, toStringclone, describe, equals, get, get, get, getAttributes, getFieldValue, getObjectMetaData, getValuePath, has, hashCode, setfinalize, getClass, notify, notifyAll, wait, wait, waitget, getExisting, list, openStream, openStreamspublic DirectoryResourceAccessor(File directory) throws FileNotFoundException
FileNotFoundExceptionpublic DirectoryResourceAccessor(Path directory) throws FileNotFoundException
FileNotFoundExceptionprotected Path getRootPath()
getRootPath in class AbstractPathResourceAccessorprotected Resource createResource(Path file, String pathToAdd)
createResource in class AbstractPathResourceAccessorCopyright © 2023 Liquibase.org. All rights reserved.