public class DbxPath extends Object
String
s
to represent paths.
Dropbox paths always start with with a slash ("/"
).
For full-Dropbox apps, the path is relative to the
root of the user's Dropbox. For App Folder apps,
the path is relative to the App Folder.
Constructor and Description |
---|
DbxPath() |
Modifier and Type | Method and Description |
---|---|
static void |
checkArg(String argName,
String value) |
static void |
checkArgNonRoot(String argName,
String value) |
static String |
findError(String path) |
static String |
getName(String path)
Returns just the last component of the path.
|
static String |
getParent(String path)
Returns the parent path of the given path or
null if the path
is "/" . |
static boolean |
isValid(String path) |
static String[] |
split(String path) |
Copyright © 2014. All rights reserved.