Build 1.0_r1(from source)

android.content
Interface ContentInsertHandler

All Superinterfaces:
ContentHandler
All Known Implementing Classes:
DefaultDataHandler

public interface ContentInsertHandler
extends ContentHandler

Interface to insert data to ContentResolver


Method Summary
 void insert(ContentResolver contentResolver, InputStream in)
          insert data from InputStream to ContentResolver
 void insert(ContentResolver contentResolver, String in)
          insert data from String to ContentResolver
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Method Detail

insert

void insert(ContentResolver contentResolver,
            InputStream in)
            throws IOException,
                   SAXException
insert data from InputStream to ContentResolver

Parameters:
contentResolver -
in - InputStream
Throws:
IOException
SAXException

insert

void insert(ContentResolver contentResolver,
            String in)
            throws SAXException
insert data from String to ContentResolver

Parameters:
contentResolver -
in - input string
Throws:
SAXException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature