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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExistingResourceAccessor
public ExistingResourceAccessor()
ExistingResourceAccessor
public ExistingResourceAccessor(org.springframework.core.io.Resource resource)
getResourceAsStream
public InputStream getResourceAsStream(String file)
throws IOException
- Specified by:
getResourceAsStream in interface liquibase.resource.ResourceAccessor
- Throws:
IOException
getResources
public Enumeration<URL> getResources(String packageName)
throws IOException
- Specified by:
getResources in interface liquibase.resource.ResourceAccessor
- Throws:
IOException
toClassLoader
public ClassLoader toClassLoader()
- Specified by:
toClassLoader in interface liquibase.resource.ResourceAccessor
Copyright © 2011. All Rights Reserved.