Interface Archive.Entry
- All Known Implementing Classes:
TgzArchiveWrapper.TgzEntryWrapper,ZipArchiveWrapper.ZipEntryWrapper
- Enclosing interface:
Archive
public static interface Archive.Entry
The interface
Entry contains the wrapper definition for an
archive entry.-
Method Summary
Modifier and TypeMethodDescriptiongetName()The methodgetNameprovides means to get the name.The methodgetStreamprovides means to get the stream for this entry.booleanThe methodisDirectoryprovides means to determine the type.
-
Method Details
-
getName
String getName()The methodgetNameprovides means to get the name.- Returns:
- the name
-
getStream
InputStream getStream()The methodgetStreamprovides means to get the stream for this entry.- Returns:
- the stream
-
isDirectory
boolean isDirectory()The methodisDirectoryprovides means to determine the type.- Returns:
- true iff the entry is a directory
-