Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.virtuosotechnologies.asaph.xmldatabase
Interface IndexedDatabaseFactory  view IndexedDatabaseFactory download IndexedDatabaseFactory.java

All Known Implementing Classes:
IndexedDatabaseFactoryImpl

public interface IndexedDatabaseFactory

API for creating and connecting to indexed databases


Field Summary
static java.lang.String API_NAME
          Name of this API
 
Method Summary
 com.virtuosotechnologies.asaph.model.SongDatabase createIndexedDatabase(java.io.File directory)
          Create a new mutable indexed database rooted at the given directory.
 boolean isIndexedDatabase(com.virtuosotechnologies.asaph.model.SongDatabase database)
          Is the given database an indexed database?
 com.virtuosotechnologies.asaph.model.SongDatabase openIndexedDatabase(java.io.File directory)
          Open a mutable indexed database backed by the filesystem at the given directory.
 com.virtuosotechnologies.asaph.model.SongDatabase openIndexedDatabase(java.net.URL url, org.xml.sax.ErrorHandler errorHandler)
          Open an immutable indexed database backed by the given URL.
 void updateDatabase04(java.io.File directory)
          Update a filesystem indexed database from version 0.3 to version 0.4.
 

Field Detail

API_NAME

public static final java.lang.String API_NAME
Name of this API

See Also:
Constant Field Values
Method Detail

createIndexedDatabase

public com.virtuosotechnologies.asaph.model.SongDatabase createIndexedDatabase(java.io.File directory)
                                                                        throws java.io.IOException,
                                                                               org.xml.sax.SAXException
Create a new mutable indexed database rooted at the given directory.


openIndexedDatabase

public com.virtuosotechnologies.asaph.model.SongDatabase openIndexedDatabase(java.io.File directory)
                                                                      throws java.io.IOException,
                                                                             org.xml.sax.SAXException
Open a mutable indexed database backed by the filesystem at the given directory.


openIndexedDatabase

public com.virtuosotechnologies.asaph.model.SongDatabase openIndexedDatabase(java.net.URL url,
                                                                             org.xml.sax.ErrorHandler errorHandler)
                                                                      throws java.io.IOException,
                                                                             org.xml.sax.SAXException
Open an immutable indexed database backed by the given URL.


isIndexedDatabase

public boolean isIndexedDatabase(com.virtuosotechnologies.asaph.model.SongDatabase database)
Is the given database an indexed database?


updateDatabase04

public void updateDatabase04(java.io.File directory)
                      throws java.io.IOException,
                             org.xml.sax.SAXException
Update a filesystem indexed database from version 0.3 to version 0.4. This will probably eventually go away.