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 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.

Previous Next

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 (free registration is required).
ViewerApi apiInstance = new ViewerApi(appSid, appKey);
HtmlGetAttachmentsRequest request = new HtmlGetAttachmentsRequest();
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. 

Retrieve Fonts

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 (free registration is required).
ViewerApi apiInstance = new ViewerApi(appSid, appKey);
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.


Support and Learning Resources