Uses of Class
java.text.Format
-
Uses of Format in java.text
Subclasses of Format in java.text Modifier and Type Class Description classChoiceFormatReturns a fixed string based on a numeric value.classDateFormatFormats or parses dates and times.classDecimalFormatA concrete subclass ofNumberFormatthat formats decimal numbers.classMessageFormatProduces concatenated messages in language-neutral way.classNumberFormatThe abstract base class for all number formats.classSimpleDateFormatFormats and parses dates in a locale-sensitive manner.Methods in java.text that return Format Modifier and Type Method Description Format[]MessageFormat. getFormats()Returns theFormatinstances used by this message format.Format[]MessageFormat. getFormatsByArgumentIndex()Returns the formats used for each argument index.Methods in java.text with parameters of type Format Modifier and Type Method Description voidMessageFormat. setFormat(int offset, Format format)Sets the specified format used by this message format.voidMessageFormat. setFormatByArgumentIndex(int argIndex, Format format)Sets the format used for the argument at indexargIndextoformat.voidMessageFormat. setFormats(Format[] formats)Sets the formats used by this message format.voidMessageFormat. setFormatsByArgumentIndex(Format[] formats)Sets the formats used for each argument.