Uses of Record Class
io.github.connellite.format.CompiledFormat
Packages that use CompiledFormat
Package
Description
Internal {fmt}-style engine.
-
Uses of CompiledFormat in io.github.connellite.format
Methods in io.github.connellite.format that return CompiledFormatModifier and TypeMethodDescriptionstatic CompiledFormatFmt.compile(CharSequence pattern) Parses a template and returns a reusable compiled representation.Methods in io.github.connellite.format with parameters of type CompiledFormatModifier and TypeMethodDescriptionstatic StringFmt.format(CompiledFormat compiled, Object... args) Formats with a precompiled template using the current default locale.static StringFmt.format(Locale locale, CompiledFormat compiled, Object... args) Formats with a precompiled template and an explicit locale.static voidFmt.formatTo(Appendable out, CompiledFormat compiled, Object... args) Formats with a precompiled template and appends output using the default locale.static voidFmt.formatTo(Appendable out, Locale locale, CompiledFormat compiled, Object... args) Formats with a precompiled template and appends output with an explicit locale.static voidFmt.formatTo(Consumer<? super String> sink, CompiledFormat compiled, Object... args) Formats with a precompiled template and passes output chunks to a string sink.static voidFormats with a precompiled template and passes output chunks to a sink with explicit locale.static voidFmt.print(CompiledFormat compiled, Object... args) Formats with a precompiled template and prints toSystem.outwithout newline.static voidFmt.print(PrintStream out, CompiledFormat compiled, Object... args) Formats with a precompiled template and prints to aPrintStream.static voidFmt.print(PrintWriter out, CompiledFormat compiled, Object... args) Formats with a precompiled template and prints to aPrintWriter.static voidFmt.println(CompiledFormat compiled, Object... args) Formats with a precompiled template and prints toSystem.outwith newline.static voidFmt.println(PrintStream out, CompiledFormat compiled, Object... args) Formats with a precompiled template and prints to aPrintStreamwith newline.static voidFmt.println(PrintWriter out, CompiledFormat compiled, Object... args) Formats with a precompiled template and prints to aPrintWriterwith newline. -
Uses of CompiledFormat in io.github.connellite.format.internal
Methods in io.github.connellite.format.internal that return CompiledFormatModifier and TypeMethodDescriptionstatic CompiledFormatFormatEngine.compile(CharSequence pattern) Parsespatternwithout consulting the compile cache.static CompiledFormatFormatEngine.compileCached(CharSequence pattern) Same asFormatEngine.compile(java.lang.CharSequence), but reuses a previous result for patterns of at mostFormatEngine.MAX_CACHED_PATTERN_LENGTHcharacters.Methods in io.github.connellite.format.internal with parameters of type CompiledFormatModifier and TypeMethodDescriptionstatic StringFormatEngine.format(CompiledFormat compiled, Object[] args, Locale locale) static voidFormatEngine.formatTo(Appendable out, CompiledFormat compiled, Object[] args, Locale locale) static voidFormatEngine.formatTo(Consumer<? super String> sink, CompiledFormat compiled, Object[] args, Locale locale)