Resolves the location for a data set with a certain name.
By default, the data set name is prefixed with the package name (. replaced by /).
E.g. MyDataSet.xml becomes com/myPackage/MyDataSet.xml
If a data set name starts with a / it will not be prefixed with the package name.
E.g. /MyDataSet.xml remains /MyDataSet.xml
Package name prefixing can be disabled using the
PROPKEY_PREFIX_WITH_PACKAGE_NAME property.
prefixWithPackageName=false => MyDataSet.xml remains MyDataSet.xml
If a path prefix is specified using the
PROPKEY_DATA_SET_PATH_PREFIX property it is added to the file name.
Examples:
pathPrefix=myPathPrefix: MyDataSet.xml becomes myPathPrefix/org/unitils/test/MyDataSet.xml
pathPrefix=myPathPrefix: /MyDataSet.xml becomes myPathPrefix/MyDataSet.xml
If the path prefix with '/', the file name is treated absolute, else it will be treated relative to the classpath.
Examples:
path prefix /c:/datasets --> looks for c:/datasets/myDataSet.xml on the file system
path prefix datasets --> looks for datasets/myDataSet.xml on the classpath