=== modified file 'dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/Importer.java' --- dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/Importer.java 2012-04-03 12:59:54 +0000 +++ dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/Importer.java 2012-04-03 13:35:15 +0000 @@ -39,6 +39,8 @@ public interface Importer { /** + * Import a single object, return null or a ImportConflict is there is a conflict + * * @param object Object to import * @param options Import options * @return ImportConflict instance if a conflict occurred, if not null @@ -61,5 +63,11 @@ */ ImportCount getCurrentImportCount(); + /** + * Can this importer handle a certain Class type + * + * @param clazz Class to check for + * @return true or false depending on if class is supported + */ boolean canHandle( Class clazz ); }