Terrier IR Platform
1.1.1

uk.ac.gla.terrier.applications.desktop.filehandling
Interface FileOpener

All Known Implementing Classes:
AssociationFileOpener, MacOSXFileOpener, WindowsFileOpener

public interface FileOpener

This interface is used for encapsulatign the platform-dependent process of opening a file with an arbitrary extension.

Version:
$Revision: 1.7 $
Author:
Vassilis Plachouras

Method Summary
 void load()
          Perform any loading in of data the implementor may require.
 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()
          Perform any saving to disk of data the implementor may requires.
 

Method Detail

open

void open(java.lang.String filename)
Opens the file with the given name, using either a pre-defined, or a user-defined application. This interface should be implemented by classes that should work for Linux or Windows.

Parameters:
filename - the name of the file to open.

save

void save()
Perform any saving to disk of data the implementor may requires.


load

void load()
Perform any loading in of data the implementor may require.


Terrier IR Platform
1.1.1

Terrier Information Retrieval Platform 1.1.1. Copyright 2004-2007 University of Glasgow