classpath progress

This commit is contained in:
Joel Dice
2007-07-29 17:38:35 -06:00
parent a2bd7d0668
commit 5e336544f5
3 changed files with 44 additions and 0 deletions

View File

@ -22,6 +22,14 @@ public class PrintStream extends OutputStream {
} catch (IOException e) { }
}
public void print(Object o) {
print(o.toString());
}
public void print(char c) {
print(String.valueOf(c));
}
public synchronized void println(String s) {
try {
out.write(s.getBytes());
@ -36,6 +44,14 @@ public class PrintStream extends OutputStream {
if (autoFlush) flush();
} catch (IOException e) { }
}
public void println(Object o) {
println(o.toString());
}
public void println(char c) {
println(String.valueOf(c));
}
public void write(int c) throws IOException {
out.write(c);