How can I get an input from another java program? I have one class that generates a random graph and writes it in the windows cmd console with System.out.println();
. What I want is this other class to read this output and use it to do some calculations. Both classes are working fine - all I need to know is how to get this output from the first class.
EDIT: I want this http://pastebin.com/GnsUZVht to read the output that this http://pastebin.com/cgXMCbgb do to put it back in a matrix.