Interface ScriptResource
- All Known Implementing Classes:
StringScriptResource
Defines a script resource
-
Method Summary
-
Method Details
-
getName
Gets the name (path) of the resource- Returns:
- the name
-
getReader
Opens a reader to this resource- Returns:
- an open reader
- Throws:
IOException
- if an error occurs
-
getSize
long getSize()Returns the size of this resource- Returns:
- the size or -1 if not known
-