public class FileSource extends DisposableFileSupport<FileSource>
filelabel| 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, waitForlabel, toStringprotected java.lang.String toDSL()
AbstractModuleFixturefile --dir=xxxx --name=yyyytoDSL in class AbstractModuleFixture<FileSource>public void appendToFile(java.lang.String contents)
throws java.io.IOException
java.io.IOExceptionpublic void cleanup()
Disposablecleanup in interface Disposablecleanup in class DisposableFileSupport<FileSource>