Class versResourceHandler

    • Constructor Detail

      • versResourceHandler

        public versResourceHandler()
    • Method Detail

      • handleResource

        public void handleResource​(ResourceParser.ResourceEntry entry,
                                   long length,
                                   java.io.InputStream stream)
        Description copied from interface: ResourceParser.ResourceHandler
        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
      • dumpInputStreamAsBytes

        public static void dumpInputStreamAsBytes​(java.io.InputStream stream,
                                                  java.io.PrintStream ps)
                                           throws java.io.IOException
        Throws:
        java.io.IOException