public class RelocationArg extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
fromPath |
protected String |
toPath |
Constructor and Description |
---|
RelocationArg(String fromPath,
String toPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFromPath()
Path in the user's Dropbox to be copied or moved.
|
String |
getToPath()
Path in the user's Dropbox that is the destination.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public RelocationArg(String fromPath, String toPath)
fromPath
- Path in the user's Dropbox to be copied or moved. Must
match pattern "/(.|[\\r\\n])*
" and not be null
.toPath
- Path in the user's Dropbox that is the destination. Must
match pattern "/(.|[\\r\\n])*
" and not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public String getFromPath()
null
.public String getToPath()
null
.public String toStringMultiline()
The returned String may contain newlines.