Methods Summary |
---|
public abstract PIMItem[] | fromSerialFormat(java.io.InputStream is, java.lang.String enc)
|
public static javax.microedition.pim.PIM | getInstance()
// JAVADOC COMMENT ELIDED
synchronized (PIM.class) {
if (instance == null) {
String className =
Configuration.getProperty("javax.microedition.pim.impl");
if (className == null) {
className = "com.sun.kvem.midp.pim.PIMImpl";
}
boolean excThrowed = false;
try {
instance = (PIM) Class.forName(className).newInstance();
} catch (ClassNotFoundException e) {
excThrowed = true;
} catch (Error e) {
excThrowed = true;
} catch (IllegalAccessException e) {
excThrowed = true;
} catch (InstantiationException e) {
excThrowed = true;
}
if (excThrowed) {
throw new Error("PIM implementation '"
+ className + "' could not be initialized.");
}
}
return instance;
}
|
public abstract java.lang.String[] | listPIMLists(int pimListType)
|
public abstract PIMList | openPIMList(int pimListType, int mode)
|
public abstract PIMList | openPIMList(int pimListType, int mode, java.lang.String name)
|
public abstract java.lang.String[] | supportedSerialFormats(int pimListType)
|
public abstract void | toSerialFormat(PIMItem item, java.io.OutputStream os, java.lang.String enc, java.lang.String dataFormat)
|