Package org.fastnate.generator.test
Class AbstractEntitySqlGeneratorTest.ByteArrayResourceAccessor
java.lang.Object
liquibase.AbstractExtensibleObject
liquibase.resource.AbstractResourceAccessor
org.fastnate.generator.test.AbstractEntitySqlGeneratorTest.ByteArrayResourceAccessor
- All Implemented Interfaces:
AutoCloseable,Cloneable,liquibase.ExtensibleObject,liquibase.resource.ResourceAccessor
- Enclosing class:
AbstractEntitySqlGeneratorTest
private static final class AbstractEntitySqlGeneratorTest.ByteArrayResourceAccessor
extends liquibase.resource.AbstractResourceAccessor
Liquibase resource accessor that returns only a stream from the given byte buffer.
-
Nested Class Summary
Nested classes/interfaces inherited from interface liquibase.resource.ResourceAccessor
liquibase.resource.ResourceAccessor.NotFoundResource, liquibase.resource.ResourceAccessor.SearchOptions -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()List<liquibase.resource.Resource> list(String relativeTo, String path, boolean recursive, boolean includeFiles, boolean includeDirectories) liquibase.resource.InputStreamListopenStreams(String relativeTo, String streamPath) List<liquibase.resource.Resource> Methods inherited from class liquibase.AbstractExtensibleObject
clone, describe, equals, get, get, get, getAttributes, getFieldValue, getObjectMetaData, getValuePath, has, hashCode, set, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface liquibase.resource.ResourceAccessor
get, getExisting, handleDuplicateFileModeLogging, openStream, search
-
Field Details
-
fileName
-
bytes
private final byte[] bytes
-
-
Constructor Details
-
ByteArrayResourceAccessor
-
-
Method Details
-
close
- Throws:
Exception
-
describeLocations
-
getAll
- Throws:
IOException
-
list
public SortedSet<String> list(String relativeTo, String path, boolean recursive, boolean includeFiles, boolean includeDirectories) throws IOException - Throws:
IOException
-
openStreams
public liquibase.resource.InputStreamList openStreams(String relativeTo, String streamPath) throws IOException - Throws:
IOException
-
search
- Throws:
IOException
-