Package liquibase.resource
Class ZipResourceAccessor
java.lang.Object
liquibase.AbstractExtensibleObject
liquibase.resource.AbstractResourceAccessor
liquibase.resource.AbstractPathResourceAccessor
liquibase.resource.ZipResourceAccessor
- All Implemented Interfaces:
AutoCloseable,Cloneable,ExtensibleObject,ResourceAccessor
-
Nested Class Summary
Nested classes/interfaces inherited from interface liquibase.resource.ResourceAccessor
ResourceAccessor.NotFoundResource, ResourceAccessor.SearchOptions -
Constructor Summary
ConstructorsModifierConstructorDescriptionZipResourceAccessor(File file) Creates a FileSystemResourceAccessor with the given directories/files as the roots.ZipResourceAccessor(Path file) protectedZipResourceAccessor(Path file, String[] embeddedPaths) -
Method Summary
Methods inherited from class liquibase.resource.AbstractPathResourceAccessor
getAll, search, searchMethods inherited from class liquibase.AbstractExtensibleObject
clone, describe, equals, get, get, get, getAttributes, getFieldValue, getObjectMetaData, getValuePath, has, hashCode, setMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface liquibase.resource.ResourceAccessor
get, getExisting, handleDuplicateFileModeLogging, list, openStream, openStreams
-
Constructor Details
-
ZipResourceAccessor
Creates a FileSystemResourceAccessor with the given directories/files as the roots.- Throws:
FileNotFoundException
-
ZipResourceAccessor
- Throws:
FileNotFoundException
-
ZipResourceAccessor
- Throws:
FileNotFoundException
-
-
Method Details
-
close
- Throws:
Exception
-
getRootPath
- Specified by:
getRootPathin classAbstractPathResourceAccessor
-
createResource
- Specified by:
createResourcein classAbstractPathResourceAccessor
-
describeLocations
Description copied from interface:ResourceAccessorReturns a description of the places this classloader will look for paths. Used in error messages and other troubleshooting cases.- Specified by:
describeLocationsin interfaceResourceAccessor- Overrides:
describeLocationsin classAbstractPathResourceAccessor
-
toString
- Overrides:
toStringin classAbstractPathResourceAccessor
-