/** * get file info from storage server * * @param file_id the file id(including group name and filename) * @return FileInfo object for success, return null for fail */ public FileInfo query_file_info1(String file_id) throws IOException, MyException { String[] parts = new String[2]; this.errno = this.split_file_id(file_id, parts); if (this.errno != 0) { return null; } return this.query_file_info(parts[0], parts[1]); }
/** * get file info from storage server * * @param file_id the file id(including group name and filename) * @return FileInfo object for success, return null for fail */ public FileInfo query_file_info1(String file_id) throws IOException, MyException { String[] parts = new String[2]; this.errno = this.split_file_id(file_id, parts); if (this.errno != 0) { return null; } return this.query_file_info(parts[0], parts[1]); }
/** * get file info from storage server * * @param file_id the file id(including group name and filename) * @return FileInfo object for success, return null for fail */ public FileInfo query_file_info1(String file_id) throws IOException, MyException { String[] parts = new String[2]; this.errno = this.split_file_id(file_id, parts); if (this.errno != 0) { return null; } return this.query_file_info(parts[0], parts[1]); }
/** * get file info from storage server * * @param file_id the file id(including group name and filename) * @return FileInfo object for success, return null for fail */ public FileInfo query_file_info1(String file_id) throws IOException, FsException { String[] parts = new String[2]; this.errno = this.split_file_id(file_id, parts); if (this.errno != 0) { return null; } return this.query_file_info(parts[0], parts[1]); }
/** * get file info from storage server * @param file_id the file id(including group name and filename) * @return FileInfo object for success, return null for fail */ public FileInfo query_file_info1(String file_id) throws IOException, MyException { String[] parts = new String[2]; this.errno = this.split_file_id(file_id, parts); if (this.errno != 0) { return null; } return this.query_file_info(parts[0], parts[1]); }