Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package jason.util;
 
Convert an agent asl code to HTML.

Author(s):
Jomi
public class asl2html extends asl2xml {
    String style = "/xml/asl2html.xsl";
    
    public asl2html() {}
    public asl2html(String style) {
        this. = style;
    }
    
    public static void main(String[] argsthrows Exception {
        if (args.length != 1) {
            ..println("The asl code file must be informed");
            System.exit(1);
        }
        new asl2html().run(args[0]);
    }
    public Transformer getTransformer()  throws Exception {
        if ( == null) {
             = getFactory().newTransformer(
                    new StreamSource(asl2html.class.getResource().openStream()));
        }
        return ;
    }
New to GrepCode? Check out our FAQ X