Interface Archive.Entry
-
- Enclosing interface:
- Archive
public static interface Archive.EntryEntry of an archive
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Archive.EntrygetChild(String name)Returns the child entry with the given name.Collection<? extends Archive.Entry>getChildren()Returns a collection of child entries.StringgetName()Returns the (file) name of the entrybooleanisDirectory()Returnstrueif the entry designates a directory.
-
-
-
Method Detail
-
isDirectory
boolean isDirectory()
Returnstrueif the entry designates a directory.- Returns:
trueif the entry designates a directory.
-
getChildren
@Nonnull Collection<? extends Archive.Entry> getChildren()
Returns a collection of child entries.- Returns:
- a collection of child entries.
-
getChild
@CheckForNull Archive.Entry getChild(@Nonnull String name)
Returns the child entry with the given name.- Parameters:
name- name of the child entry- Returns:
- the entry or
nullif does not exist.
-
-