How to get the simple name of the ZipEntry?
<p>I would know if is it possible to get the simple name from a <code>ZipEntry</code>...</p>

<p>When I invoke the <code>getName()</code> of the Entry, I get a full path name.</p>

<p>I need get only the file's name.</p>

<p>Here I need get the simple name instead the full name with its root.</p>

<pre><code>public class ZipFileSample {

    public static void main(String[] args) {

        try {
            ZipFile zip = new ZipFile(new File("C:\\Users\\Levi\\Desktop\\jessica.zip"));

            for (Enumeration e = zip.entries(); e.hasMoreElements(); ) {
                ZipEntry entry = (ZipEntry) e.nextElement();
                //Here I need to get the simple name instead the full name with its root
                System.out.println(entry.getName());
            }

        } catch (ZipException e) {
            e.printStackTrace();

        } catch (IOException e) {
            e.printStackTrace();

        }

    }
}
</code></pre>
