Interface IResTableParserProvider

All Known Implementing Classes:
ResTableBinaryParserProvider

public interface IResTableParserProvider
Provides the resource table parser instance for specific resource table file format. Can be used in plugins via context.getResourcesLoader().addResTableParserProvider() to parse resources from tables in different formats.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable IResTableParser
    Checks a file format and provides the instance if the format is expected.
    default void
    init(RootNode root)
    Optional init method
  • Method Details

    • init

      default void init(RootNode root)
      Optional init method
    • getParser

      @Nullable @Nullable IResTableParser getParser(ResourceFile resFile)
      Checks a file format and provides the instance if the format is expected.
      Returns:
      IResTableParser if resource table is of expected format, null otherwise.