|
|||||||||
| 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
The 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)
Sets the number of the first page to generate. |
int |
hashCode()
|
ConversionOptions |
imageWidth(int imageWidth)
Sets the output image width in pixels. |
ConversionOptions |
lastPage(int lastPage)
Sets the number of the last page to generate, defaults to the last page of the document. |
ConversionOptions |
ocrInputLanguage(java.lang.String ocrInputLanguage)
Sets 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 positivepublic ConversionOptions firstPage(int firstPage)
firstPage - the number of the first page to generate
java.lang.IllegalArgumentException - if firstPage is not positivepublic ConversionOptions lastPage(int lastPage)
lastPage - the number of the last page to generate
java.lang.IllegalArgumentException - if lastPage is not positivepublic 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 characterspublic 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 | ||||||||