Class SHA1DigestFileEntry
java.lang.Object
org.codehaus.mojo.mrm.api.AbstractEntry
org.codehaus.mojo.mrm.api.BaseFileEntry
org.codehaus.mojo.mrm.impl.digest.SHA1DigestFileEntry
A
FileEntry
that corresponds to the SHA1 digest of another file entry.- Since:
- 1.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ADigestFileEntryFactory
that creates SHA1 digest entries. -
Constructor Summary
ConstructorDescriptionSHA1DigestFileEntry
(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. -
Method Summary
Methods inherited from class org.codehaus.mojo.mrm.api.AbstractEntry
equals, getFileSystem, getName, getParent, hashCode, toPath, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.codehaus.mojo.mrm.api.Entry
getFileSystem, getName, getParent, toPath
-
Constructor Details
-
SHA1DigestFileEntry
Creates an instance in the specified directory of the specified file system that will calculate the digest of the specified file entry.- Parameters:
fileSystem
- the file system.parent
- the parent directory.entry
- the entry to digest.- Since:
- 1.0
-
-
Method Details
-
getLastModified
- Throws:
IOException
-
getSize
- Throws:
IOException
-
getInputStream
- Throws:
IOException
-