Interface Archive.Entry
- Enclosing interface:
- Archive
public static interface Archive.Entry
Entry of an archive
-
Method Summary
Modifier and TypeMethodDescription@Nullable Archive.EntryReturns the child entry with the given name.@NotNull Collection<? extends Archive.Entry>Returns a collection of child entries.@NotNull StringgetName()Returns the (file) name of the entrybooleanReturnstrueif the entry designates a directory.
-
Method Details
-
getName
Returns the (file) name of the entry- Returns:
- the name
-
isDirectory
boolean isDirectory()Returnstrueif the entry designates a directory.- Returns:
trueif the entry designates a directory.
-
getChildren
Returns a collection of child entries.- Returns:
- a collection of child entries.
-
getChild
Returns the child entry with the given name.- Parameters:
name- name of the child entry- Returns:
- the entry or
nullif does not exist.
-