Package org.codehaus.mojo.mrm.impl.maven
Class ArtifactFileEntry
java.lang.Object
org.codehaus.mojo.mrm.api.AbstractEntry
org.codehaus.mojo.mrm.api.BaseFileEntry
org.codehaus.mojo.mrm.impl.maven.ArtifactFileEntry
A file entry backed by a
Artifact in a ArtifactStore.- Since:
- 1.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedArtifactFileEntry(FileSystem fileSystem, DirectoryEntry parent, Artifact artifact, ArtifactStore store) Creates a file entry for the specified parent directory of the specified file system that corresponds to the specified artifact in the specified artifact store and will have the nameArtifact.getName(). -
Method Summary
Methods inherited from class org.codehaus.mojo.mrm.api.AbstractEntry
equals, getFileSystem, getName, getParent, hashCode, toPath, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.codehaus.mojo.mrm.api.Entry
getFileSystem, getName, getParent, toPath
-
Constructor Details
-
ArtifactFileEntry
protected ArtifactFileEntry(FileSystem fileSystem, DirectoryEntry parent, Artifact artifact, ArtifactStore store) Creates a file entry for the specified parent directory of the specified file system that corresponds to the specified artifact in the specified artifact store and will have the nameArtifact.getName().- Parameters:
fileSystem- the file system.parent- the parent directory.artifact- the artifact.store- the artifact store.- Since:
- 1.0
-
-
Method Details
-
getSize
- Throws:
IOException
-
getInputStream
- Throws:
IOException
-
getLastModified
- Throws:
IOException
-