Package com.amazon.ion.impl
Class _Private_FastAppendableDecorator
java.lang.Object
com.amazon.ion.impl._Private_FastAppendableDecorator
- All Implemented Interfaces:
_Private_FastAppendable,Closeable,Flushable,Appendable,AutoCloseable
public abstract class _Private_FastAppendableDecorator
extends Object
implements _Private_FastAppendable, Closeable, Flushable
NOT FOR APPLICATION USE!
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(char c) append(CharSequence csq) append(CharSequence csq, int start, int end) voidappendAscii(char c) High performance method for appending an ASCII character.voidappendAscii(CharSequence csq) High performance method for appending a sequence of ASCII characters.voidappendAscii(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 Details
-
_Private_FastAppendableDecorator
-
-
Method Details
-
flush
- Specified by:
flushin interfaceFlushable- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
appendAscii
Description 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- Parameters:
c-- Throws:
IOException
-
appendAscii
Description 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- Parameters:
csq-- Throws:
IOException
-
appendAscii
Description 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- Parameters:
csq-start-end-- Throws:
IOException
-
appendUtf16
Description 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- Parameters:
c-- Throws:
IOException
-
appendUtf16Surrogate
Description 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- Parameters:
leadSurrogate-trailSurrogate-- Throws:
IOException
-