public class ByteArrayResourceAccessor extends Object implements liquibase.resource.ResourceAccessor
ResourceAccessor which can be used to load the Liquibase XML changelog from a byte array.| Modifier and Type | Field and Description | 
|---|---|
protected byte[] | 
bytes  | 
protected liquibase.resource.ResourceAccessor | 
delegatingResourceAccessor
The delegating accessor that would be used for all resources, except the one with the defined  
path. | 
protected String | 
path  | 
| Constructor and Description | 
|---|
ByteArrayResourceAccessor(String path,
                         byte[] bytes)  | 
ByteArrayResourceAccessor(String path,
                         byte[] bytes,
                         liquibase.resource.ResourceAccessor delegatingResourceAccessor)  | 
| Modifier and Type | Method and Description | 
|---|---|
SortedSet<String> | 
describeLocations()  | 
SortedSet<String> | 
list(String relativeTo,
    String path,
    boolean includeFiles,
    boolean includeDirectories,
    boolean recursive)  | 
InputStream | 
openStream(String relativeTo,
          String streamPath)  | 
liquibase.resource.InputStreamList | 
openStreams(String relativeTo,
           String streamPath)  | 
protected final String path
protected final byte[] bytes
protected final liquibase.resource.ResourceAccessor delegatingResourceAccessor
path.public ByteArrayResourceAccessor(String path, byte[] bytes)
public ByteArrayResourceAccessor(String path, byte[] bytes, liquibase.resource.ResourceAccessor delegatingResourceAccessor)
public liquibase.resource.InputStreamList openStreams(String relativeTo, String streamPath) throws IOException
openStreams in interface liquibase.resource.ResourceAccessorIOExceptionpublic InputStream openStream(String relativeTo, String streamPath) throws IOException
openStream in interface liquibase.resource.ResourceAccessorIOExceptionpublic SortedSet<String> describeLocations()
describeLocations in interface liquibase.resource.ResourceAccessorpublic SortedSet<String> list(String relativeTo, String path, boolean includeFiles, boolean includeDirectories, boolean recursive) throws IOException
list in interface liquibase.resource.ResourceAccessorIOException