mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Add @since tags where known, and do a quick coding standards sweep
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31023 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -43,6 +43,7 @@ import org.apache.tika.parser.dwg.DWGParser;
|
||||
*
|
||||
* Uses Apache Tika
|
||||
*
|
||||
* @since 3.4
|
||||
* @author Nick Burch
|
||||
*/
|
||||
public class DWGMetadataExtracter extends TikaPoweredMetadataExtracter
|
||||
@@ -66,14 +67,16 @@ public class DWGMetadataExtracter extends TikaPoweredMetadataExtracter
|
||||
|
||||
@Override
|
||||
protected Map<String, Serializable> extractSpecific(Metadata metadata,
|
||||
Map<String, Serializable> properties, Map<String,String> headers) {
|
||||
Map<String, Serializable> properties, Map<String,String> headers)
|
||||
{
|
||||
putRawValue(KEY_KEYWORD, metadata.get(Metadata.KEYWORDS), properties);
|
||||
putRawValue(KEY_LAST_AUTHOR, metadata.get(Metadata.LAST_AUTHOR), properties);
|
||||
return properties;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Parser getParser() {
|
||||
protected Parser getParser()
|
||||
{
|
||||
return new DWGParser();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user