mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
classlib: add PrintStream.printf
This commit is contained in:
parent
403da28830
commit
da0eb4e1e3
|
@ -269,6 +269,14 @@ public class TPrintStream extends TFilterOutputStream {
|
||||||
print('\n');
|
print('\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public TPrintStream printf(String format, Object... args) {
|
||||||
|
return format(format, args);
|
||||||
|
}
|
||||||
|
|
||||||
|
public TPrintStream printf(Locale locale, String format, Object... args) {
|
||||||
|
return format(locale, format, args);
|
||||||
|
}
|
||||||
|
|
||||||
public TPrintStream format(String format, Object... args) {
|
public TPrintStream format(String format, Object... args) {
|
||||||
return format(Locale.getDefault(), format, args);
|
return format(Locale.getDefault(), format, args);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user