RRLargeObjectDataProviderDirectory

Objective-C

@interface RRLargeObjectDataProviderDirectory
    : RRAbstractLargeObjectDataProvider

Swift

class RRLargeObjectDataProviderDirectory : RRAbstractLargeObjectDataProvider

Directory based implementation of the RRAbstractLargeObjectDataProvider class. This class will provide data from files within a given directory.

  • Creates a template config file that can then be edited manually. Use this method as a starting point when creating a custom config file.

    Declaration

    Objective-C

    - (nonnull instancetype)
           initWithConfig:(nonnull RRLargeObjectDataProviderDirectoryConfig *)config
        dataDirectoryPath:(nonnull NSString *)dataDirectoryPath;

    Swift

    init(config: RRLargeObjectDataProviderDirectoryConfig, dataDirectoryPath: String)

    Parameters

    config

    The RRLargeObjectDataProviderDirectoryConfig instance defining the available files and their corresponding resource IDs.

    dataDirectoryPath

    The directory that contains tha files specified in the provided config. If this string is empty, the paths within the config are interpreted as absolute paths, otherwise the paths of the config get appended to the provided dataDirectoryPath.