/** * get all metadata items from storage server * * @param file_id the file id(including group name and filename) * @return meta info array, return null if fail */ public NameValuePair[] get_metadata1(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.get_metadata(parts[0], parts[1]); }
/** * get all metadata items from storage server * * @param file_id the file id(including group name and filename) * @return meta info array, return null if fail */ public NameValuePair[] get_metadata1(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.get_metadata(parts[0], parts[1]); }
/** * get all metadata items from storage server * * @param file_id the file id(including group name and filename) * @return meta info array, return null if fail */ public NameValuePair[] get_metadata1(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.get_metadata(parts[0], parts[1]); }
/** * get all metadata items from storage server * * @param file_id the file id(including group name and filename) * @return meta info array, return null if fail */ public NameValuePair[] get_metadata1(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.get_metadata(parts[0], parts[1]); }
/** * get all metadata items from storage server * @param file_id the file id(including group name and filename) * @return meta info array, return null if fail */ public NameValuePair[] get_metadata1(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.get_metadata(parts[0], parts[1]); }