Interface InputSupplier<T>

All Known Implementing Classes:
ByteSource, CharSource

@Deprecated(since="2022-12-01") public interface InputSupplier<T>
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
A factory for readable streams of bytes or characters.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns an object that encapsulates a readable resource.
  • Method Details

    • getInput

      T getInput() throws IOException
      Deprecated.
      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.

      Throws:
      IOException