code: public static File[] listFile(File director) {
          String basePath = director.getAbsolutePath() + ValueConsts.SEPARATOR;
          String[] filePath = director.list();
          File[] files = null;
          if (Checker.isNotNull(filePath)) {
              files = new File[filePath.length];
              int i = 0;
              for (String s : filePath) {
                  files[i++] = new File(basePath + s);
              }
          }
          return files;
      }
docs: 列出文件夹所有文件，不递归
  
  @param director 文件夹
  
  @return 所有文件