liquibase.integration.spring
Class SpringLiquibase.SpringResourceOpener

java.lang.Object
  extended by liquibase.integration.spring.SpringLiquibase.SpringResourceOpener
All Implemented Interfaces:
ResourceAccessor
Enclosing class:
SpringLiquibase

public class SpringLiquibase.SpringResourceOpener
extends java.lang.Object
implements ResourceAccessor


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

Constructor Detail

SpringLiquibase.SpringResourceOpener

public SpringLiquibase.SpringResourceOpener(java.lang.String parentFile)
Method Detail

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String file)
                                        throws java.io.IOException
Specified by:
getResourceAsStream in interface ResourceAccessor
Throws:
java.io.IOException

getResources

public java.util.Enumeration<java.net.URL> getResources(java.lang.String packageName)
                                                 throws java.io.IOException
Specified by:
getResources in interface ResourceAccessor
Throws:
java.io.IOException

getResource

public org.springframework.core.io.Resource getResource(java.lang.String file)

isClasspathPrefixPresent

public boolean isClasspathPrefixPresent(java.lang.String file)

toClassLoader

public java.lang.ClassLoader toClassLoader()
Specified by:
toClassLoader in interface ResourceAccessor


Copyright © 2010 Liquibase.org. All Rights Reserved.