Interface Resource


public interface Resource
The Resource interface. It provides some information about a resource and the input stream of it.
Since:
1.1.0
Author:
pao
  • Method Summary

    Modifier and Type
    Method
    Description
    Open and return a input stream for the resource.
    The resource name.
  • Method Details

    • getName

      String getName()
      The resource name.
      Returns:
      name string.
    • getInputStream

      InputStream getInputStream() throws IOException
      Open and return a input stream for the resource. The caller have to close the input-stream after the using of it.
      Returns:
      the input stream
      Throws:
      IOException