List of usage examples for org.apache.commons.compress.archivers.tar TarArchiveEntry equals
public boolean equals(Object it)
From source file:org.eclipse.tracecompass.internal.tmf.ui.project.wizards.importtrace.TarFile.java
private static boolean skipToEntry(TarArchiveInputStream entryStream, TarArchiveEntry entry) throws IOException { TarArchiveEntry e = entryStream.getNextTarEntry(); while (e != null) { if (e.equals(entry)) { return true; }/*from w w w . ja va 2 s . com*/ e = entryStream.getNextTarEntry(); } return false; }