This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
/
RemoteFileHandler.java
67 lines (58 loc) · 1.79 KB
/
RemoteFileHandler.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*******************************************************************************
* Copyright (c) 2019- UT-Battelle, LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Initial API and implementation and/or initial documentation -
* Jay Jay Billings, Joe Osborn
*******************************************************************************/
package org.eclipse.ice.commands;
import java.io.IOException;
/**
* This class inherits from FileHandler and handles the processing of remote
* file transfer commands. Remote file transfers can be from a local-to-remote
* (or vice versa) or remote-to-remote system.
*
* @author Joe Osborn
*
*/
public class RemoteFileHandler extends FileHandler {
/**
* Default constructor
*/
public RemoteFileHandler() {
}
/**
* See {@link org.eclipse.ice.commands.FileHandler#exists(String)}
*/
@Override
public boolean exists(String file) throws IOException {
return false;
}
/**
* See
* {@link org.eclipse.ice.commands.FileHandler#checkExistence(String, String)}
*/
@Override
public void checkExistence(String source, String destination) throws IOException {
}
/**
* See
* {@link org.eclipse.ice.commands.FileHandler#configureMoveCommand(String, String)}
*/
@Override
protected void configureMoveCommand(String source, String destination) {
// TODO Auto-generated method stub
}
/**
* See
* {@link org.eclipse.ice.commands.FileHandler#configureCopyCommand(String, String)}
*/
@Override
protected void configureCopyCommand(String source, String destination) {
// TODO Auto-generated method stub
}
}