Java analogous to Python os.path.expanduser / os.path.expandvars
<p>Is there such a thing as Python's <code>os.path.expanduser</code> and <code>os.path.expandvars</code> (<a href="http://docs.python.org/library/os.path.html" rel="nofollow">documentation</a>) in Java?</p>

<p>If not, is there a library somewhere that does this?</p>
