*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / mover / IMover.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/mover/IMover.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/mover/IMover.java
new file mode 100644 (file)
index 0000000..9bb72b3
--- /dev/null
@@ -0,0 +1,28 @@
+package net.sourceforge.phpeclipse.mover;
+
+/**
+ * Specify how to move a file from the XML acquisition directory
+ * to the publishing/HTML/other one. Implementations perform actual
+ * styling/copying operations.
+ *
+ * @author <a href="http://www.marchal.com">Beno&#238;t Marchal</a>
+ */
+
+// Copyright 2001, BenoĆ®t Marchal.
+//Changes 2003, Klaus Hartlage
+
+import java.io.*;
+
+public interface IMover
+{
+
+   /**
+    * Move one file.
+    * @param sourceFile the file to move
+    * @param targetDir the directory to copy the result to
+    * @return new file or null if the file was ignored
+    */
+   public File move(File sourceFile,File targetDir)
+      throws IOException;
+
+}