Class FilePathParser
java.lang.Object
net.thucydides.core.configuration.FilePathParser
public class FilePathParser
extends java.lang.Object
Builds a file path by substituting environment variables.
Supported environment variables include $HOME, $USERDIR and $DATADIR.
$DATADIR is provided by setting the serenity.data.dir environment property.
$TEMPDIR is a dynamically generated temporary directory that will be deleted after the tests, and that is created once for each test
-
Constructor Summary
Constructors Constructor Description FilePathParser(EnvironmentVariables environmentVariables) -
Method Summary
Modifier and Type Method Description static FilePathParserforEnvironmentVariables(EnvironmentVariables environmentVariables)protected java.lang.StringgetFileSeparator()protected java.lang.StringgetFileSeparatorToReplace()java.lang.StringgetInstanciatedPath(java.lang.String path)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FilePathParser
-
-
Method Details
-
forEnvironmentVariables
-
getInstanciatedPath
public java.lang.String getInstanciatedPath(java.lang.String path) -
getFileSeparator
protected java.lang.String getFileSeparator() -
getFileSeparatorToReplace
protected java.lang.String getFileSeparatorToReplace()
-