public boolean canReplaceLocal(String localPath) {
   for (PathMapping mapping : myPathMappings) {
     if (mapping.canReplaceLocal(localPath)) {
       return true;
     }
   }
   return false;
 }
 public String convertToRemote(String localPath) {
   for (PathMapping mapping : myPathMappings) {
     if (mapping.canReplaceLocal(localPath)) {
       return mapping.mapToRemote(localPath);
     }
   }
   return localPath;
 }
 public boolean canReplaceRemote(String remotePath) {
   for (PathMapping mapping : myPathMappings) {
     if (mapping.canReplaceRemote(remotePath)) {
       return true;
     }
   }
   return false;
 }
  public String convertToLocal(String remotePath) {
    for (PathMapping mapping : myPathMappings) {
      if (mapping.canReplaceRemote(remotePath)) {
        return mapping.mapToLocal(remotePath);
      }
    }

    return remotePath;
  }