| java.lang.Object com.rift.coad.lib.common.ResourceReader
ResourceReader | public class ResourceReader (Code) | | This object is responsible for loading in text resources stored within the
the class path.
author: Brett Chaldecott |
Method Summary | |
public String | getDocument() This method will return the document that has been loaded in by this
object. | public String | getPath() This method returns the path to the resource that has been loaded by this
class. |
ResourceReader | public ResourceReader(String path) throws Exception(Code) | | Creates a new instance of ResourceReader
Parameters: path - The path to the resource to read. |
ResourceReader | public ResourceReader(String path, ClassLoader classLoader) throws Exception(Code) | | Creates a new instance of ResourceReader
Parameters: path - The path to the resource to read. |
getDocument | public String getDocument()(Code) | | This method will return the document that has been loaded in by this
object.
The string containing the loaded document. |
getPath | public String getPath()(Code) | | This method returns the path to the resource that has been loaded by this
class.
The string containing the path to load in. |
|
|