| /* GENERATED SOURCE. DO NOT MODIFY. */ |
| // © 2022 and later: Unicode, Inc. and others. |
| // License & terms of use: https://www.unicode.org/copyright.html |
| |
| package android.icu.message2; |
| |
| import java.text.AttributedCharacterIterator; |
| |
| import android.icu.text.ConstrainedFieldPosition; |
| import android.icu.text.FormattedValue; |
| |
| /** |
| * Not yet implemented: The result of a message formatting operation. |
| * |
| * <p>This contains information about where the various fields and placeholders |
| * ended up in the final result.</p> |
| * <p>This class allows the result to be exported in several data types, |
| * including a {@link String}, {@link AttributedCharacterIterator}, more (TBD).</p> |
| * |
| * @deprecated This API is for ICU internal use only. |
| * @hide Only a subset of ICU is exposed in Android |
| * @hide draft / provisional / internal are hidden on Android |
| */ |
| @Deprecated |
| public class FormattedMessage implements FormattedValue { |
| |
| /** |
| * Not yet implemented. |
| * |
| * @deprecated This API is for ICU internal use only. |
| * @hide draft / provisional / internal are hidden on Android |
| */ |
| @Deprecated |
| public FormattedMessage() { |
| throw new RuntimeException("Not yet implemented."); |
| } |
| |
| /** |
| * Not yet implemented. |
| * |
| * {@inheritDoc} |
| * |
| * @deprecated This API is for ICU internal use only. |
| * @hide draft / provisional / internal are hidden on Android |
| */ |
| @Deprecated |
| @Override |
| public int length() { |
| throw new RuntimeException("Not yet implemented."); |
| } |
| |
| /** |
| * Not yet implemented. |
| * |
| * {@inheritDoc} |
| * |
| * @deprecated This API is for ICU internal use only. |
| * @hide draft / provisional / internal are hidden on Android |
| */ |
| @Deprecated |
| @Override |
| public char charAt(int index) { |
| throw new RuntimeException("Not yet implemented."); |
| } |
| |
| /** |
| * Not yet implemented. |
| * |
| * {@inheritDoc} |
| * |
| * @deprecated This API is for ICU internal use only. |
| * @hide draft / provisional / internal are hidden on Android |
| */ |
| @Deprecated |
| @Override |
| public CharSequence subSequence(int start, int end) { |
| throw new RuntimeException("Not yet implemented."); |
| } |
| |
| /** |
| * Not yet implemented. |
| * |
| * {@inheritDoc} |
| * |
| * @deprecated This API is for ICU internal use only. |
| * @hide draft / provisional / internal are hidden on Android |
| */ |
| @Deprecated |
| @Override |
| public <A extends Appendable> A appendTo(A appendable) { |
| throw new RuntimeException("Not yet implemented."); |
| } |
| |
| /** |
| * Not yet implemented. |
| * |
| * {@inheritDoc} |
| * |
| * @deprecated This API is for ICU internal use only. |
| * @hide draft / provisional / internal are hidden on Android |
| */ |
| @Deprecated |
| @Override |
| public boolean nextPosition(ConstrainedFieldPosition cfpos) { |
| throw new RuntimeException("Not yet implemented."); |
| } |
| |
| /** |
| * Not yet implemented. |
| * |
| * {@inheritDoc} |
| * |
| * @deprecated This API is for ICU internal use only. |
| * @hide draft / provisional / internal are hidden on Android |
| */ |
| @Deprecated |
| @Override |
| public AttributedCharacterIterator toCharacterIterator() { |
| throw new RuntimeException("Not yet implemented."); |
| } |
| } |