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
ModifierConstructorDescriptionZipResourceAccessor
(File file) Creates a FileSystemResourceAccessor with the given directories/files as the roots.ZipResourceAccessor
(Path file) protected
ZipResourceAccessor
(Path file, String[] embeddedPaths) -
Method Summary
Methods inherited from class liquibase.resource.AbstractPathResourceAccessor
getAll, search, search
Methods inherited from class liquibase.AbstractExtensibleObject
clone, describe, equals, get, get, get, getAttributes, getFieldValue, getObjectMetaData, getValuePath, has, hashCode, set
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getRootPath
in classAbstractPathResourceAccessor
-
createResource
- Specified by:
createResource
in classAbstractPathResourceAccessor
-
describeLocations
Description copied from interface:ResourceAccessor
Returns a description of the places this classloader will look for paths. Used in error messages and other troubleshooting cases.- Specified by:
describeLocations
in interfaceResourceAccessor
- Overrides:
describeLocations
in classAbstractPathResourceAccessor
-
toString
- Overrides:
toString
in classAbstractPathResourceAccessor
-