Package com.amazon.ion.impl
Class _Private_FastAppendableDecorator
- java.lang.Object
-
- com.amazon.ion.impl._Private_FastAppendableDecorator
-
- All Implemented Interfaces:
_Private_FastAppendable,java.io.Closeable,java.io.Flushable,java.lang.Appendable,java.lang.AutoCloseable
public abstract class _Private_FastAppendableDecorator extends java.lang.Object implements _Private_FastAppendable, java.io.Closeable, java.io.Flushable
NOT FOR APPLICATION USE!
-
-
Constructor Summary
Constructors Constructor Description _Private_FastAppendableDecorator(_Private_FastAppendable output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Appendableappend(char c)java.lang.Appendableappend(java.lang.CharSequence csq)java.lang.Appendableappend(java.lang.CharSequence csq, int start, int end)voidappendAscii(char c)High performance method for appending an ASCII character.voidappendAscii(java.lang.CharSequence csq)High performance method for appending a sequence of ASCII characters.voidappendAscii(java.lang.CharSequence csq, int start, int end)High performance method for appending a range in sequence of ASCII characters.voidappendUtf16(char c)High performance method for appending a UTF-16 non-surrogate character.voidappendUtf16Surrogate(char leadSurrogate, char trailSurrogate)High performance method for appending a UTF-16 surrogate pair.voidclose()voidflush()
-
-
-
Constructor Detail
-
_Private_FastAppendableDecorator
public _Private_FastAppendableDecorator(_Private_FastAppendable output)
-
-
Method Detail
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
append
public java.lang.Appendable append(char c) throws java.io.IOException- Specified by:
appendin interfacejava.lang.Appendable- Throws:
java.io.IOException
-
append
public java.lang.Appendable append(java.lang.CharSequence csq) throws java.io.IOException- Specified by:
appendin interfacejava.lang.Appendable- Throws:
java.io.IOException
-
append
public java.lang.Appendable append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException- Specified by:
appendin interfacejava.lang.Appendable- Throws:
java.io.IOException
-
appendAscii
public void appendAscii(char c) throws java.io.IOExceptionDescription copied from interface:_Private_FastAppendableHigh performance method for appending an ASCII character. METHOD DOESN'T VERIFY IF CHARACTER IS ASCII.- Specified by:
appendAsciiin interface_Private_FastAppendable- Throws:
java.io.IOException
-
appendAscii
public void appendAscii(java.lang.CharSequence csq) throws java.io.IOExceptionDescription copied from interface:_Private_FastAppendableHigh performance method for appending a sequence of ASCII characters. METHOD DOESN'T VERIFY IF CHARACTERS ARE ASCII.- Specified by:
appendAsciiin interface_Private_FastAppendable- Throws:
java.io.IOException
-
appendAscii
public void appendAscii(java.lang.CharSequence csq, int start, int end) throws java.io.IOExceptionDescription copied from interface:_Private_FastAppendableHigh performance method for appending a range in sequence of ASCII characters. METHOD DOESN'T VERIFY IF CHARACTERS ARE ASCII.- Specified by:
appendAsciiin interface_Private_FastAppendable- Throws:
java.io.IOException
-
appendUtf16
public void appendUtf16(char c) throws java.io.IOExceptionDescription copied from interface:_Private_FastAppendableHigh performance method for appending a UTF-16 non-surrogate character. METHOD DOESN'T VERIFY IF CHARACTER IS OR IS NOT SURROGATE.- Specified by:
appendUtf16in interface_Private_FastAppendable- Throws:
java.io.IOException
-
appendUtf16Surrogate
public void appendUtf16Surrogate(char leadSurrogate, char trailSurrogate) throws java.io.IOExceptionDescription copied from interface:_Private_FastAppendableHigh performance method for appending a UTF-16 surrogate pair. METHOD DOESN'T VERIFY IF LEAD AND TRAIL SURROGATES ARE VALID.- Specified by:
appendUtf16Surrogatein interface_Private_FastAppendable- Throws:
java.io.IOException
-
-