Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.compress.archivers
Interface ArchiveEntry

All Known Implementing Classes:
  ArArchiveEntry, CpioArchiveEntry, JarArchiveEntry, TarArchiveEntry, ZipArchiveEntry

    public interface ArchiveEntry

Represents an entry of an archive.

Field Summary
`static long` | `SIZE_UNKNOWN` Special value indicating that the size is unknown

Method Summary
`Date` | `getLastModifiedDate()` The last modified date of the entry.
`String` | `getName()` The name of the entry in the archive.
`long` | `getSize()` The (uncompressed) size of the entry.
`boolean` | `isDirectory()` True if the entry refers to a directory

Field Detail

### SIZE_UNKNOWN

    static final long SIZE_UNKNOWN

  Special value indicating that the size is unknown

  See Also:
    Constant Field Values

Method Detail

### getName

    String getName()

  The name of the entry in the archive. May refer to a file or directory or other item

### getSize

    long getSize()

  The (uncompressed) size of the entry. May be -1 (SIZE_UNKNOWN) if the size is unknown

### isDirectory

    boolean isDirectory()

  True if the entry refers to a directory

### getLastModifiedDate

    Date getLastModifiedDate()

  The last modified date of the entry.

  Since:
    Apache Commons Compress 1.1

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 The Apache Software Foundation. All Rights Reserved.