FileOutputStream is for writing to a file;
BufferOutputStream writes to a buffer;
You can create one and pass it to any of the table writers, for example.
$create() factory methods instantiate the
OutputStream object and
take the following arguments, depending on the subclass:
FileOutputStream, a character file name
BufferOutputStream, the size in bytes of the
$tell(): return the position in the stream
$close(): close the stream
x to the stream
MockOutputStream, report how many bytes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.