public final class Renditions extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<Rendition> |
create(String originalFilename,
TargetFormat target,
WrappedFile... files)
Creates a list of renditions.
|
static List<Rendition> |
create(String originalFilename,
TargetFormat target,
WrappedFile file)
Creates a list of renditions.
|
static String |
transformFileName(String originalFilename,
int page,
TargetFormat target)
Transforms the file name by replacing the original extension (if present) with the extension
and adding the page number (_pagex).
|
static String |
transformFileName(String originalFilename,
TargetFormat target)
Transforms the file name by replacing the original extension (if present) with the extension
of the target format.
|
public static List<Rendition> create(String originalFilename, TargetFormat target, WrappedFile... files) throws FileNotFoundException
originalFilename - the original filenametarget - the target formatfiles - the files that will contain the pages of the rendered documentFileNotFoundException - file was not foundpublic static List<Rendition> create(String originalFilename, TargetFormat target, WrappedFile file) throws FileNotFoundException
originalFilename - the original filenametarget - the target formatfile - the file that will contain the rendered contentFileNotFoundException - if the file was not foundpublic static String transformFileName(String originalFilename, TargetFormat target)
originalFilename - the original filenametarget - the target formatpublic static String transformFileName(String originalFilename, int page, TargetFormat target)
originalFilename - the original filenamepage - the page numbertarget - the target formatCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.