Class Snippet.Buffer.SnippetWriter.Truncated

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable
    Enclosing class:
    Snippet.Buffer.SnippetWriter

    class Snippet.Buffer.SnippetWriter.Truncated
    extends Snippet.PassthroughWriter
    Signifies the last write was not completely written and there was no more space for this or future writes.
    • Field Summary

      • Fields inherited from class java.io.Writer

        lock
    • Constructor Summary

      Constructors 
      Constructor Description
      Truncated()  
    • Constructor Detail

      • Truncated

        Truncated()
    • Method Detail

      • write

        public void write​(char[] cbuf,
                          int off,
                          int len)
                   throws java.io.IOException
        Specified by:
        write in class java.io.Writer
        Throws:
        java.io.IOException