1 22 package org.enhydra.multiServer.launch.capture; 23 import java.util.EventObject ; 24 25 32 public class PrintEvent extends EventObject { 33 public static final int OUTPUT = 0; 34 public static final int ERROR = 1; 35 private int type = OUTPUT; 36 private String string = new String (); 37 38 48 public PrintEvent(Object source, int t, String s) { 49 super(source); 50 type = t; 51 string = s; 52 } 53 54 62 public String getString() { 63 return string; 64 } 65 66 74 public int getType() { 75 return type; 76 } 77 78 } 79 | Popular Tags |