X-Git-Url: http://git.phpeclipse.com 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 index 0000000..9bb72b3 --- /dev/null +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/mover/IMover.java @@ -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 Benoît Marchal + */ + +// 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; + +}