public static boolean isFilePath(String path){
  if (TextUtils.isEmpty(path)) {
    return false;
  }
  if (path.startsWith(File.separator)) {
    return true;
  }
  return false;
}

public static boolean isFilePath ( String path ) { if ( TextUtils . isEmpty ( path ) ) { return false ; } if ( path . startsWith ( File . separator ) ) { return true ; } return false ; }
whether the path is file path
