@Test public void empty() throws Exception { File file = folder.newFile("testing"); try (StreamDrainDriver<StringBuilder> driver = new StreamDrainDriver<>( "streaming", "testing", wrap(new FileOutputStreamProvider(file)), new StringBuilderSupport())) { driver.prepare(); } test(file); }
@Override public void prepare() throws IOException { prepareNextStream(); }
StreamDrainDriver implements DrainDriver<T> { @Override public void prepare() throws IOException { prepareNextStream(); } }
StreamDrainDriver implements DrainDriver<T> { @Override public void prepare() throws IOException { prepareNextStream(); } StreamDrainDriver(
            String resourceName,
            String processName,
            OutputStreamProvider streamProvider,
            DataModelStreamSupport<? super T> streamSupport); }
StreamDrainDriver implements DrainDriver<T> { @Override public void prepare() throws IOException { prepareNextStream(); } StreamDrainDriver(
            String resourceName,
            String processName,
            OutputStreamProvider streamProvider,
            DataModelStreamSupport<? super T> streamSupport); @Override void prepare(); @Override void put(T object); @Override void close(); }
StreamDrainDriver implements DrainDriver<T> { @Override public void prepare() throws IOException { prepareNextStream(); } StreamDrainDriver(
            String resourceName,
            String processName,
            OutputStreamProvider streamProvider,
            DataModelStreamSupport<? super T> streamSupport); @Override void prepare(); @Override void put(T object); @Override void close();  }