Redirecting you to http://java.sun.com/developer/technicalArticles/Streams/WritingIOSC/