Hi everyone! I need to use the java.io.OutputStream in a print method to accept a file input and then print it out. The whole program that I have to do is quite complicated so I was wondering if somebody would be willing to show me an example of a print method that uses java.io.OutputStream to accept a file input and the prints out the information in the file in a table format. So for example, the method would be
Thank you very much for any help!
public void printLineInfo(java.io.OutputStream o) throws java.io.IOException {
Thank you very much for any help!