org.unitils.dbmaintainer.locator
Class ClassPathDataLocator

java.lang.Object
  extended by org.unitils.dbmaintainer.locator.ClassPathResourceLocator
      extended by org.unitils.dbmaintainer.locator.ClassPathDataLocator

public class ClassPathDataLocator
extends ClassPathResourceLocator

Refactor this class to work with a strategy class for choosing resources.

Since:
1.0.2
Author:
tdr

Field Summary
 
Fields inherited from class org.unitils.dbmaintainer.locator.ClassPathResourceLocator
resourceList
 
Constructor Summary
ClassPathDataLocator()
           
 
Method Summary
 InputStream getDataResource(String resourceName, ResourcePickingStrategie resourcePickingStrategie)
          The resources are loaded and than does the ResourcePickingStrategie the first filtering.
 
Methods inherited from class org.unitils.dbmaintainer.locator.ClassPathResourceLocator
loadResources, searchResources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathDataLocator

public ClassPathDataLocator()
Method Detail

getDataResource

public InputStream getDataResource(String resourceName,
                                   ResourcePickingStrategie resourcePickingStrategie)
The resources are loaded and than does the ResourcePickingStrategie the first filtering.
Possibilities:

Parameters:
resourceName -
resourcePickingStrategie -
Returns:
InputStream


Copyright © 2014. All Rights Reserved.