Module net.anwiba.commons.reference
Package net.anwiba.commons.reference.io
Interface IStreamConnector<T>
- All Known Implementing Classes:
UrlStreamConnector
public interface IStreamConnector<T>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanlonggetContentLength(T uri) getContentType(T uri) default booleanisApplicable(T uri) openInputStream(T uri) openInputStream(T uri, IAcceptor<String> contentTypeAcceptor) openOutputStream(T uri)
-
Method Details
-
exist
-
canRead
-
canWrite
-
openInputStream
- Throws:
IOException
-
openInputStream
- Throws:
IOException
-
openOutputStream
- Throws:
IOException
-
getContentLength
- Throws:
IOException
-
getContentType
- Throws:
IOException
-
isApplicable
-