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 @Nullable Archive.EntrygetChild(@NotNull String name)Returns the child entry with the given name.@NotNull Collection<? extends Archive.Entry>getChildren()Returns a collection of child entries.@NotNull StringgetName()Returns the (file) name of the entrybooleanisDirectory()Returnstrueif the entry designates a directory.
-
-
-
Method Detail
-
getName
@NotNull @NotNull String 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
@NotNull @NotNull Collection<? extends Archive.Entry> getChildren()
Returns a collection of child entries.- Returns:
- a collection of child entries.
-
getChild
@Nullable @Nullable Archive.Entry getChild(@NotNull @NotNull 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.
-
-