public class NullAppendable
extends java.lang.Object
implements java.lang.Appendable
This Appendable has no destination (file/socket etc.) and all characters written to it are ignored and lost.
Modifier and Type | Field and Description |
---|---|
static NullAppendable |
INSTANCE
A singleton.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Appendable |
append(char c) |
java.lang.Appendable |
append(java.lang.CharSequence csq) |
java.lang.Appendable |
append(java.lang.CharSequence csq,
int start,
int end) |
public static final NullAppendable INSTANCE
public java.lang.Appendable append(char c) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public java.lang.Appendable append(java.lang.CharSequence csq) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public java.lang.Appendable append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
Copyright © 2010 - 2023 Adobe. All Rights Reserved