org.codehaus.plexus.archiver
Interface ArchiveFile.Entry

All Known Implementing Classes:
TarEntry, ZipEntry
Enclosing interface:
ArchiveFile

public static interface ArchiveFile.Entry

Interfave of a archive file entry. An entry may be a file, or directory.


Method Summary
 long getLastModificationTime()
          Returns the time of the entries last modification.
 java.lang.String getName()
          Returns the entries name.
 long getSize()
          Returns the entries size.
 boolean isDirectory()
          Returns, whether the entry is a directory.
 

Method Detail

getName

java.lang.String getName()
Returns the entries name.


isDirectory

boolean isDirectory()
Returns, whether the entry is a directory.


getLastModificationTime

long getLastModificationTime()
Returns the time of the entries last modification.

Returns:
Modification time, or -1, if unknown.

getSize

long getSize()
Returns the entries size.

Returns:
File size; undefined for directories.


Copyright © 2001-2010 Codehaus. All Rights Reserved.