public class GetHttpUrl extends Operation
Modifier and Type | Field and Description |
---|---|
static String |
URL_SEPARATOR
Deprecated.
|
static String |
VOLATILE_URL_IDENTIFICATOR
Deprecated.
|
Constructor and Description |
---|
GetHttpUrl(String[] server,
String user,
String pwd,
String bucket,
Monitor monitor,
boolean isChunk,
String backendType,
String[] dbs) |
Modifier and Type | Method and Description |
---|---|
Object |
doIt(MyFile myFile)
Do a operation
|
String |
initOperation(MyFile resource,
String RemotePath,
String author,
String[] server,
String rootArea)
init a operation
|
String |
initOperation(MyFile file,
String remotePath,
String author,
String[] server,
String rootArea,
boolean replaceOption)
init a operation
|
appendFileSeparator, extractParent, get, getBackendType, getBucket, getDbNames, getLengthCurrentChunk, getMonitor, getNumberOfChunks, getOwner, getPassword, getRemoteIdentifier, getServer, getTransport, getUser, isChunk, numOfThread, put, setBackendType, setBucket, setChunk, setDbNames, setMonitor, setOwner, setPassword, setServer, setUser, startPThreadChunk
@Deprecated public static final String URL_SEPARATOR
@Deprecated public static final String VOLATILE_URL_IDENTIFICATOR
public String initOperation(MyFile file, String remotePath, String author, String[] server, String rootArea, boolean replaceOption)
Operation
initOperation
in class Operation
file
- object that contains the resource coordinatesremotePath
- remote path of the resourceauthor
- file ownerserver
- server listrootArea
- remote root pathreplaceOption
- if true the file will be replacedpublic String initOperation(MyFile resource, String RemotePath, String author, String[] server, String rootArea)
Operation
initOperation
in class Operation
resource
- object that contains the resource coordinatesRemotePath
- remote path of the resourceauthor
- file ownerserver
- server listrootArea
- remote root pathpublic Object doIt(MyFile myFile) throws RemoteBackendException
Operation
doIt
in class Operation
myFile
- object that contains the resource coordinatesRemoteBackendException
Copyright © 2021. All Rights Reserved.