public class RemoteFileEntry extends BaseFileEntry
| Constructor and Description |
|---|
RemoteFileEntry(FileSystem fileSystem,
DirectoryEntry parent,
String name,
URL url)
Create a new file entry.
|
| 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 RemoteFileEntry(FileSystem fileSystem, DirectoryEntry parent, String name, URL url)
fileSystem - the owning file system.parent - the directory hosting the entry.name - the name of the entry.url - the content of the entry.public long getLastModified()
throws IOException
IOExceptionpublic long getSize()
throws IOException
IOExceptionpublic InputStream getInputStream() throws IOException
IOExceptionCopyright © 2009–2022 MojoHaus. All rights reserved.