Represents any input that can be used as binary input.
A sub-trait for binary input which can only be created
from a stream or a file, not from a java.io.Reader
instance
or from a String
.
Creates a new Input instance for the specified classpath resource.
Creates a new Input instance for the specified classpath resource.
the name of the resource on the classpath
the path of the document in the virtual tree
the character encoding of the input, if not specified the platform default will be used.
Creates a new Input instance for the specified file.
Creates a new Input instance for the specified file.
the file to use as input
the path of the document in the virtual tree
the character encoding of the file, if not specified the platform default will be used.
Creates a new Input instance for the specified file.
Creates a new Input instance for the specified file.
the file to use as input
the character encoding of the file, if not specified the platform default will be used.
Creates a new Input instance for the file with the specified name.
Creates a new Input instance for the file with the specified name.
the name of the file
the character encoding of the file, if not specified the platform default will be used.
Creates a new Input instance for the specified Reader.
Creates a new Input instance for the specified Reader.
the reader to read character data from
the (potentially virtual) path of the input source
Creates a new Input instance for the specified InputStream.
Creates a new Input instance for the specified InputStream.
the stream to read character data from
the (potentially virtual) path of the input source
the character encoding used by the text input, if not specified the platform default will be used.
Creates a new Input instance from the specified source string.
Creates a new Input instance from the specified source string.
the string to parse
the path of the document in the virtual tree
Factory methods for creating Input instances from different types of IO resources.