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
- All Implemented Interfaces:
- Serializable, org.codehaus.mojo.mrm.api.Entry, org.codehaus.mojo.mrm.api.FileEntry
public class MetadataFileEntry
- extends org.codehaus.mojo.mrm.api.BaseFileEntry
A file entry backed by Metadata in a ArtifactStore.
- Since:
- 1.0
- See Also:
- Serialized Form
|
Constructor Summary |
MetadataFileEntry(org.codehaus.mojo.mrm.api.FileSystem fileSystem,
org.codehaus.mojo.mrm.api.DirectoryEntry parent,
String path,
org.codehaus.mojo.mrm.api.maven.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 name
maven-metadata.xml. |
| Methods inherited from class org.codehaus.mojo.mrm.api.AbstractEntry |
equals, getFileSystem, getName, getParent, hashCode, toPath, toString |
| Methods inherited from interface org.codehaus.mojo.mrm.api.Entry |
getFileSystem, getName, getParent, toPath |
MetadataFileEntry
public MetadataFileEntry(org.codehaus.mojo.mrm.api.FileSystem fileSystem,
org.codehaus.mojo.mrm.api.DirectoryEntry parent,
String path,
org.codehaus.mojo.mrm.api.maven.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 name
maven-metadata.xml.
- Parameters:
fileSystem - the file system.parent - the parent directory.path - the path of the metadata.store - the artifact store.- Since:
- 1.0
getSize
public long getSize()
throws IOException
-
- Throws:
IOException
getInputStream
public InputStream getInputStream()
throws IOException
-
- Throws:
IOException
getLastModified
public long getLastModified()
throws IOException
-
- Throws:
IOException
Copyright © 2009-2011 Codehaus. All Rights Reserved.