Build robust document rendering & viewing tools using Java REST API. Boost your development without worrying about underlying details.
Start Free TrialGroupDocs.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.
Configuration
using available Client Id and Client Secret.Configuration
using instance of Configuration
.FileInfo
and set path to input file using FileInfo.setFilePath
method.ViewOptions
and use setFileInfo
with instance of FileInfo
.ViewApi.createView
to render input file into images and HTML.Check out GroupDocs.Viewer Cloud SDK for Java at GitHub if you are looking for the source code to view file in the Cloud.
You can try GroupDocs.Viewer Low-Code Java APIs without any limitations.
GroupDocs.Viewer Cloud is also available as Docker image which can be used to self-host the service. Or you may build your own services using GroupDocs.Viewer High-code APIs which currently drive our REST APIs.
The cloud-based viewer API can quickly provide the complete list of existing files and folders with few lines of code.
Get Files List from the Specific Storage and Folder - Java
//Get your App SID and App Key at https://dashboard.groupdocs.cloud (free registration is required).
FolderApi apiInstance = new FolderApi(appSID, appKey);
GetFilesListRequest request = new GetFilesListRequest("folder name", "storage name");
FilesList response = apiInstance.getFilesList(request);
for (StorageFile storageFile : response.getValue()) {
System.out.println((storageFile.getIsFolder() ? "Folder - " : "File - ") + storageFile.getPath());
}
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 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.
Render and display various document formats within Java applications.
Choose from multiple viewing options, including whole documents, specific pages, or custom page ranges.
View documents in HTML, image (JPEG, PNG, TIFF), or PDF formats.
Easily incorporate document viewing capabilities into Java applications.
Customize viewer settings such as zoom levels, rotation, and text selection.
Extract document metadata, including properties, page count, and file size.
Add watermarks to documents and annotate them with text comments, highlights, and shapes.
Ensure secure communication between the Java application and GroupDocs.Viewer Cloud API.
Utilize an efficient caching mechanism to optimize rendering performance.
Benefit from the high availability and reliability of GroupDocs.Viewer Cloud for Java.