Package com.dropbox.core.v2.files
Class RelocationPath
java.lang.Object
com.dropbox.core.v2.files.RelocationPath
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fromPath
-
toPath
-
-
Constructor Details
-
RelocationPath
- Parameters:
fromPath- Path in the user's Dropbox to be copied or moved. Must match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/(.|[\\r\\n])*)?)|(id:.*)" and not benull.toPath- Path in the user's Dropbox that is the destination. Must match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/(.|[\\r\\n])*)?)|(id:.*)" and not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getFromPath
Path in the user's Dropbox to be copied or moved.- Returns:
- value for this field, never
null.
-
getToPath
Path in the user's Dropbox that is the destination.- Returns:
- value for this field, never
null.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-