mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Tika for metadata extraction
Convert some more metadata extractors to using Tika, and enable the use of the Tika auto-detection parser on any documents without an explicitly defined extractor. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20667 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -199,6 +199,7 @@ abstract public class AbstractMappingMetadataExtracter implements MetadataExtrac
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO - This doesn't appear to be used, so should be removed / deprecated / replaced
|
||||
* @return Returns <code>1.0</code> if the mimetype is supported, otherwise <tt>0.0</tt>
|
||||
*
|
||||
* @see #isSupported(String)
|
||||
@@ -209,10 +210,11 @@ abstract public class AbstractMappingMetadataExtracter implements MetadataExtrac
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the policy to use when existing values are encountered. Depending on how the extracer
|
||||
* Set the policy to use when existing values are encountered. Depending on how the extractor
|
||||
* is called, this may not be relevant, i.e an empty map of existing properties may be passed
|
||||
* in by the client code, which may follow its own overwrite strategy.
|
||||
*
|
||||
* TODO - This doesn't appear to be used, so should be removed / deprecated / replaced
|
||||
* @param overwritePolicy the policy to apply when there are existing system properties
|
||||
*/
|
||||
public void setOverwritePolicy(OverwritePolicy overwritePolicy)
|
||||
@@ -221,10 +223,11 @@ abstract public class AbstractMappingMetadataExtracter implements MetadataExtrac
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the policy to use when existing values are encountered. Depending on how the extracer
|
||||
* Set the policy to use when existing values are encountered. Depending on how the extractor
|
||||
* is called, this may not be relevant, i.e an empty map of existing properties may be passed
|
||||
* in by the client code, which may follow its own overwrite strategy.
|
||||
*
|
||||
* TODO - This doesn't appear to be used, so should be removed / deprecated / replaced
|
||||
* @param overwritePolicyStr the policy to apply when there are existing system properties
|
||||
*/
|
||||
public void setOverwritePolicy(String overwritePolicyStr)
|
||||
|
Reference in New Issue
Block a user