001    package railo.commons.lang;
002    
003    import java.io.IOException;
004    import java.io.Writer;
005    
006    public final class DevNullCharBuffer extends CharBuffer {
007    
008            /**
009             * @see railo.commons.lang.CharBuffer#append(char[])
010             */
011            public void append(char[] c) {}
012            /**
013             * @see railo.commons.lang.CharBuffer#append(java.lang.String)
014             */
015            public void append(String str) {}
016            /**
017             * @see railo.commons.lang.CharBuffer#clear()
018             */
019            public void clear() {}
020            /**
021             * @see railo.commons.lang.CharBuffer#size()
022             */
023            public int size() {
024                    return 0;
025            }
026            /**
027             * @see railo.commons.lang.CharBuffer#toCharArray()
028             */
029            public char[] toCharArray() {
030                    return new char[0];
031            }
032            /**
033             * @see java.lang.Object#toString()
034             */
035            public String toString() {
036                    return "";
037            }
038            /**
039             * @see railo.commons.lang.CharBuffer#writeOut(java.io.Writer)
040             */
041            public void writeOut(Writer writer) throws IOException {}
042    }