Class Format

    • Field Detail

      • format

        public static final Format format
    • Constructor Detail

      • Format

        public Format()
    • Method Detail

      • format

        public static void format​(Writer dst,
                                  Object[] args,
                                  int arg_offset)
      • formatToWriter

        public static void formatToWriter​(Writer dst,
                                          Object format,
                                          Object... vals)
      • formatToString

        public static String formatToString​(int arg_offset,
                                            Object... args)
      • formatToFString

        public static FString formatToFString​(char style,
                                              Object fmt,
                                              Object[] args)
        Apply format and argument, yielding an FString.
        Parameters:
        style - either '%' (C/Emacs-style format specifiers), or '~' (Common Lisp-style format specifiers).
        fmt - the format string or specification
        args - the arguments to be formatted