public interface IStreamConnector<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(T uri) |
boolean |
canWrite(T uri) |
boolean |
exist(T uri) |
long |
getContentLength(URI uri) |
String |
getContentType(URI uri) |
InputStream |
openInputStream(T uri) |
InputStream |
openInputStream(URI uri,
IAcceptor<String> contentTypeAcceptor) |
OutputStream |
openOutputStream(T uri) |
boolean exist(T uri)
boolean canRead(T uri)
boolean canWrite(T uri)
InputStream openInputStream(URI uri, IAcceptor<String> contentTypeAcceptor) throws IOException
IOExceptionInputStream openInputStream(T uri) throws IOException
IOExceptionOutputStream openOutputStream(T uri) throws IOException
IOExceptionlong getContentLength(URI uri) throws IOException
IOExceptionString getContentType(URI uri) throws IOException
IOExceptionCopyright © 2007–2019 Andreas W. Bartels. All rights reserved.