There are several different Java virtual machines now
java.io.DataInputStreamjava.io.DataOutputStreamjava.io.InputStreamReaderjava.io.OutputStreamWriterjava.io.Readerjava.io.Writerjava.util.Calendarjava.util.Datejava.util.TimeZone
InputStreamReader and OutputStreamReader
support at least one encoding, possibly more
String encoding = System.getProperty(
"microedition.encoding" );
Calendar, Date and TimeZone
classes are subsets of the J2SE classes of the same name.
An implementation is only required to support a single time zone,
which ideally is the user's local time zone.
DateField can be used for
displaying and entering date information
microedition.global.version.
If it is null, the API is not present. It should
be "1.0" if it is present
Locale class, just strings of the
form "LL-CC"
0x20 0x01 4F 4B
is resource number 20 is the string "OK"
ResourceManager is the way to access application resources
static String[] ResourceManager.getSupportedLocales(String basename);
static ResourceManager getManager(String baseName, String locale)
byte[] getData(int id);
String getString(int id);
private static final int OK = 0x20;
ResourceManager mgr = ResourceManager.getManager("MyApp");
String okLabel = mgr.getString(OK);
Formatter can be used to format dates and strings
Formatter(String locale);
String formatCurrency(double number);
String formatDateTime(java.util.Calendar dateTime, int style);
String formatNumber(double number);
String formatPercentage(long value) ;
StringComparator
StringComparator();
StringComparator(String locale);
StringComparator(String locale, int level);
int compare(String s1, String s2);
boolean equals(String s1, String s2) ;