A conversion specifier matched by m
in the string part at pos
,
with argc
arguments to interpolate.
Every part except the first must begin with a conversion for the arg that preceded it.
Every part except the first must begin with a conversion for the arg that preceded it. If the conversion is missing, "%s" is inserted.
In any other position, the only permissible conversions are the literals (%% and %n) or an index reference (%1$ or %<).
A conversion specifier has the form:
[index$][flags][width][.precision]conversion
1) "...${smth}" => okay, equivalent to "...${smth}%s" 2) "...${smth}blahblah" => okay, equivalent to "...${smth}%sblahblah" 3) "...${smth}%" => error 4) "...${smth}%n" => okay, equivalent to "...${smth}%s%n" 5) "...${smth}%%" => okay, equivalent to "...${smth}%s%%" 6) "...${smth}[%legalJavaConversion]" => okay* 7) "...${smth}[%illegalJavaConversion]" => error *Legal according to http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Formatter.html