public final class ApiFactory extends Object
| Constructor and Description |
|---|
ApiFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends IFromOptions> |
createLoader(InputStream inputStream,
T fromOptions)
Create loader.
|
static <T extends ILoader> |
createToHtmlConverter(T loader,
ToHtmlOptions toHtmlOptions)
Create to html converter.
|
static <T extends ILoader> |
createToImageConverter(T loader,
ToImageOptions toImageOptions)
Create to image converter.
|
static <T extends ILoader> |
createToPdfConverter(T loader,
ToPdfOptions toPdfOptions)
Create to pdf converter.
|
public static <T extends IFromOptions> ILoader createLoader(InputStream inputStream, T fromOptions) throws LoadingException
T - the type parameterinputStream - the input streamfromOptions - the from optionsLoadingException - the loading exceptionpublic static <T extends ILoader> IToImageConverter createToImageConverter(T loader, ToImageOptions toImageOptions) throws LoadingException
T - the type parameterloader - the loadertoImageOptions - the to image optionsLoadingException - the loading exceptionpublic static <T extends ILoader> IToPdfConverter createToPdfConverter(T loader, ToPdfOptions toPdfOptions) throws LoadingException
T - the type parameterloader - the loadertoPdfOptions - the to pdf optionsLoadingException - the loading exceptionpublic static <T extends ILoader> IToHtmlConverter createToHtmlConverter(T loader, ToHtmlOptions toHtmlOptions) throws LoadingException
T - the type parameterloader - the loadertoHtmlOptions - the to html optionsLoadingException - the loading exceptionCopyright © 2015 GroupDocs. All rights reserved.