fipaos.util
Class DocumentRetriever
- public class DocumentRetriever
Method Summary |
static String | getDoc(String name) This method takes in the name of the documemt that is
to be retrieved and will either return the document if successful or
will return null after an exception is thrown. |
static String | getDocFromClasspath(String name) This varient of the getDoc method will attempt to load the given file from
a class-path entry |
static String | getDocFromFile(String name) This public getDoc method takes in the name of the documemt that is
to be retrieved and will either return the document if successful or
will return null after an exception is thrown. |
static String | getDocFromURL(String name) This public getDoc method takes in the name of the documemt that is
to be retrieved and will either return the document if successful or
will return null after an exception is thrown. |
static void | main(String[] args) |
getDoc
public static String getDoc(String name)
- This method takes in the name of the documemt that is
to be retrieved and will either return the document if successful or
will return null after an exception is thrown. This method attempts to use
the other getDocFromX() methods of this class to retrieve the given document
getDocFromClasspath
public static String getDocFromClasspath(String name)
- This varient of the getDoc method will attempt to load the given file from
a class-path entry
getDocFromFile
public static String getDocFromFile(String name)
- This public getDoc method takes in the name of the documemt that is
to be retrieved and will either return the document if successful or
will return null after an exception is thrown.
getDocFromURL
public static String getDocFromURL(String name)
- This public getDoc method takes in the name of the documemt that is
to be retrieved and will either return the document if successful or
will return null after an exception is thrown.
main
public static void main(String[] args)