Package com.logicaldoc.scheme
Class SchemeProcessor
- java.lang.Object
-
- com.logicaldoc.scheme.SchemeProcessor
-
public class SchemeProcessor extends Object
Retrieves the custom identifier from the scheme provided by the user.- Since:
- 4.0
- Author:
- Matteo Caruso - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description SchemeProcessor(String scheme)
SchemeProcessor(String scheme, Map<String,Long> sequenceMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
evaluate(com.logicaldoc.core.document.Document document)
Computes the scheme against the documentList<String>
getSchemeTokens()
Map<String,Long>
getSequenceMap()
String
toString()
-
-
-
Method Detail
-
evaluate
public String evaluate(com.logicaldoc.core.document.Document document)
Computes the scheme against the document- Parameters:
document
- the document to evaluate- Returns:
- the evaluation result
-
-