| Package | Description |
|---|---|
| com.groupdocs.viewer |
The package provides classes for rendering documents in HTML5, Image, or PDF modes with fast and high-quality results.
|
| 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 and interfaces that represent document rendering results.
|
| Modifier and Type | Method and Description |
|---|---|
static FileType |
FileType.fromExtension(String extension)
Maps a file extension to a file type.
|
static FileType |
FileType.fromFilePath(String filePath)
Extracts the file extension from a file name or file path and maps it to a file type.
|
static FileType |
FileType.fromMediaType(String mediaType)
Maps a file media type to a file type.
|
static FileType |
FileType.fromStream(InputStream stream)
Detects the file type by reading the file signature.
|
static FileType |
FileType.fromStream(InputStream stream,
com.groupdocs.foundation.logging.ILogger logger)
Detects the file type by reading the file signature.
|
static FileType |
FileType.fromStream(InputStream stream,
String password)
Detects the file type by reading the file signature.
|
static FileType |
FileType.fromStream(InputStream stream,
String password,
com.groupdocs.foundation.logging.ILogger logger)
Detects the 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 the 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 an implementation of the
ArchiveViewInfo interface for the specified file type, pages, and folders. |
Attachment |
CacheableFactory.newAttachment(String id,
String fileName,
String filePath,
FileType fileType,
long size)
Creates an implementation of the
Attachment interface. |
CadViewInfo |
CacheableFactory.newCadViewInfo(FileType fileType,
List<Page> pages,
List<Layer> layers,
List<Layout> layouts)
Creates an implementation of the
CadViewInfo interface with the specified file type, pages, layers, and layouts. |
FileInfo |
CacheableFactory.newFileInfo(FileType fileType)
Creates an implementation of the
FileInfo interface for the specified file type. |
LotusNotesViewInfo |
CacheableFactory.newLotusNotesViewInfo(FileType fileType,
List<Page> pages,
int notesCount)
Creates an implementation of the
LotusNotesViewInfo interface for the specified file type, pages, and notes count. |
com.groupdocs.viewer.results.MboxViewInfo |
CacheableFactory.newMboxViewInfo(FileType fileType,
List<Page> pages,
int notesCount)
Creates an implementation of the
MboxViewInfo interface with the specified file type, pages, and notes count. |
OutlookViewInfo |
CacheableFactory.newOutlookViewInfo(FileType fileType,
List<Page> pages,
List<String> folders)
Creates an implementation of the
OutlookViewInfo interface based on the specified file type,
list of pages, and list of folders. |
PdfViewInfo |
CacheableFactory.newPdfViewInfo(FileType fileType,
List<Page> pages,
boolean printingAllowed)
Creates an implementation of the
PdfViewInfo interface with the specified file type, pages, and printing allowed flag. |
ProjectManagementViewInfo |
CacheableFactory.newProjectManagementViewInfo(FileType fileType,
List<Page> pages,
Date startDate,
Date endDate)
Creates an implementation of the
ProjectManagementViewInfo interface with the specified file type, pages, start date, and end date. |
ViewInfo |
CacheableFactory.newViewInfo(FileType fileType,
List<Page> pages)
Creates an implementation of the
ViewInfo interface for the specified file type and pages. |
| Modifier and Type | Method and Description |
|---|---|
FileType |
LoadOptions.getFileType()
Gets the type of the file to open.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoadOptions.setFileType(FileType value)
Sets the type of the file to open.
|
| Constructor and Description |
|---|
LoadOptions(FileType fileType)
Initializes a new instance of the
LoadOptions class. |
| Modifier and Type | Method and Description |
|---|---|
FileType |
Attachment.getFileType()
Retrieves the file type of the attachment.
|
FileType |
FileInfo.getFileType()
Retrieves the type of the file.
|
FileType |
ViewInfo.getFileType()
Retrieves the type of the file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Attachment.setFileType(FileType fileType)
Sets the file type of the attachment.
|
void |
FileInfo.setFileType(FileType fileType)
Sets the type of the file.
|
void |
ViewInfo.setFileType(FileType fileType)
Sets the file type.
|
Copyright © 2025. All rights reserved.