org.apidesign.vm4brwsr

## Interface Bck2Brwsr.Resources

- Enclosing class:
    Bck2Brwsr

      public static interface Bck2Brwsr.Resources

  Provider of resources (classes and other files). The `generator method` will call back here for all classes needed during translation to JavaScript.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `InputStream` | `get(String resource)` Loads given resource (class or other file like image).

- - ### Method Detail

    - #### get

          InputStream get(String resource)
                   throws IOException

      Loads given resource (class or other file like image). The resource name to load bytes for the `String` class would be `"java/lang/String.class"`.
      Parameters:
        `resource` - path to resource to load
      Returns:
        the input stream for the resource
      Throws:
        `IOException` - can be thrown if the loading fails on some error or the file cannot be found

Copyright © 2025 API Design. All Rights Reserved.