org.codehaus.mojo.mrm.impl.digest
Class SHA1DigestFileEntry.Factory

java.lang.Object
  extended by org.codehaus.mojo.mrm.impl.digest.BaseDigestFileEntryFactory
      extended by org.codehaus.mojo.mrm.impl.digest.SHA1DigestFileEntry.Factory
All Implemented Interfaces:
DigestFileEntryFactory
Enclosing class:
SHA1DigestFileEntry

public static class SHA1DigestFileEntry.Factory
extends BaseDigestFileEntryFactory

A DigestFileEntryFactory that creates SHA1 digest entries.

Since:
1.0

Constructor Summary
SHA1DigestFileEntry.Factory()
           
 
Method Summary
 org.codehaus.mojo.mrm.api.FileEntry create(org.codehaus.mojo.mrm.api.FileSystem fileSystem, org.codehaus.mojo.mrm.api.DirectoryEntry parent, org.codehaus.mojo.mrm.api.FileEntry entry)
          Creates a digest entry for the specified content within the specified directory of the file system.
 String getType()
          Returns the type of digest (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SHA1DigestFileEntry.Factory

public SHA1DigestFileEntry.Factory()
Method Detail

getType

public String getType()
Returns the type of digest (i.e. the file extension).

Returns:
the type of digest (i.e. the file extension).

create

public org.codehaus.mojo.mrm.api.FileEntry create(org.codehaus.mojo.mrm.api.FileSystem fileSystem,
                                                  org.codehaus.mojo.mrm.api.DirectoryEntry parent,
                                                  org.codehaus.mojo.mrm.api.FileEntry entry)
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.


Copyright © 2009-2011 Codehaus. All Rights Reserved.