org.databene.benerator.anno
Class RelativePathResolver

java.lang.Object
  extended by org.databene.benerator.anno.AbstractPathResolver
      extended by org.databene.benerator.anno.RelativePathResolver
All Implemented Interfaces:
PathResolver

public class RelativePathResolver
extends AbstractPathResolver

PathResolver implementation which is based on a base path and appends the test classes' package name and finally the resource name (or path) itself to construct the resolved path.

Created: 12.12.2011 13:16:56

Since:
0.7.4
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.benerator.anno.AbstractPathResolver
basePath
 
Constructor Summary
RelativePathResolver()
           
RelativePathResolver(java.lang.String basePath)
           
 
Method Summary
 java.lang.String getPathFor(java.lang.String uri, java.lang.Class<?> testClass)
           
 java.lang.String toString()
           
 
Methods inherited from class org.databene.benerator.anno.AbstractPathResolver
getBasePath, normalizePath, setBasePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelativePathResolver

public RelativePathResolver()

RelativePathResolver

public RelativePathResolver(java.lang.String basePath)
Method Detail

getPathFor

public java.lang.String getPathFor(java.lang.String uri,
                                   java.lang.Class<?> testClass)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013. All Rights Reserved.