|
Clearspace API (1.7.0) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.importer.ImporterFactory
public class ImporterFactory
A factory for Importers. Custom importers can be added at runtime via calls to the
addImporter(Importer) method or at startup via a jive property 'jive.importers.yourimporter' =
'com.acme.clearspace.importer.YourImporterClassName
| Method Summary | |
|---|---|
void |
addImporter(Importer importer)
Add an importer to the list of available importers. |
Importer |
getImporter(java.lang.Class<?> importer)
Returns an importer instance given the importer class. |
java.util.Collection<java.lang.Class<?>> |
getImporters()
Returns a collection of Class's corresponding to the available importers. |
static ImporterFactory |
getInstance()
Returns an instance of this factory. |
void |
removeImporter(Importer importer)
Removes an importer from the list of available importers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ImporterFactory getInstance()
public void addImporter(Importer importer)
importer - an importer to add to the list of available importers.public void removeImporter(Importer importer)
importer - an importer to remove from the list of available importers.public java.util.Collection<java.lang.Class<?>> getImporters()
public Importer getImporter(java.lang.Class<?> importer)
importer - the importer class to return an instance of
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||