Interface CharacterOutput

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      void write​(char c)
      Writes a character.
      default void write​(char... chars)
      Writes an array of characters.
      void write​(char[] chars, int offset, int length)
      Writes a portion of an array of characters.
      default void write​(CharsWrapper cw)
      Writes all the characters in the given CharsWrapper.
      default void write​(java.lang.String s)
      Writes all the characters in the given String.
      void write​(java.lang.String s, int offset, int length)
      Writes a portion of a String.
    • Method Detail

      • write

        void write​(char c)
        Writes a character.
        Parameters:
        c - the character to write
      • write

        default void write​(char... chars)
        Writes an array of characters.
        Parameters:
        chars - the characters to write
      • write

        void write​(char[] chars,
                   int offset,
                   int length)
        Writes a portion of an array of characters.
        Parameters:
        chars - the characters to write
        offset - the index to start at
        length - the number of characters to write
      • write

        default void write​(java.lang.String s)
        Writes all the characters in the given String.
        Parameters:
        s - the string to write
      • write

        void write​(java.lang.String s,
                   int offset,
                   int length)
        Writes a portion of a String.
        Parameters:
        s - the string to write
        offset - the index to start at
        length - the number of characters to write
      • write

        default void write​(CharsWrapper cw)
        Writes all the characters in the given CharsWrapper.
        Parameters:
        cw - the CharsWrapper to write