org.ektorp
Class DbPath
java.lang.Object
org.ektorp.DbPath
public class DbPath
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbPath
public DbPath(String s)
append
public String append(String s)
- Appends the string to the dbPath.
The String will be escaped, i.e. dbPath.append("/foo/bar") will become "path/foo%2Fbar"
- Parameters:
s
-
- Returns:
getPath
public String getPath()
escape
public static String escape(String s)
fromString
public static DbPath fromString(String s)
normalize
public static String normalize(String dbName)
validateDbName
public static void validateDbName(String dbName)
getAllDocsPath
public String getAllDocsPath()
getDbName
public String getDbName()
Copyright © 2011. All Rights Reserved.