GroupDocs.Editor is a one-stop solution for Document Editing as HTML. The edited documents can be saved in original format as well as other formats including Microsoft Word documents (DOC, DOCX), Excel spreadsheets (XLS, XLSX), PDF & TXT.
Directory | Description |
---|---|
Docs | Product documentation containing the Developer's Guide, Release Notes and more. |
Examples | Java examples and sample documents for you to get started quickly. |
Demos | Frontend examples to help you learn how to Implement product features in a Web-UI based application. |
GroupDocs.Editor for Java requires J2SE J2SE 6.0 (1.6), 7.0 (1.7), J2SE 8.0 (1.8) or above. Please install Java first if you do not have it already.
GroupDocs hosts all Java APIs on GroupDocs Artifact Repository, so simply configure your Maven project to fetch the dependencies automatically.
InputStream inputStream = new FileInputStream(CommonUtilities.getStoragePath(fileName));
try {
InputHtmlDocument htmlDoc = EditorHandler.toHtml(inputStream);
String bodyContent = htmlDoc.getContent();
System.out.println(bodyContent);
} catch (Exception ex){
ex.getMessage();
}
Home | Product Page | Documentation | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License