/** * This method is overridden to use the archive file's canonical path as the base path of this entry file. */ @Override public String getCanonicalPath() { // Use the archive file's canonical path and append the entry's relative path to it return archiveFile.getCanonicalPath(true)+getRelativeEntryPath(); }
/** * This method is overridden to use the archive file's absolute path as the base path of this entry file. */ @Override public String getAbsolutePath() { // Use the archive file's absolute path and append the entry's relative path to it return archiveFile.getAbsolutePath(true)+getRelativeEntryPath(); }