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, toString
clone, describe, equals, get, get, get, getAttributes, getFieldValue, getObjectMetaData, getValuePath, has, hashCode, set
finalize, getClass, notify, notifyAll, wait, wait, wait
get, getExisting, list, openStream, openStreams
public DirectoryResourceAccessor(File directory) throws FileNotFoundException
FileNotFoundException
public DirectoryResourceAccessor(Path directory) throws FileNotFoundException
FileNotFoundException
protected Path getRootPath()
getRootPath
in class AbstractPathResourceAccessor
protected Resource createResource(Path file, String pathToAdd)
createResource
in class AbstractPathResourceAccessor
Copyright © 2023 Liquibase.org. All rights reserved.