Package | Description |
---|---|
com.groupdocs.viewer |
The package provides classes for rendering documents in HTML5, Image or PDF modes fast and with high quality.
|
com.groupdocs.viewer.caching.extra |
The package provides functionality for using custom models in cache implementation.
|
com.groupdocs.viewer.options |
The package provides classes to specify additional options when rendering documents.
|
com.groupdocs.viewer.results |
The package provides classes which represent document rendering results.
|
Modifier and Type | Method and Description |
---|---|
static FileType |
FileType.fromExtension(String extension)
Maps file extension to file type.
|
static FileType |
FileType.fromFilePath(String filePath)
Extracts file extension and maps it to file type.
|
static FileType |
FileType.fromMediaType(String mediaType)
Maps file media type to file type e.g.
|
static FileType |
FileType.fromStream(InputStream stream)
Detects file type by reading the file signature.
|
static FileType |
FileType.fromStream(InputStream stream,
com.groupdocs.foundation.logging.ILogger logger)
Detects file type by reading the file signature.
|
static FileType |
FileType.fromStream(InputStream stream,
String password)
Detects file type by reading the file signature.
|
static FileType |
FileType.fromStream(InputStream stream,
String password,
com.groupdocs.foundation.logging.ILogger logger)
Detects file type by reading the file signature.
|
static FileType |
FileType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileType[] |
FileType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static List<FileType> |
FileType.getSupportedFileTypes()
Retrieves supported file types
|
Modifier and Type | Method and Description |
---|---|
static boolean |
FileType.areEquals(FileType left,
FileType right)
Deprecated.
this tag was added just to exclude the method from JavaDoc
|
static boolean |
FileType.areNotEquals(FileType left,
FileType right)
Deprecated.
this tag was added just to exclude the method from JavaDoc
|
Modifier and Type | Method and Description |
---|---|
ArchiveViewInfo |
CacheableFactory.newArchiveViewInfo(FileType fileType,
List<Page> pages,
List<String> folders)
Creates implementation of ArchiveViewInfo interface
|
Attachment |
CacheableFactory.newAttachment(String id,
String fileName,
String filePath,
FileType fileType,
long size)
Creates implementation of LotusNotesViewInfo interface
|
CadViewInfo |
CacheableFactory.newCadViewInfo(FileType fileType,
List<Page> pages,
List<Layer> layers,
List<Layout> layouts)
Creates implementation of LotusNotesViewInfo interface
|
FileInfo |
CacheableFactory.newFileInfo(FileType fileType)
Creates implementation of LotusNotesViewInfo interface
|
LotusNotesViewInfo |
CacheableFactory.newLotusNotesViewInfo(FileType fileType,
List<Page> pages,
int notesCount)
Creates implementation of
LotusNotesViewInfo interface |
com.groupdocs.viewer.results.MboxViewInfo |
CacheableFactory.newMboxViewInfo(FileType fileType,
List<Page> pages,
int notesCount)
Creates implementation of TextElement interface
|
OutlookViewInfo |
CacheableFactory.newOutlookViewInfo(FileType fileType,
List<Page> pages,
List<String> folders)
Creates implementation of LotusNotesViewInfo interface
|
PdfViewInfo |
CacheableFactory.newPdfViewInfo(FileType fileType,
List<Page> pages,
boolean printingAllowed)
Creates implementation of LotusNotesViewInfo interface
|
ProjectManagementViewInfo |
CacheableFactory.newProjectManagementViewInfo(FileType fileType,
List<Page> pages,
Date startDate,
Date endDate)
Creates implementation of LotusNotesViewInfo interface
|
ViewInfo |
CacheableFactory.newViewInfo(FileType fileType,
List<Page> pages)
Creates implementation of
ViewInfo interface |
Modifier and Type | Method and Description |
---|---|
FileType |
LoadOptions.getFileType()
The type of the file to open.
|
Modifier and Type | Method and Description |
---|---|
void |
LoadOptions.setFileType(FileType value)
The type of the file to open.
|
Constructor and Description |
---|
LoadOptions(FileType fileType)
Initializes new instance of
LoadOptions class. |
Modifier and Type | Method and Description |
---|---|
FileType |
Attachment.getFileType()
Attachment file type.
|
FileType |
FileInfo.getFileType()
The type of the file.
|
FileType |
ViewInfo.getFileType()
The type of the file.
|