Class TgzArchiveWrapper.TgzEntryWrapper
java.lang.Object
org.ctan.site.services.upload.util.archive.TgzArchiveWrapper.TgzEntryWrapper
- All Implemented Interfaces:
Archive.Entry
- Enclosing class:
TgzArchiveWrapper
The class
TgzEntryWrapper contains the wrapper for an entry.-
Constructor Summary
ConstructorsConstructorDescriptionTgzEntryWrapper(org.apache.commons.compress.archivers.tar.TarArchiveEntry entry) This is the constructor forZipEntry. -
Method Summary
Modifier and TypeMethodDescriptiongetName()The methodgetNameprovides means to get the name.booleanThe methodisDirectoryprovides means to determine the type.
-
Constructor Details
-
TgzEntryWrapper
public TgzEntryWrapper(org.apache.commons.compress.archivers.tar.TarArchiveEntry entry) This is the constructor forZipEntry.- Parameters:
entry- the wrapped entry
-
-
Method Details
-
getName
The methodgetNameprovides means to get the name.- Specified by:
getNamein interfaceArchive.Entry- Returns:
- the name
- See Also:
-
isDirectory
public boolean isDirectory()The methodisDirectoryprovides means to determine the type.- Specified by:
isDirectoryin interfaceArchive.Entry- Returns:
- true iff the entry is a directory
- See Also:
-