public class DocumentManager extends Object
| Constructor and Description |
|---|
DocumentManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
FileInfo |
getFileInfo(InputStream inputStream,
String password) |
FileInfo |
getFileInfo(String fileName,
String password) |
IDocument |
loadDocument(InputStream inputStream,
String password,
ArrayList<DocumentListener> documentListeners) |
IDocument |
loadDocument(String fileName,
String password,
ArrayList<DocumentListener> documentListeners) |
LoadDocumentFutureTask |
loadDocumentAsync(InputStream inputStream,
String password,
ArrayList<DocumentListener> documentListeners) |
LoadDocumentFutureTask |
loadDocumentAsync(String fileName,
String password,
ArrayList<DocumentListener> documentListeners) |
public void dispose()
throws XDocException,
IOException
XDocExceptionIOExceptionpublic IDocument loadDocument(String fileName, String password, ArrayList<DocumentListener> documentListeners) throws FormatNotSupportedException, IncorrectPasswordException, XDocException, IOException
public LoadDocumentFutureTask loadDocumentAsync(String fileName, String password, ArrayList<DocumentListener> documentListeners) throws FormatNotSupportedException, IncorrectPasswordException, XDocException, IOException
public IDocument loadDocument(InputStream inputStream, String password, ArrayList<DocumentListener> documentListeners) throws FormatNotSupportedException, IncorrectPasswordException, XDocException, IOException
public LoadDocumentFutureTask loadDocumentAsync(InputStream inputStream, String password, ArrayList<DocumentListener> documentListeners) throws FormatNotSupportedException, IncorrectPasswordException, XDocException, IOException
public FileInfo getFileInfo(String fileName, String password) throws FileCorruptException, XDocException, IOException
public FileInfo getFileInfo(InputStream inputStream, String password) throws FileCorruptException, XDocException, IOException