Houjie
2025-07-24 1bc8f80935add7215fa98de1ab8b375b222a2046
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
/**
 * Java Formatter class polyfill that works in the JS way.
 */
export default class Formatter {
    /**
     * The internal formatted value.
     */
    buffer: string;
    constructor();
    /**
     *
     * @see https://stackoverflow.com/a/13439711/4367683
     *
     * @param str
     * @param arr
     */
    private static form;
    /**
     *
     * @param append The new string to append.
     * @param args Argumets values to be formated.
     */
    format(append: string, ...args: any): void;
    /**
     * Returns the Formatter string value.
     */
    toString(): string;
}