title: Reading in from System.in - Java
body: <p>I am not sure how you are supposed to read in from system input from a Java file.</p>
  
  <p>I want to be able to call <code>java myProg &lt; file</code></p>
  
  <p>Where file is what I want to be read in as a string and given to myProg in the main method.</p>
  
  <p>Any suggestions?</p>