Interface FlowWriter

    • Method Detail

      • write

        boolean write​(Actor content,
                      File file)
        Writes the given content to the specified file.
        Parameters:
        content - the content to write
        file - the file to write to
        Returns:
        true if successfully written
      • write

        boolean write​(Actor content,
                      String filename)
        Writes the content to the given file.
        Parameters:
        content - the content to write
        filename - the file to write the content to
        Returns:
        true if successfully written
      • write

        boolean write​(Actor content,
                      OutputStream stream)
        Writes the content to the given output stream. The caller must ensure that the stream gets closed.
        Parameters:
        content - the content to write
        stream - the output stream to write the content to
        Returns:
        true if successfully written
      • write

        boolean write​(Actor content,
                      Writer writer)
        Writes the content to the given writer. The caller must ensure that the writer gets closed.
        Parameters:
        content - the content to write
        writer - the writer to write the content to
        Returns:
        true if successfully written
      • getCorrespondingReader

        FlowReader getCorrespondingReader()
        Returns the corresponding reader, if available.
        Returns:
        the reader, null if none available