int colon = path.lastIndexOf(':');
int colon = path.indexOf(':');
  public static Picture getByPath(String path) {    if (path == null)      throw new NullPointerException("Path is null!");    int colon = path.lastIndexOf(':');    if (colon == -1)      throw new IllegalArgumentException("No ':' in the picture path " + path);    String albumPath = path.substring(0, colon);    String pictureName = path.substring(colon+1, path.length());    Album album = Album.getByPath(albumPath);    return (album != null) ? album.getPicture(pictureName) : null;  }