public class MultiOSFileOpener extends Object implements FileOpener
| Constructor and Description | 
|---|
| MultiOSFileOpener() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | load()Perform any loading in of data the implementor may require. | 
| static void | open(File file)Opens the given File in the system default viewer application. | 
| void | open(String filename)Opens the file with the given name, using either a 
 pre-defined, or a user-defined application. | 
| void | save()Perform any saving to disk of data the implementor may requires. | 
public void load()
load in interface FileOpenerpublic static void open(File file) throws IOException
file - the File to openIOException - if an application couldn't be found or if the File failed to launchpublic void open(String filename) throws Exception
open in interface FileOpenerfilename - the name of the file to open.Exceptionpublic void save()
save in interface FileOpenerTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow