Interface ResourceManager

  • All Known Implementing Classes:
    DefaultResourceManager

    public interface ResourceManager
    The ResourceManager API.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Method Detail

      • addResource

        void addResource​(Resource resource)
        Add the resource.
        Parameters:
        resource - the resource.
      • getResourceAsStream

        InputStream getResourceAsStream​(String location)
        Get the resource as a stream.
        Parameters:
        location - the location.
        Returns:
        the input stream, or null if not found.