code: @InterfaceAudience.Private
      private String pathForDatabaseNamed(String name) {
          if ((name == null) || (name.length() == 0) || Pattern.matches(LEGAL_CHARACTERS, name))
              return null;
          // NOTE: CouchDB allows forward slash as part of database name.
          //       However, ':' is illegal character on Windows platform.
          //       For Windows, substitute with period '.'
          name = isWindows() ? name.replace('/', '.') : name.replace('/', ':');
          String result = directoryFile.getPath() + File.separator + name + Manager.kDBExtension;
          return result;
      }
docs: in CBLManager.m
  - (NSString*) pathForDatabaseNamed: (NSString*)name
  
  @exclude