|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zuss.FileLocator
public class FileLocator
A file-based locator.
Constructor Summary | |
---|---|
FileLocator(java.io.File dir,
java.lang.String charset)
Construct a file locator. |
Method Summary | |
---|---|
java.io.Reader |
getResource(java.lang.String name)
Returns the resource of the given name, or null if not found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileLocator(java.io.File dir, java.lang.String charset)
dir
- the directory. If null, the current directory is assumed.Method Detail |
---|
public java.io.Reader getResource(java.lang.String name) throws java.io.IOException
Locator
getResource
in interface Locator
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |