public class MetadataFileEntry extends BaseFileEntry
Metadata in a ArtifactStore.| Constructor and Description |
|---|
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 name
maven-metadata.xml. |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
long |
getLastModified() |
long |
getSize() |
equals, getFileSystem, getName, getParent, hashCode, toPath, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFileSystem, getName, getParent, toPathpublic MetadataFileEntry(FileSystem fileSystem, DirectoryEntry parent, String path, ArtifactStore store)
maven-metadata.xml.fileSystem - the file system.parent - the parent directory.path - the path of the metadata.store - the artifact store.public long getSize()
throws IOException
IOExceptionpublic InputStream getInputStream() throws IOException
IOExceptionpublic long getLastModified()
throws IOException
IOExceptionCopyright © 2009–2022 MojoHaus. All rights reserved.