public class MD5DigestFileEntry extends BaseFileEntry
FileEntry that corresponds to the MD5 digest of another file entry.| Modifier and Type | Class and Description |
|---|---|
static class |
MD5DigestFileEntry.Factory
A
DigestFileEntryFactory that creates MD5 digest entries. |
| Constructor and Description |
|---|
MD5DigestFileEntry(FileSystem fileSystem,
DirectoryEntry parent,
FileEntry entry)
Creates an instance in the specified directory of the specified file system that will calculate the
digest of the specified file entry.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
long |
getLastModified() |
long |
getSize() |
equals, getFileSystem, getName, getParent, hashCode, toPath, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFileSystem, getName, getParent, toPathpublic MD5DigestFileEntry(FileSystem fileSystem, DirectoryEntry parent, FileEntry entry)
fileSystem - the file system.parent - the parent directory.entry - the entry to digest.public long getLastModified()
throws IOException
IOExceptionpublic long getSize()
throws IOException
IOExceptionpublic InputStream getInputStream() throws IOException
IOExceptionCopyright © 2009–2022 MojoHaus. All rights reserved.