public class ZipResourceAccessor extends AbstractPathResourceAccessor
ResourceAccessor.NotFoundResource
Constructor and Description |
---|
ZipResourceAccessor(File file)
Creates a FileSystemResourceAccessor with the given directories/files as the roots.
|
ZipResourceAccessor(Path file) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected Resource |
createResource(Path file,
String pathToAdd) |
List<String> |
describeLocations()
Returns a description of the places this classloader will look for paths.
|
protected Path |
getRootPath() |
String |
toString() |
getAll, search
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 ZipResourceAccessor(File file) throws FileNotFoundException
FileNotFoundException
public ZipResourceAccessor(Path file) throws FileNotFoundException
FileNotFoundException
protected Path getRootPath()
getRootPath
in class AbstractPathResourceAccessor
protected Resource createResource(Path file, String pathToAdd)
createResource
in class AbstractPathResourceAccessor
public List<String> describeLocations()
ResourceAccessor
describeLocations
in interface ResourceAccessor
describeLocations
in class AbstractPathResourceAccessor
public String toString()
toString
in class AbstractPathResourceAccessor
Copyright © 2023 Liquibase.org. All rights reserved.