Package org.codehaus.mojo.mrm.impl
Class LinkFileEntry
java.lang.Object
org.codehaus.mojo.mrm.api.AbstractEntry
org.codehaus.mojo.mrm.api.BaseFileEntry
org.codehaus.mojo.mrm.impl.LinkFileEntry
An entry backed by a
FileEntry
on a (possibly different) FileSystem
.- Since:
- 1.0
-
Constructor Summary
ConstructorDescriptionLinkFileEntry
(FileSystem fileSystem, DirectoryEntry parent, String name, FileEntry entry) Creates a new instance in the specified parent directory of the specified file system that backs the supplied entry named with the supplied name.LinkFileEntry
(FileSystem fileSystem, DirectoryEntry parent, FileEntry entry) Creates a new instance in the specified parent directory of the specified file system that backs the supplied entry named withEntry.getName()
. -
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
-
LinkFileEntry
Creates a new instance in the specified parent directory of the specified file system that backs the supplied entry named withEntry.getName()
.- Parameters:
fileSystem
- the file system.parent
- the parent directory.entry
- the backing entry.- Since:
- 1.0
-
LinkFileEntry
Creates a new instance in the specified parent directory of the specified file system that backs the supplied entry named with the supplied name.- Parameters:
fileSystem
- the file system.parent
- the parent directory.name
- the name of the entry.entry
- the backing entry.- Since:
- 1.0
-
-
Method Details
-
getLastModified
- Throws:
IOException
-
getSize
- Throws:
IOException
-
getInputStream
- Throws:
IOException
-