Package org.zkoss.zats.mimic
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 TypeMethodDescriptionOpen and return a input stream for the resource.getName()The resource name.
-
Method Details
-
getName
String getName()The resource name.- Returns:
- name string.
-
getInputStream
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
-