summaryrefslogtreecommitdiffstats
path: root/idrop-commons
diff options
context:
space:
mode:
authorMike Conway <mikeconway@Mike-Conways-MacBook-Pro.local>2011-06-16 15:24:37 (GMT)
committer Mike Conway <mikeconway@Mike-Conways-MacBook-Pro.local>2011-06-16 15:24:37 (GMT)
commit9fdc793fcb2a1af043e3d79c7a02af60c5281da3 (patch)
treea5538862b54c3690e53a01663712610c9d3b9d50 /idrop-commons
parent6a857b998f116976ee55121cdc579c8861c63dc4 (diff)
downloadQCG-Data-9fdc793fcb2a1af043e3d79c7a02af60c5281da3.zip
QCG-Data-9fdc793fcb2a1af043e3d79c7a02af60c5281da3.tar.gz
QCG-Data-9fdc793fcb2a1af043e3d79c7a02af60c5281da3.tar.bz2
refactoring idrop-commons for integration with idrop-swing
Diffstat (limited to 'idrop-commons')
-rw-r--r--idrop-commons/src/main/java/org/irods/jargon/idrop/commons/service/AbstractIRODSTransferService.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/idrop-commons/src/main/java/org/irods/jargon/idrop/commons/service/AbstractIRODSTransferService.java b/idrop-commons/src/main/java/org/irods/jargon/idrop/commons/service/AbstractIRODSTransferService.java
new file mode 100644
index 0000000..246de3b
--- /dev/null
+++ b/idrop-commons/src/main/java/org/irods/jargon/idrop/commons/service/AbstractIRODSTransferService.java
@@ -0,0 +1,26 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package org.irods.jargon.idrop.commons.service;
+
+import org.irods.jargon.core.pub.DataTransferOperations;
+import org.irods.jargon.core.pub.io.IRODSFile;
+import org.irods.jargon.idrop.commons.IdropException;
+
+/**
+ * @author Mike Conway - DICE (www.irods.org)
+ */
+public abstract class AbstractIRODSTransferService {
+
+ /**
+ * Copy a file from source to target
+ * @param dataTransferOperations
+ * @param sourceFile
+ * @param targetAbsolutePath
+ * @throws IdropException
+ */
+ public abstract void copyFile(DataTransferOperations dataTransferOperations, IRODSFile sourceFile, String targetAbsolutePath) throws IdropException;
+
+
+}