Interface InputSupplier<T>

  • All Known Implementing Classes:
    ByteSource, CharSource

    public interface InputSupplier<T>
    A factory for readable streams of bytes or characters.
    • Method Detail

      • getInput

        T getInput()
        Returns an object that encapsulates a readable 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.