public class OcrTextParameters extends AbstractParameters implements MultiplePdfSourceTaskParameters, MultipleOutputTaskParameters
Constructor and Description |
---|
OcrTextParameters() |
Modifier and Type | Method and Description |
---|---|
void |
addLanguage(Locale language)
Adds a language o the list of possible languages of the text found in the documents.
|
void |
addSource(PdfSource<?> input)
adds the input source to the source list.
|
boolean |
equals(Object other) |
Set<Locale> |
getLanguages() |
MultipleTaskOutput |
getOutput() |
String |
getOutputPrefix() |
List<PdfSource<?>> |
getSourceList() |
String |
getTextEncoding() |
int |
hashCode() |
void |
setOutput(MultipleTaskOutput output)
Sets the output destination
|
void |
setOutputPrefix(String outputPrefix)
Set the prefix to be used to generate names of the multiple outputs for this parameter.
|
void |
setTextEncoding(String textEncoding) |
getExistingOutputPolicy, isLenient, setExistingOutputPolicy, setLenient, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExistingOutputPolicy, isLenient, setExistingOutputPolicy, setLenient
public void addLanguage(Locale language)
language
- public Set<Locale> getLanguages()
public String getTextEncoding()
public void setTextEncoding(String textEncoding)
public MultipleTaskOutput getOutput()
getOutput
in interface TaskParameters
public void setOutput(MultipleTaskOutput output)
MultipleOutputTaskParameters
setOutput
in interface MultipleOutputTaskParameters
public String getOutputPrefix()
getOutputPrefix
in interface PrefixableTaskParameters
public void setOutputPrefix(String outputPrefix)
PrefixableTaskParameters
setOutputPrefix
in interface PrefixableTaskParameters
public void addSource(PdfSource<?> input)
addSource
in interface MultiplePdfSourceTaskParameters
input
- public List<PdfSource<?>> getSourceList()
getSourceList
in interface MultiplePdfSourceTaskParameters
public int hashCode()
hashCode
in class AbstractParameters
public boolean equals(Object other)
equals
in class AbstractParameters
Copyright © 2019 sejda. All rights reserved.