ResolvingDataSource.Factory


public final class ResolvingDataSource.Factory implements DataSource.Factory


DataSource.Factory for ResolvingDataSource instances.

Summary

Public constructors

Factory(
    DataSource.Factory upstreamFactory,
    ResolvingDataSource.Resolver resolver
)

Public methods

ResolvingDataSource

Creates a DataSource instance.

Public constructors

Factory

public Factory(
    DataSource.Factory upstreamFactory,
    ResolvingDataSource.Resolver resolver
)
Parameters
DataSource.Factory upstreamFactory

The wrapped DataSource.Factory for handling resolved DataSpecs.

ResolvingDataSource.Resolver resolver

The Resolver to resolve the DataSpecs.

Public methods

createDataSource

public ResolvingDataSource createDataSource()

Creates a DataSource instance.