|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectesmska.persistence.ExportManager
public class ExportManager
Export program data
| Method Summary | |
|---|---|
static void |
exportContacts(java.util.Collection<Contact> contacts,
java.io.OutputStream out)
Export contacts to csv format |
static void |
exportContactsToVCard(java.util.Collection<Contact> contacts,
java.io.OutputStream out)
Export contacts to vCard format |
static void |
exportGateway(java.lang.String scriptContents,
byte[] icon,
java.io.OutputStream scriptOut,
java.io.OutputStream iconOut)
Export gateway script and icon |
static void |
exportHistory(java.util.Collection<History.Record> history,
java.io.OutputStream out)
Export sms history |
static void |
exportKeyring(Keyring keyring,
java.io.OutputStream out)
Export keyring |
static void |
exportQueue(java.util.Collection<SMS> queue,
java.io.OutputStream out)
Export sms queue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void exportContacts(java.util.Collection<Contact> contacts,
java.io.OutputStream out)
throws java.io.IOException
contacts - contacts, not nullout - output stream, not null
java.io.IOException
public static void exportContactsToVCard(java.util.Collection<Contact> contacts,
java.io.OutputStream out)
throws java.io.IOException,
a_vcard.android.syncml.pim.vcard.VCardException
contacts - contacts, not nullout - output stream, not null
java.io.IOException
a_vcard.android.syncml.pim.vcard.VCardException
public static void exportQueue(java.util.Collection<SMS> queue,
java.io.OutputStream out)
throws java.io.IOException
queue - queue, not nullout - output stream, not null
java.io.IOException
public static void exportHistory(java.util.Collection<History.Record> history,
java.io.OutputStream out)
throws java.io.IOException
history - history, not nullout - output stream, not null
java.io.IOException
public static void exportKeyring(Keyring keyring,
java.io.OutputStream out)
throws java.io.IOException,
java.security.GeneralSecurityException
keyring - keyring to export, not nullout - output stream, not null
java.io.IOException - When some error occur during file processing.
java.security.GeneralSecurityException - When there is problem with
key encryption.
public static void exportGateway(java.lang.String scriptContents,
byte[] icon,
java.io.OutputStream scriptOut,
java.io.OutputStream iconOut)
throws java.io.IOException
scriptContents - gateway script contents, not null nor emptyicon - gateway icon, may be nullscriptOut - output stream for gateway script, not nulliconOut - output stream for gateway icon, mustn't be null
if icon is not null
java.io.IOException - if there was some problem with saving data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||