Author: dlanglais Date: 2010-02-26 05:49:19 +0100 (Fri, 26 Feb 2010) New Revision: 130 Added: trunk/msm/src/main/java/org/nuiton/mapstoragemanager/plugins/Exporter.java trunk/msm/src/main/java/org/nuiton/mapstoragemanager/plugins/Importer.java Modified: trunk/msm-bighashmap/pom.xml trunk/msm-bighashmapV2/pom.xml trunk/msm-hbase/pom.xml trunk/msm/pom.xml Log: Modifications mineures des pom (ajout groupId nuiton.org ?\195?\160 ceux qui ne l'avait pas). Ajout de deux interfaces pour des plugins d'import/export : -> permettra l'import/export en suivant des "sch?\195?\169mas" diff?\195?\169rents. Modified: trunk/msm/pom.xml =================================================================== --- trunk/msm/pom.xml 2010-02-25 16:28:09 UTC (rev 129) +++ trunk/msm/pom.xml 2010-02-26 04:49:19 UTC (rev 130) @@ -14,9 +14,9 @@ <version>0.1-SNAPSHOT</version> </parent> - <!--version>0.1-SNAPSHOT</version--> <groupId>org.nuiton</groupId> <artifactId>msm</artifactId> + <version>0.1-SNAPSHOT</version> <dependencies> Added: trunk/msm/src/main/java/org/nuiton/mapstoragemanager/plugins/Exporter.java =================================================================== --- trunk/msm/src/main/java/org/nuiton/mapstoragemanager/plugins/Exporter.java (rev 0) +++ trunk/msm/src/main/java/org/nuiton/mapstoragemanager/plugins/Exporter.java 2010-02-26 04:49:19 UTC (rev 130) @@ -0,0 +1,17 @@ +package org.nuiton.mapstoragemanager.plugins; + +import java.io.File; + +/** + * The interface for the exporter implementations. + * @author Dorian Langlais + */ +public interface Exporter { + + /** + * Export the content of a "bigTable" in a file. + * @param bigTable the bigTable plugin. + * @param file the file in which export the content of the base. + */ + void exportTo (final NewBigTable bigTable, final File file); +} \ No newline at end of file Added: trunk/msm/src/main/java/org/nuiton/mapstoragemanager/plugins/Importer.java =================================================================== --- trunk/msm/src/main/java/org/nuiton/mapstoragemanager/plugins/Importer.java (rev 0) +++ trunk/msm/src/main/java/org/nuiton/mapstoragemanager/plugins/Importer.java 2010-02-26 04:49:19 UTC (rev 130) @@ -0,0 +1,17 @@ +package org.nuiton.mapstoragemanager.plugins; + +import java.io.File; + +/** + * The interface for the importer implementations. + * @author Dorian Langlais + */ +public interface Importer { + + /** + * Import the content of a file in a "bigTable". + * @param bigTable the bigTable plugin. + * @param file the file in which export the content of the base. + */ + void importFrom (final NewBigTable bigTable, final File file); +} \ No newline at end of file Modified: trunk/msm-bighashmap/pom.xml =================================================================== --- trunk/msm-bighashmap/pom.xml 2010-02-25 16:28:09 UTC (rev 129) +++ trunk/msm-bighashmap/pom.xml 2010-02-26 04:49:19 UTC (rev 130) @@ -22,8 +22,9 @@ <version>0.1-SNAPSHOT</version> </parent> + <groupId>org.nuiton</groupId> + <artifactId>msm-bighashmap</artifactId> <version>0.1-SNAPSHOT</version> - <artifactId>msm-bighashmap</artifactId> <dependencies> Modified: trunk/msm-bighashmapV2/pom.xml =================================================================== --- trunk/msm-bighashmapV2/pom.xml 2010-02-25 16:28:09 UTC (rev 129) +++ trunk/msm-bighashmapV2/pom.xml 2010-02-26 04:49:19 UTC (rev 130) @@ -22,8 +22,9 @@ <version>0.1-SNAPSHOT</version> </parent> + <groupId>org.nuiton</groupId> + <artifactId>msm-bighashmapv2</artifactId> <version>0.1-SNAPSHOT</version> - <artifactId>msm-bighashmapv2</artifactId> <dependencies> Modified: trunk/msm-hbase/pom.xml =================================================================== --- trunk/msm-hbase/pom.xml 2010-02-25 16:28:09 UTC (rev 129) +++ trunk/msm-hbase/pom.xml 2010-02-26 04:49:19 UTC (rev 130) @@ -35,8 +35,9 @@ <version>0.1-SNAPSHOT</version> </parent> + <groupId>org.nuiton</groupId> + <artifactId>msm-hbase</artifactId> <version>0.1-SNAPSHOT</version> - <artifactId>msm-hbase</artifactId> <dependencies>