Method format(Object obj)
Return type:
java.lang.String
Member of:
java.text.Format
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
String actual = complexFormat.format(c);
2
String actual = complexFormat.format(c);
3
tf_mask.setToolTipText(FileNameFormat.makeValidPathName(new FileNameFormat(tf_mask.getText()).format(controller.sampleJpeg)));
4
else setText(decimalFieldFormat.format(value));
5
String s = formatRoot.format (
6
String s = formatRoot.format (
7
tf_tooltipmask.setToolTipText(new FileNameFormat(tf_tooltipmask.getText()).format(controller.sampleJpeg));
8
Indent().Append(measurement.LongName()).Append(" (").Append(measurement.ShortName()).Append("): ").Append(value_format.format(measurement.Value()));
9
return format.format(dataSource.execute());
10
String s = nf.format(value);
11
m_oldText = m_format.format(value);
12
out.write(format.format(date));
13
result = dateFormat.format(value);
14
getPreviousOut().print(nf.format(strFormat.parse(value.trim())));
15
String dn = userPatternFormat.format(new String[] { username });
16
String dn = format.format(new String[]{ username });
17
prefixBuffer.append( TIMESTAMP_FORMAT.format(timestamp) );
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.