Class StreamEventWriter

    • Constructor Detail

      • StreamEventWriter

        public StreamEventWriter​(File file)
                          throws IOException
        Constructs a new StreamEventWriter that writes to a file.
        Parameters:
        file - The file to write.
        Throws:
        IOException - If the file couldn't be opened.
      • StreamEventWriter

        public StreamEventWriter​(OutputStream os)
        Constructs a new StreamEventWriter that writes to a binary stream.
        Parameters:
        os - The stream to write.
      • StreamEventWriter

        public StreamEventWriter​(Writer writer)
        Constructs a new StreamEventWriter that writes to a character stream.
        Parameters:
        writer - The stream to write.