public class LinkFileEntry extends BaseFileEntry
FileEntry on a (possibly different) FileSystem.| Constructor and Description |
|---|
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 with
Entry.getName(). |
LinkFileEntry(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.
|
| 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 LinkFileEntry(FileSystem fileSystem, DirectoryEntry parent, FileEntry entry)
Entry.getName().fileSystem - the file system.parent - the parent directory.entry - the backing entry.public LinkFileEntry(FileSystem fileSystem, DirectoryEntry parent, String name, FileEntry entry)
fileSystem - the file system.parent - the parent directory.name - the name of the entry.entry - the backing entry.public long getLastModified()
throws IOException
IOExceptionpublic long getSize()
throws IOException
IOExceptionpublic InputStream getInputStream() throws IOException
IOExceptionCopyright © 2009–2022 MojoHaus. All rights reserved.