mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Remove some deprecated methods and classes in the MetadataExtracter hierarchy
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -316,16 +316,6 @@ public interface MetadataExtracter extends ContentWorker
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Get an estimate of the extracter's reliability on a scale from 0.0 to 1.0.
|
||||
*
|
||||
* @param mimetype the mimetype to check
|
||||
* @return Returns a reliability indicator from 0.0 to 1.0
|
||||
*
|
||||
* @deprecated This method is replaced by {@link #isSupported(String)}
|
||||
*/
|
||||
public double getReliability(String mimetype);
|
||||
|
||||
/**
|
||||
* Determines if the extracter works against the given mimetype.
|
||||
*
|
||||
@@ -334,19 +324,6 @@ public interface MetadataExtracter extends ContentWorker
|
||||
*/
|
||||
public boolean isSupported(String mimetype);
|
||||
|
||||
/**
|
||||
* Provides an estimate, usually a worst case guess, of how long an
|
||||
* extraction will take.
|
||||
* <p>
|
||||
* This method is used to determine, up front, which of a set of equally
|
||||
* reliant transformers will be used for a specific extraction.
|
||||
*
|
||||
* @return Returns the approximate number of milliseconds per transformation
|
||||
*
|
||||
* @deprecated Generally not useful or used. Extraction is normally specifically configured.
|
||||
*/
|
||||
public long getExtractionTime();
|
||||
|
||||
/**
|
||||
* Extracts the metadata values from the content provided by the reader and source
|
||||
* mimetype to the supplied map. The internal mapping and {@link OverwritePolicy overwrite policy}
|
||||
|
Reference in New Issue
Block a user