|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.mrm.api.BaseFileSystem
org.codehaus.mojo.mrm.impl.digest.AutoDigestFileSystem
public class AutoDigestFileSystem
A delegating file system that will automatically provide digests of any files that are missing digests from the backing file system.
| Constructor Summary | |
|---|---|
AutoDigestFileSystem(org.codehaus.mojo.mrm.api.FileSystem backing)
Creates an instance that will add SHA1 and MD5 digests to the backing file system for any entries that are missing digests. |
|
AutoDigestFileSystem(org.codehaus.mojo.mrm.api.FileSystem backing,
DigestFileEntryFactory[] digestFactories)
Creates an instance that will use the supplied DigestFileEntryFactorys to add any missing digests to the
backing file system. |
|
| Method Summary | |
|---|---|
org.codehaus.mojo.mrm.api.Entry |
get(String path)
|
long |
getLastModified(org.codehaus.mojo.mrm.api.DirectoryEntry entry)
|
org.codehaus.mojo.mrm.api.Entry[] |
listEntries(org.codehaus.mojo.mrm.api.DirectoryEntry directory)
|
| Methods inherited from class org.codehaus.mojo.mrm.api.BaseFileSystem |
|---|
get, getRoot, mkdir, put, put, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AutoDigestFileSystem(org.codehaus.mojo.mrm.api.FileSystem backing)
backing - the backing file system.
public AutoDigestFileSystem(org.codehaus.mojo.mrm.api.FileSystem backing,
DigestFileEntryFactory[] digestFactories)
DigestFileEntryFactorys to add any missing digests to the
backing file system.
backing - the backing file system.digestFactories - the digest factories.| Method Detail |
|---|
public org.codehaus.mojo.mrm.api.Entry[] listEntries(org.codehaus.mojo.mrm.api.DirectoryEntry directory)
public long getLastModified(org.codehaus.mojo.mrm.api.DirectoryEntry entry)
throws IOException
IOExceptionpublic org.codehaus.mojo.mrm.api.Entry get(String path)
get in interface org.codehaus.mojo.mrm.api.FileSystemget in class org.codehaus.mojo.mrm.api.BaseFileSystem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||