+ * title: -- cm:title + * description: -- cm:description + * author: -- cm:author + * keywords: + * comments: + * lastauthor: + *+ * + * TIKA Note - this has been converted to deep-call into Tika. + * This will be replaced with proper calls to Tika at a later date. + * Everything except some Print info has been ported to Tika. + * + * @author Nick Burch + */ +public class DWGMetadataExtracter extends AbstractMappingMetadataExtracter +{ + private static final String KEY_AUTHOR = "author"; + private static final String KEY_COMMENT = "comment"; + private static final String KEY_DESCRIPTION = "description"; + private static final String KEY_KEYWORD = "keyword"; + private static final String KEY_LAST_AUTHOR = "lastAuthor"; + private static final String KEY_TITLE = "title"; + + public static String[] SUPPORTED_MIMETYPES = new String[] { + MimetypeMap.MIMETYPE_APP_DWG, + MimetypeMap.MIMETYPE_IMG_DWG, + }; + + public DWGMetadataExtracter() + { + super(new HashSet