public interface StorageInputStream
InputStream
.Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
Obtains a new input stream for reading the file.
|
long |
getSize()
Obtains the file's size.
|
java.net.URI |
getURI()
Obtains the file's path.
|
java.net.URI getURI()
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
- if an I/O error occurslong getSize() throws java.io.IOException
java.io.IOException
- if an I/O error occurs