InputSupplier<? extends InputStream>, use
InputSupplier<? extends Reader>, use
CharSource. Implementations of
InputSupplierthat don't fall into one of those categories do not benefit from any of the methods in
common.ioand should use a different interface. This interface is scheduled for removal in December 2015.
@Deprecated public interface InputSupplier<T>
T getInput() throws IOException
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.
Copyright © 2010-2014. All Rights Reserved.