java calculate pathname difference
<p>Is there an open source library that, given ...</p>

<pre><code>/a/b/c
/a/b/c/d/e
</code></pre>

<p>would return ../..</p>

<p>or for that matter given</p>

<pre><code>/a/b/c/d
/a/b/c/e
</code></pre>

<p>would return ../d</p>

<p>?</p>
