/** * delete file from storage server * * @param file_id the file id(including group name and filename) * @return 0 for success, none zero for fail (error code) */ public int delete_file1(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 this.errno; } return this.delete_file(parts[0], parts[1]); }
/** * delete file from storage server * * @param file_id the file id(including group name and filename) * @return 0 for success, none zero for fail (error code) */ public int delete_file1(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 this.errno; } return this.delete_file(parts[0], parts[1]); }
/** * delete file from storage server * * @param file_id the file id(including group name and filename) * @return 0 for success, none zero for fail (error code) */ public int delete_file1(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 this.errno; } return this.delete_file(parts[0], parts[1]); }
/** * delete file from storage server * * @param file_id the file id(including group name and filename) * @return 0 for success, none zero for fail (error code) */ public int delete_file1(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 this.errno; } return this.delete_file(parts[0], parts[1]); }
/** * delete file from storage server * @param file_id the file id(including group name and filename) * @return 0 for success, none zero for fail (error code) */ public int delete_file1(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 this.errno; } return this.delete_file(parts[0], parts[1]); }