Class SHA1DigestFileEntry.Factory
java.lang.Object
org.codehaus.mojo.mrm.impl.digest.BaseDigestFileEntryFactory
org.codehaus.mojo.mrm.impl.digest.SHA1DigestFileEntry.Factory
- All Implemented Interfaces:
DigestFileEntryFactory
- Enclosing class:
SHA1DigestFileEntry
A
DigestFileEntryFactory
that creates SHA1 digest entries.- Since:
- 1.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(FileSystem fileSystem, DirectoryEntry parent, FileEntry entry) Creates a digest entry for the specified content within the specified directory of the file system.getType()
Returns the type of digest (i.e.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getType
Description copied from interface:DigestFileEntryFactory
Returns the type of digest (i.e. the file extension).- Returns:
- the type of digest (i.e. the file extension).
-
create
Description copied from interface:DigestFileEntryFactory
Creates a digest entry for the specified content within the specified directory of the file system.- Parameters:
fileSystem
- the file system the digest entry will be created in.parent
- the parent directory that the digest entry will belong to.entry
- the entry that the digest entry will digest.- Returns:
- a digest file entry.
-