- Common ways to obtain RcObjectMetadata
private void myMethod () {}
throw new IOException(curMetsObjectMetadataFile.getPath() + " does not exist."); rcObjMd = RcObjectMetadata.readMets(curMetsObjectMetadataFile); rcObjMd.clearStructure(); this.rcObjectMetadataMap.put(rcObjMd.getId(), rcObjMd);
rcObjMdFile = rcObjFileMd.getMetsFile(); if (rcObjMdFile.exists()) { rcObjMd = RcObjectMetadata.readMets(rcObjMdFile); rcObjMd.setParentMetadata(rcObjFileMd); this.targetObjects.add(rcObjMd);
this.setProgressString("Reading " + objMdFile.getPath() + "..."); if (objMdFile.exists()) { this.targetObjects.add(RcObjectMetadata.readMets(objMdFile));
rcObjectMetadata = RcObjectMetadata.readMets(curMetsObjectMetadataFile);