public EntityImpl() throws Exception { factory = Outside.service(this, "gus.io.printstream.factory.multi.hist"); p1 = (PrintStream) factory.g(); ((P) p1).p(System.err); System.setErr(p1); }
public Object t(Object obj) throws Exception { Object[] o = (Object[]) obj; if (o.length != 2) throw new Exception("Wrong data number: " + o.length); obj = o[0]; if (obj == null) return Boolean.FALSE; if (!(obj instanceof String)) return Boolean.FALSE; return new Boolean(System.getProperties().containsKey((String) obj)); }