Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Java OutputStream Example

$
0
0
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
public void printLineInfo(java.io.OutputStream o) throws java.io.IOException {



Thank you very much for any help!

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>