Represents any output that can be used as binary output.
A sub-trait for binary output which can only be created
from a stream or a file, not from a java.io.Writer
instance
or from a StringBuilder
.
A sub-trait for binary output which can only be created
from a stream or a file, not from a java.io.Writer
instance
or from a StringBuilder
.
Most renderers write character data, but formats like PDF would require a binary stream to write to.
Creates a new Output instance for the specified StringBuilder.
Creates a new Output instance for the specified file.
Creates a new Output instance for the specified file.
the file to use as output
the character encoding of the file, if not specified the platform default will be used.
Creates a new Output instance for the file with the specified name.
Creates a new Output 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 Output instance for the specified OutputStream.
Creates a new Output instance for the specified OutputStream.
the stream to write to
the (potentially virtual) path of the output target
the character encoding to use for producing the bytes, if not specified the platform default will be used.
Creates a new Output instance for the specified Writer.
Factory methods for creating Output instances from different types of IO resources.