public static class TextDocument.Factory extends Object implements DocumentFactory
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
Document |
createDocument(Application app)
Create an empty document.
|
Document |
createDocument(Application app,
File file)
Create a new document that contains data from the given file.
|
Document |
createDocument(Application app,
URL url)
Create a new document that contains data from the given URL.
|
public Document createDocument(Application app)
createDocument
in interface DocumentFactory
public Document createDocument(Application app, URL url)
createDocument
in interface DocumentFactory
public Document createDocument(Application app, File file)
createDocument
in interface DocumentFactory
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.