Package org.opennms.core.schema
Class ExistingResourceAccessor
- java.lang.Object
-
- org.opennms.core.schema.ExistingResourceAccessor
-
- All Implemented Interfaces:
liquibase.resource.ResourceAccessor
public class ExistingResourceAccessor extends Object implements liquibase.resource.ResourceAccessor
-
-
Constructor Summary
Constructors Constructor Description ExistingResourceAccessor()
ExistingResourceAccessor(org.springframework.core.io.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<InputStream>
getResourcesAsStream(String path)
Set<String>
list(String relativeTo, String path, boolean includeFiles, boolean includeDirectories, boolean recursive)
ClassLoader
toClassLoader()
String
toString()
-
-
-
Method Detail
-
getResourcesAsStream
public Set<InputStream> getResourcesAsStream(String path) throws IOException
- Specified by:
getResourcesAsStream
in interfaceliquibase.resource.ResourceAccessor
- Throws:
IOException
-
list
public Set<String> list(String relativeTo, String path, boolean includeFiles, boolean includeDirectories, boolean recursive) throws IOException
- Specified by:
list
in interfaceliquibase.resource.ResourceAccessor
- Throws:
IOException
-
toClassLoader
public ClassLoader toClassLoader()
- Specified by:
toClassLoader
in interfaceliquibase.resource.ResourceAccessor
-
-