Package scriptella.spi
Interface Resource
- All Known Implementing Classes:
ContentEl,FallbackEl,IncludeEl,StringResource
public interface Resource
Represents reference to a text resource capable of creating new readers.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Method Summary
-
Method Details
-
open
Opens a resource and returns a content reader.The returned reader implementation should be effective enough to allow usage without extra buffering, etc.
- Returns:
- resource content reader
- Throws:
IOException- if I/O error occurs.
-
toString
String toString()
-