H
HEP
Hello,
it is possible to do:
String pattern = ...;
DecimalFormat df = new DecimalFormat(pattern);
but is it possible to do the opposite like in:
df.setGroupingSize(3);
pattern = df.getPattern();
the "getPattern()" method does not exist, but maybe there is another way
to get it back. The reason is that we need to serialize this format in
our XML format, so i can't (don't want to) use the Java serializer since
it would require to modify our XML DTD.
Any idea? TIA
it is possible to do:
String pattern = ...;
DecimalFormat df = new DecimalFormat(pattern);
but is it possible to do the opposite like in:
df.setGroupingSize(3);
pattern = df.getPattern();
the "getPattern()" method does not exist, but maybe there is another way
to get it back. The reason is that we need to serialize this format in
our XML format, so i can't (don't want to) use the Java serializer since
it would require to modify our XML DTD.
Any idea? TIA