Package org.codehaus.mojo.mrm.impl.maven
Class MetadataFileEntry
java.lang.Object
org.codehaus.mojo.mrm.api.AbstractEntry
org.codehaus.mojo.mrm.api.BaseFileEntry
org.codehaus.mojo.mrm.impl.maven.MetadataFileEntry
A file entry backed by
Metadata
in a ArtifactStore
.- Since:
- 1.0
-
Constructor Summary
ConstructorDescriptionMetadataFileEntry
(FileSystem fileSystem, DirectoryEntry parent, String path, ArtifactStore store) Creates a file entry for the specified parent directory of the specified file system that corresponds to the specified metadata in the specified artifact store and will have the namemaven-metadata.xml
. -
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
-
MetadataFileEntry
public MetadataFileEntry(FileSystem fileSystem, DirectoryEntry parent, String path, ArtifactStore store) Creates a file entry for the specified parent directory of the specified file system that corresponds to the specified metadata in the specified artifact store and will have the namemaven-metadata.xml
.- Parameters:
fileSystem
- the file system.parent
- the parent directory.path
- the path of the metadata.store
- the artifact store.- Since:
- 1.0
-
-
Method Details
-
getSize
- Throws:
IOException
-
getInputStream
- Throws:
IOException
-
getLastModified
- Throws:
IOException
-