|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceLoader
ResourceLoader is used to locate and load stylesheets referenced with @include directive.
| Method Summary | |
|---|---|
boolean |
exists(String path)
Checks if the given resource exists. |
String |
load(String path,
String charset)
Loads the given resource's contents. |
| Method Detail |
|---|
boolean exists(String path)
throws IOException
path - resource path.
true if the resource exists.
IOException - when i/o error occurs while checking for resource existence.
String load(String path,
String charset)
throws IOException
path - resource path.charset - character set name, valid with respect to
Charset.
IOException - when i/o error occurs while loading the resource, or charset
is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||