/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
PipedInputStream in = new PipedInputStream();
PipedOutputStream out = new PipedOutputStream();
Writer w = new Writer(out);
Read r = new Read(in);
in.connect(out);
new Thread(r).start();
new Thread(w).start();