summaryrefslogtreecommitdiff
path: root/icu4j/main/core/src/main/java/com/ibm/icu/message2/FormattedMessage.java
blob: 0bb0c442b584c3aa7fceefb13fc40bdcb9f6e3fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// © 2022 and later: Unicode, Inc. and others.
// License & terms of use: https://www.unicode.org/copyright.html

package com.ibm.icu.message2;

import java.text.AttributedCharacterIterator;

import com.ibm.icu.text.ConstrainedFieldPosition;
import com.ibm.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>
 *
 * @internal ICU 72 technology preview
 * @deprecated This API is for ICU internal use only.
 */
@Deprecated
public class FormattedMessage implements FormattedValue {

    /**
     * Not yet implemented.
     *
     * @internal ICU 72 technology preview
     * @deprecated This API is for ICU internal use only.
     */
    @Deprecated
    public FormattedMessage() {
        throw new RuntimeException("Not yet implemented.");
    }

    /**
     * Not yet implemented.
     *
     * {@inheritDoc}
     *
     * @internal ICU 72 technology preview
     * @deprecated This API is for ICU internal use only.
     */
    @Deprecated
    @Override
    public int length() {
        throw new RuntimeException("Not yet implemented.");
    }

    /**
     * Not yet implemented.
     *
     * {@inheritDoc}
     *
     * @internal ICU 72 technology preview
     * @deprecated This API is for ICU internal use only.
     */
    @Deprecated
    @Override
    public char charAt(int index) {
        throw new RuntimeException("Not yet implemented.");
    }

    /**
     * Not yet implemented.
     *
     * {@inheritDoc}
     *
     * @internal ICU 72 technology preview
     * @deprecated This API is for ICU internal use only.
     */
    @Deprecated
    @Override
    public CharSequence subSequence(int start, int end) {
        throw new RuntimeException("Not yet implemented.");
    }

    /**
     * Not yet implemented.
     *
     * {@inheritDoc}
     *
     * @internal ICU 72 technology preview
     * @deprecated This API is for ICU internal use only.
     */
    @Deprecated
    @Override
    public <A extends Appendable> A appendTo(A appendable) {
        throw new RuntimeException("Not yet implemented.");
    }

    /**
     * Not yet implemented.
     *
     * {@inheritDoc}
     *
     * @internal ICU 72 technology preview
     * @deprecated This API is for ICU internal use only.
     */
    @Deprecated
    @Override
    public boolean nextPosition(ConstrainedFieldPosition cfpos) {
        throw new RuntimeException("Not yet implemented.");
    }

    /**
     * Not yet implemented.
     *
     * {@inheritDoc}
     *
     * @internal ICU 72 technology preview
     * @deprecated This API is for ICU internal use only.
     */
    @Deprecated
    @Override
    public AttributedCharacterIterator toCharacterIterator() {
        throw new RuntimeException("Not yet implemented.");
    }
}