adding a dumb system io piping thingy

This commit is contained in:
Dan Buch 2010-11-24 19:34:45 -05:00
parent 5f75a83bd4
commit 0389c1f970

View File

@ -0,0 +1,14 @@
package com.meatballhat.learningjava;
import java.io.IOException;
public final class CleanPipe {
public static void main(String[] argv) throws IOException {
int c;
while((c = System.in.read()) != -1) {
System.out.write(c);
}
}
}