public static final class DirectoryInventory.InvEntry extends Object implements Serializable
| Constructor and Description |
|---|
InvEntry(String name,
int size,
long lastModified,
byte[] md5hash) |
InvEntry(String name,
int size,
long lastModified,
byte[] md5hash,
DirectoryInventory.InvEntry[] children) |
| Modifier and Type | Method and Description |
|---|---|
DirectoryInventory.InvEntry[] |
getChildren() |
long |
getLastModified() |
byte[] |
getMd5hash() |
String |
getName() |
int |
getSize() |
boolean |
isDirectory() |
<R> R |
visit(FunctionEx<DirectoryInventory.InvEntry,R> consumer) |
public InvEntry(@Nonnull String name, int size, long lastModified, @Nonnull byte[] md5hash)
public InvEntry(@Nonnull String name, int size, long lastModified, @Nonnull byte[] md5hash, @Nonnull DirectoryInventory.InvEntry[] children)
public boolean isDirectory()
public long getLastModified()
public int getSize()
@Nonnull public byte[] getMd5hash()
@Nullable public DirectoryInventory.InvEntry[] getChildren()
@Nullable public <R> R visit(@Nonnull FunctionEx<DirectoryInventory.InvEntry,R> consumer) throws Exception
ExceptionCopyright © 2017 etc.to. All rights reserved.