Interface DataRewinder.Factory<T>

Type Parameters:
T - The type of data that the DataRewinder will wrap.
All Known Implementing Classes:
ByteBufferRewinder.Factory, InputStreamRewinder.Factory, ParcelFileDescriptorRewinder.Factory
Enclosing interface:
DataRewinder<T>

public static interface DataRewinder.Factory<T>
A factory interface for producing individual DataRewinders.
  • Method Details

    • build

      @NonNull DataRewinder<T> build(@NonNull T data)
      Returns a new DataRewinder wrapping the given data.
    • getDataClass

      @NonNull Class<T> getDataClass()
      Returns the class of data this factory can produce DataRewinders for.