|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.conversion.ConversionOptions
public final class ConversionOptions
Contains various options for a conversion following builder pattern. This class also defines default values for most options.
| Nested Class Summary | |
|---|---|
static class |
ConversionOptions.Builder
Provides static creation methods for ConversionOptions. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
ConversionOptions |
firstPage(int firstPage)
Set the number of the first page to generate. |
int |
hashCode()
|
ConversionOptions |
imageWidth(int imageWidth)
Set the output image width in pixels. |
ConversionOptions |
lastPage(int lastPage)
Set the number of the last page to generate, defaults to the last page of the document. |
ConversionOptions |
ocrInputLanguage(java.lang.String ocrInputLanguage)
Set the language code in BCP 47 format, used by OCR engine to search for language-specific character set. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ConversionOptions imageWidth(int imageWidth)
imageWidth - The output image width in pixels.
java.lang.IllegalArgumentException - if imageWidth is not positive.public ConversionOptions firstPage(int firstPage)
firstPage - The number of the first page to generate.
java.lang.IllegalArgumentException - if firstPage is not positive.public ConversionOptions lastPage(int lastPage)
lastPage - The number of the last page to generate.
java.lang.IllegalArgumentException - if lastPage is not positive.public ConversionOptions ocrInputLanguage(java.lang.String ocrInputLanguage)
ocrInputLanguage - The language code used by OCR engine.
java.lang.IllegalArgumentException - if ocrInputLanguage is null, empty or
comprises only whitespace characters.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||