public class BasicStoragePolicy extends AbstractStoragePolicy
Constructor and Description |
---|
BasicStoragePolicy() |
Modifier and Type | Method and Description |
---|---|
boolean |
close(Document d)
Close the document.
|
Document |
open(Application app)
Open a new document.
|
Document |
open(File file,
Application app)
Open a file and create a new document.
|
Document |
open(URL url,
Application app)
Open a URL and create a new document.
|
boolean |
save(Document d)
Save the document.
|
boolean |
saveAs(Document d)
Save the document to a user-specified location.
|
getDirectory, setDirectory, setDirectory
public boolean close(Document d)
public Document open(Application app)
public Document open(File file, Application app)
public Document open(URL url, Application app)
public boolean save(Document d)
public boolean saveAs(Document d)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.