unsw.cse.mica.runner
Class RunnerUtils

java.lang.Object
  extended by unsw.cse.mica.runner.RunnerUtils

public class RunnerUtils
extends java.lang.Object

A bunch of useful odds and ends for the MicaRunner utility.

Author:
jhw

Constructor Summary
RunnerUtils()
           
 
Method Summary
static boolean getBooleanAtt(org.w3c.dom.Element element, java.lang.String att, java.lang.String obj, boolean defaultValue)
           
static java.lang.String getExceptionString(java.lang.Exception e)
           
static int getIntegerAtt(org.w3c.dom.Element element, java.lang.String att, java.lang.String obj, int defaultValue)
           
static java.lang.String getStringAtt(org.w3c.dom.Element element, java.lang.String att, java.lang.String obj, java.lang.String defaultValue)
           
static java.lang.String makeArrayString(java.lang.String[] arr)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunnerUtils

public RunnerUtils()
Method Detail

getExceptionString

public static java.lang.String getExceptionString(java.lang.Exception e)

makeArrayString

public static java.lang.String makeArrayString(java.lang.String[] arr)

getStringAtt

public static java.lang.String getStringAtt(org.w3c.dom.Element element,
                                            java.lang.String att,
                                            java.lang.String obj,
                                            java.lang.String defaultValue)

getIntegerAtt

public static int getIntegerAtt(org.w3c.dom.Element element,
                                java.lang.String att,
                                java.lang.String obj,
                                int defaultValue)

getBooleanAtt

public static boolean getBooleanAtt(org.w3c.dom.Element element,
                                    java.lang.String att,
                                    java.lang.String obj,
                                    boolean defaultValue)