Ejemplo n.º 1
0
  public void validateArrLines() throws Exception {

    String err = "";
    err += Worker.validateAndCreateMMSs(arrMMSLines);
    err += Worker.validateAndCreateBrowsers(arrBrowserLines);
    err += Worker.validateAndCreateJavaApps(arrJavaAppLines);
    err += Worker.validateAndCreateIMs(arrIMLines);

    if (err.length() > 0) {
      throw new Exception(err);
    }
  }
Ejemplo n.º 2
0
 public static void main(String[] args) {
   String str = "I lived in beijing. i want to eat an apple! what about you?";
   Worker w = new Worker(str, null);
   w.test();
 }