Interface ResourceParser.ResourceHandler

    • Method Detail

      • handleResource

        void handleResource​(ResourceParser.ResourceEntry entry,
                            long length,
                            java.io.InputStream stream)
        The callback that is executed when a resource of the type supported by this handler is encountered in a resource file.
        Parameters:
        entry - the information about this resource
        length - the length of the data stream
        stream - the data stream
      • getResourceType

        byte[] getResourceType()
        Get the resource type supported by this resource handler.
        Returns:
        the resource type supported by this handler