Interface InputSupplier<T>

All Known Subinterfaces:
AvatarSupplier, CacheableAvatarSupplier
All Known Implementing Classes:
AbstractAvatarSupplier, DelegatingCacheableAvatarSupplier, FilePartAvatarSupplier, ResourceAvatarSupplier
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface InputSupplier<T>
A readable source of type T.
Since:
9.5
  • Method Summary

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

    • open

      @NotNull T open() throws IOException
      Provides an object that encapsulates a readable resource. Each call to this method will produce a new object.
      Returns:
      object that encapsulates a readable resource.
      Throws:
      IOException - in case the readable resource could not be opened or read