// classify the ArcIMS content type from the resource URL
String aimsContentType = Val.chkStr(this.getFirstStoreableValue(Meaning.MEANINGTYPE_CONTENTTYPE));
if (aimsContentType.length() > 0) {
ResourceIdentifier ri = ensureResourceIdentifier();
aimsContentType = Val.chkStr(ri.guessArcIMSContentTypeFromResourceType(aimsContentType));
}
if (aimsContentType.length() == 0) {
PropertyMeaning meaning = this.getPropertyMeanings().get(Meaning.MEANINGTYPE_CONTENTTYPE);
IStoreable storeable = this.getStoreables().get(Meaning.MEANINGTYPE_RESOURCE_URL);
if ((meaning != null) && (storeable != null)) {