Guava: Google Core Libraries for Java 13.0.1-redhat-1

com.google.common.io
Interface OutputSupplier<T>


public interface OutputSupplier<T>

A factory for writable streams of bytes or characters.

Since:
1.0
Author:
Chris Nokleberg

Method Summary
 T getOutput()
          Returns an object that encapsulates a writable resource.
 

Method Detail

getOutput

T getOutput()
            throws IOException
Returns an object that encapsulates a writable resource.

Like Iterable.iterator(), this method may be called repeatedly to get independent channels to the same underlying resource.

Where the channel maintains a position within the resource, moving that cursor within one channel should not affect the starting position of channels returned by other calls.

Throws:
IOException

Guava: Google Core Libraries for Java 13.0.1-redhat-1

Copyright © 2010-2013 JBoss by Red Hat. All Rights Reserved.