org.opennms.core.schema
Class ExistingResourceAccessor

java.lang.Object
  extended by org.opennms.core.schema.ExistingResourceAccessor
All Implemented Interfaces:
liquibase.resource.ResourceAccessor

public class ExistingResourceAccessor
extends Object
implements liquibase.resource.ResourceAccessor


Constructor Summary
ExistingResourceAccessor()
           
ExistingResourceAccessor(org.springframework.core.io.Resource resource)
           
 
Method Summary
 InputStream getResourceAsStream(String file)
           
 Enumeration<URL> getResources(String packageName)
           
 ClassLoader toClassLoader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExistingResourceAccessor

public ExistingResourceAccessor()

ExistingResourceAccessor

public ExistingResourceAccessor(org.springframework.core.io.Resource resource)
Method Detail

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.