public interface FileEntry extends Entry
Entry that corresponds to a file.| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Returns the contents of the entry.
|
long |
getSize()
Returns the size in bytes of the entry.
|
getFileSystem, getLastModified, getName, getParent, toPathlong getSize()
throws IOException
-1L if the length cannot be determined.IOException - if an I/O error occurs.InputStream getInputStream() throws IOException
InputStream (caller is responsible for closing).IOException - if an I/O error occurs.Copyright © 2009–2022 MojoHaus. All rights reserved.