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 TypeMethodDescriptionvoid
close()
toString()
static TypedInputStream
wrap
(InputStream in) Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
Methods 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
-
toString
-