public interface Importer
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteData(android.net.Uri uri,
java.lang.String mime)
The method used to remove the imported data
|
java.lang.String |
getContentType()
Returns the cotent type supported by this importer.
|
java.util.Set<java.lang.String> |
getSupportedMIMETypes()
Returns the set of mime types supported by this importer.
|
CommsMapComponent.ImportResult |
importData(java.io.InputStream source,
java.lang.String mime,
android.os.Bundle b)
The method used to import the data
|
CommsMapComponent.ImportResult |
importData(android.net.Uri uri,
java.lang.String mime,
android.os.Bundle b)
The method used to import the data
|
java.lang.String getContentType()
java.util.Set<java.lang.String> getSupportedMIMETypes()
CommsMapComponent.ImportResult importData(java.io.InputStream source, java.lang.String mime, android.os.Bundle b) throws java.io.IOException
source - the input stream to use when importingmime - the mime type for the input streamb - the bundle that would have additional information concerning
the importjava.io.IOException - if there is an error during importCommsMapComponent.ImportResult importData(android.net.Uri uri, java.lang.String mime, android.os.Bundle b) throws java.io.IOException
uri - the uri to use when importingmime - the mime type for the input streamb - the bundle that would have additional information concerning
the importjava.io.IOException - if there is an error during importboolean deleteData(android.net.Uri uri,
java.lang.String mime)
throws java.io.IOException
uri - the input stream to use when importingmime - the mime type for the input streamjava.io.IOException - if there is an error during the deletion