public class FileSource extends DisposableFileSupport<FileSource>
file
label
Constructor and Description |
---|
FileSource() |
Modifier and Type | Method and Description |
---|---|
void |
appendToFile(java.lang.String contents) |
void |
cleanup()
Free up resources that this fixture may have created.
|
protected java.lang.String |
toDSL()
Returns a representation of the module suitable for inclusion in a stream definition, e.g.
file --dir=xxxx --name=yyyy |
makeTempDir, waitFor
label, toString
protected java.lang.String toDSL()
AbstractModuleFixture
file --dir=xxxx --name=yyyy
toDSL
in class AbstractModuleFixture<FileSource>
public void appendToFile(java.lang.String contents) throws java.io.IOException
java.io.IOException
public void cleanup()
Disposable
cleanup
in interface Disposable
cleanup
in class DisposableFileSupport<FileSource>