public abstract class InputStreamSource
extends java.lang.Object
InputStream
s. Can be opened repeatedly
to provide input streams over some data.
Static methods are provided to create instances from various inputs.
Constructor and Description |
---|
InputStreamSource() |
Modifier and Type | Method and Description |
---|---|
static InputStreamSource |
fromBytes(byte[] buffer) |
static InputStreamSource |
fromFilenameOrIRI(java.lang.String filenameOrIRI) |
static InputStreamSource |
fromFilenameOrIRI(java.lang.String filenameOrIRI,
com.hp.hpl.jena.util.FileManager fm) |
static InputStreamSource |
fromString(java.lang.String data) |
abstract java.io.InputStream |
open()
Opens an input stream over the input data.
|
public static InputStreamSource fromFilenameOrIRI(java.lang.String filenameOrIRI)
public static InputStreamSource fromFilenameOrIRI(java.lang.String filenameOrIRI, com.hp.hpl.jena.util.FileManager fm)
public static InputStreamSource fromBytes(byte[] buffer)
public static InputStreamSource fromString(java.lang.String data)
public abstract java.io.InputStream open() throws java.io.IOException
java.io.IOException