From 6d5b4a67e541b0f6e34247778f2c54e21cbebd74 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Mon, 30 Oct 2017 00:06:25 +0300 Subject: [PATCH] Implement String.format --- .../java/org/teavm/classlib/java/lang/TString.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/classlib/src/main/java/org/teavm/classlib/java/lang/TString.java b/classlib/src/main/java/org/teavm/classlib/java/lang/TString.java index cc0e252b4..2a3bc06d8 100644 --- a/classlib/src/main/java/org/teavm/classlib/java/lang/TString.java +++ b/classlib/src/main/java/org/teavm/classlib/java/lang/TString.java @@ -15,6 +15,7 @@ */ package org.teavm.classlib.java.lang; +import java.util.Locale; import org.teavm.classlib.java.io.TSerializable; import org.teavm.classlib.java.io.TUnsupportedEncodingException; import org.teavm.classlib.java.nio.TByteBuffer; @@ -23,6 +24,7 @@ import org.teavm.classlib.java.nio.charset.TCharset; import org.teavm.classlib.java.nio.charset.impl.TUTF8Charset; import org.teavm.classlib.java.util.TArrays; import org.teavm.classlib.java.util.TComparator; +import org.teavm.classlib.java.util.TFormatter; import org.teavm.classlib.java.util.THashMap; import org.teavm.classlib.java.util.TMap; import org.teavm.classlib.java.util.regex.TPattern; @@ -642,4 +644,12 @@ public class TString extends TObject implements TSerializable, TComparable