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