java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.jena.atlas.web.TypedInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionTypedInputStream(InputStream in, String contentType) TypedInputStream(InputStream in, ContentType ct) TypedInputStream(InputStream in, ContentType ct, String baseURI) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()toString()static TypedInputStreamwrap(InputStream in) Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
TypedInputStream
-
TypedInputStream
-
TypedInputStream
-
-
Method Details
-
wrap
-
getContentType
-
getCharset
-
getMediaType
-
getBaseURI
-
getInputStream
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream
-
toString
-