public static InputStream download(int pid, String filename) { try { return new FileInputStream(rootPath + "data\\" + pid + "\\" + filename); } catch (FileNotFoundException e) { // e.printStackTrace(); Tool.debug(rootPath + "data\\" + pid + "\\" + filename + "文件未找到"); } return null; }