| Package | Description |
|---|---|
| com.github.restdriver.serverdriver.file |
| Modifier and Type | Method and Description |
|---|---|
static FileHelper.FileWithParametersBuilder |
FileHelper.fromFileWithParameters(String filename)
Reads in a resource from the class path and allow parameters in the
file to substituted with other strings.
|
static FileHelper.FileWithParametersBuilder |
FileHelper.fromFileWithParameters(String filename,
String encoding)
Reads in a resource from the class path and allow parameters in the
file to substituted with other strings.
|
FileHelper.FileWithParametersBuilder |
FileHelper.FileWithParametersBuilder.withParameter(String name,
String value)
Replace all instances of {{name}} in the file with value.
|
FileHelper.FileWithParametersBuilder |
FileHelper.FileWithParametersBuilder.withParameters(Map<String,String> parameters)
For all entries in parameters replace instances of the {{key}} with value
|
Copyright © 2013. All Rights Reserved.