title: Parsing /proc/mounts in Java
body: <p>I am trying to parse the results of running <code>cat /proc/mounts</code> in a Linux environment.</p>
  
  <p>When mounts contain special characters such as spaces, they are escaped.  An example of this is</p>
  
  <p><code>/home/user/media\040/image.dd /media/dd ...</code>  where the \040 is actually a space.</p>
  
  <p>I am trying to parse this in java but do not want to write a manual parser as I have to believe this is done already and done more robustly than I would.  Is there a class which takes care of decoding this?  I found one or two octal decoders, but they don't work with text and octal intermingled.</p>