|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.gla.terrier.applications.desktop.filehandling.AssociationFileOpener
public class AssociationFileOpener
This class implements the interface FileOpener, using a properties file for storing the file associations.
Constructor Summary | |
---|---|
AssociationFileOpener()
|
Method Summary | |
---|---|
void |
load()
Loaads the file assocciations to use from a properties file. |
void |
open(java.lang.String filename)
Opens the file with the given name, using either a pre-defined, or a user-defined application. |
void |
save()
Saves the used file assocciations to a properties file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssociationFileOpener()
Method Detail |
---|
public void open(java.lang.String filename)
open
in interface FileOpener
filename
- the name of the file to open.public void save()
save
in interface FileOpener
public void load()
load
in interface FileOpener
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |