public class DocumentParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
extract(byte[] bytes) |
static java.lang.String |
extract(java.io.File f)
Parses a Document and extracts the text from it
|
static java.lang.String |
extractExcel(byte[] bytes) |
static java.lang.String |
extractExcelX(byte[] bytes) |
static java.lang.String |
extractRTF(byte[] bytes) |
static java.lang.String |
extractWord(byte[] bytes) |
static java.lang.String |
extractWordX(byte[] bytes) |
public static java.lang.String extract(java.io.File f) throws java.io.IOException, java.io.FileNotFoundException
f
- A document filejava.io.IOException
java.io.FileNotFoundException
public static java.lang.String extract(byte[] bytes)
public static java.lang.String extractWord(byte[] bytes) throws java.io.IOException
java.io.IOException
public static java.lang.String extractWordX(byte[] bytes) throws java.io.IOException
java.io.IOException
public static java.lang.String extractExcel(byte[] bytes) throws java.io.IOException
java.io.IOException
public static java.lang.String extractExcelX(byte[] bytes) throws java.io.IOException
java.io.IOException
public static java.lang.String extractRTF(byte[] bytes) throws java.io.IOException, javax.swing.text.BadLocationException
java.io.IOException
javax.swing.text.BadLocationException
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.