edu.uci.isr.apigen
Class ApiGenUtils
java.lang.Object
edu.uci.isr.apigen.ApiGenUtils
- public class ApiGenUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApiGenUtils
public ApiGenUtils()
replaceTokens
public static String replaceTokens(String tokenedString,
TokenMap map)
openResource
public static Reader openResource(String resourceName)
openFile
public static Reader openFile(File f)
openFile
public static Reader openFile(String filename)
openURL
public static Reader openURL(String urlString)
openURL
public static Reader openURL(URL url)
parseToDocument
public static Document parseToDocument(Reader r)
throws SAXException,
IOException
- Throws:
SAXException
IOException
matches
public static boolean matches(Node n,
String namespaceURI,
String tagName)
expect
public static void expect(Node n,
String namespaceURI,
String tagName)
dumpNode
public static void dumpNode(Node n)