Java SDK for Quality Document Rendering
Build robust document rendering & viewing tools using Java REST APIs. Boost your development without worrying about underlying details.Start Free Trial
GroupDocs.Viewer Cloud SDK for Java
GroupDocs.Viewer Cloud is a true REST API that gives the complete freedom of platform & programming language whereas GroupDocs.Viewer Cloud SDK for Java is built as a layer on the top of GroupDocs.Viewer Cloud REST API, allowing a higher level of abstraction so that you don't need to know the REST API to use this SDK.
GroupDocs.Viewer Cloud API allows you to seamlessly enhance your application with the capability to render a number of document formats with the ability to view a specific document in HTML, image, PDF or its original format. You also get the flexibility to render the whole document, page by page or custom range of pages. GroupDocs.Viewer Cloud SDK for Java has been developed to help you integrate all these features in your Java application without any hassle.
If you do not want to use any of our SDKs or the required SDK is not available at the moment, you can still easily get started with GroupDocs.Viewer REST API while using your favorite language & platform.
GroupDocs.Viewer Cloud SDK for Java requires Java Runtime Environment and can run on any platform where these requirements can be met.
API Supported Document Formats
GroupDocs.Viewer Cloud SDK for Java supports a number of document formats.
- Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF
- Excel: XLS, XLSX, XLSM, XLSB, XLTX, XLTM
- PowerPoint: PPT, PPTX, PPS, PPSX, PPSM, POTM, PPTM, POTX
- Visio: VSD, VDX, VSS, VSX, VST, VTX, VSDX, VDW, VSSX, VSTX, VSDM, VSTM, VSSM
- Project: MPP, MPT
- Outlook: MSG, EML, PST, OST
- OneNote: ONE
- OpenDocument: ODT, OTT, ODS, ODP, OTP, OTS, ODG
- Apple Mail: EMLX
- Fixed Layout: PDF, XPS
- Image Files: BMP, GIF, JPG, PNG, TIFF, multi-page TIFF, WebP, DjVu, SVG, DNG
- Jpeg2000: JP2, J2C, J2K, JPF, JPX, JPM
- Web: HTML, MHT, MHTML
- Metafile: WMF, EMF, CGM
- Other: XML, TXT, CSV, TSV, TEX, DICOM, PCL, ICO, EPUB, MOBI
Advanced Document Viewer REST API Features
Render documents as HTML5
Render documents as image
Rotate, reorder & watermark pages
Render documents as PDF
Render document attachments
Get document information
HTML Representation of Email Attachments List
The cloud-based viewer API has the ability to list the email attachments for HTML representation. This feature of the API returns a list of attachments with a simple API call.
Get Email Attachments for HTML Representation - Java
//Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required). ViewerApi apiInstance = new ViewerApi(appSid, appKey); HtmlGetAttachmentsRequest request = new HtmlGetAttachmentsRequest(); request.setFileName("Template.msg"); request.setFolder("viewerdocs"); request.setStorage("MyStorage"); AttachmentCollection response = apiInstance.htmlGetAttachments(request);
Quickly Get Started with Document Viewing REST API
Get started quickly using GroupDocs.Viewer Cloud REST API with the GroupDocs.Viewer Cloud SDK for Java. It facilitates the users and speeds up the development of their applications written in Java while taking care of a lot of low-level details of making requests and handling responses and lets the users focus on writing code specific to their particular project.
GroupDocs.Viewer Cloud REST APIs allows you to get the installed fonts to resource from the API server. The API returns a list of installed fonts. The API also has the ability to delete the fonts cache from the API server. In this case, the API returns an empty response with '204 No Content' status to confirm the deletion.
Delete fonts cache - Java
//Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required). ViewerApi apiInstance = new ViewerApi(appSid, appKey); apiInstance.deleteFontsCache(); System.out.println("Cache Deleted");
Easy Customization Options
GroupDocs.Viewer Cloud SDK is 100% tested and out of the box running. The SDK is open source and has an MIT license. You can use it, and even customize it for absolutely free of charge.
GroupDocs.Viewer Cloud also offers individual document rendering SDKs for other popular languages as listed below: