public class Utility extends Object
Constructor and Description |
---|
Utility() |
public static void warn(String s)
public static void warn(Exception e)
public PROV_NParser getParserForFile(String file) throws IOException
IOException
public PROV_NParser getParserForStream(InputStream is) throws IOException
IOException
public PROV_NParser getParserForCharStream(org.antlr.runtime.CharStream input) throws IOException
IOException
public org.antlr.runtime.tree.CommonTree convertASNToTree(String file) throws IOException, org.antlr.runtime.RecognitionException
IOException
org.antlr.runtime.RecognitionException
public org.antlr.runtime.tree.CommonTree convertASNToTree(InputStream is) throws IOException, org.antlr.runtime.RecognitionException
IOException
org.antlr.runtime.RecognitionException
public Object convertTreeToJavaBean(org.antlr.runtime.tree.CommonTree tree, ProvFactory pFactory)
public String convertBeanToHTML(Document doc, ProvFactory pFactory)
public Object convertASNToJavaBean(String file, ProvFactory pFactory) throws IOException, org.antlr.runtime.RecognitionException
IOException
org.antlr.runtime.RecognitionException
public Object convertJavaBeanToJavaBean(Document doc, ProvFactory pFactory)
public String convertBeanToASN(Document doc, ProvFactory pFactory)
public void convertBeanToASN(Document doc, Writer writer, ProvFactory pFactory)
public void printTree(org.antlr.runtime.tree.CommonTree t, int indent)
public void writeDocument(Document doc, String filename, ProvFactory pFactory)
public void writeDocument(Document doc, OutputStream os, ProvFactory pFactory)
public Document readDocument(String filename, ProvFactory pFactory) throws IOException, Throwable
IOException
Throwable
public Document readDocument(InputStream is, ProvFactory pFactory) throws IOException, Throwable
IOException
Throwable
Copyright © 2016. All rights reserved.