public class FileSink extends DisposableFileSupport<FileSink>
| Modifier and Type | Class and Description |
|---|---|
static class |
FileSink.FileSinkContentsMatcher
A matcher on the String contents of the sink, that delegates to another (String) matcher.
|
filelabel| Constructor and Description |
|---|
FileSink()
Create a file sink, but make sure that the future file is not present yet, so it can be waited upon with
getContents(). |
| Modifier and Type | Method and Description |
|---|---|
FileSink |
binary(boolean binary) |
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 |
cleanup, makeTempDir, waitForlabel, toStringpublic FileSink()
getContents().public FileSink binary(boolean binary)
protected java.lang.String toDSL()
AbstractModuleFixturefile --dir=xxxx --name=yyyytoDSL in class AbstractModuleFixture<FileSink>