org.terrier.applications.desktop.filehandling
Class WindowsFileOpener

java.lang.Object
  extended by org.terrier.applications.desktop.filehandling.WindowsFileOpener
All Implemented Interfaces:
FileOpener

public class WindowsFileOpener
extends java.lang.Object
implements FileOpener

This class implements the interface FileOpener for Windows, using native code and JNI to call the method ShellExecuteEx.

Author:
Vassilis Plachouras

Constructor Summary
WindowsFileOpener()
           
 
Method Summary
 void load()
          Does nothing, not used
 void open(java.lang.String filename)
          Opens the file with the given name.
 void save()
          Does nothing, not used
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsFileOpener

public WindowsFileOpener()
Method Detail

open

public void open(java.lang.String filename)
Opens the file with the given name.

Specified by:
open in interface FileOpener
Parameters:
filename - the name of the file to open.
See Also:
FileOpener.open(java.lang.String)

load

public void load()
Does nothing, not used

Specified by:
load in interface FileOpener

save

public void save()
Does nothing, not used

Specified by:
save in interface FileOpener


Terrier 3.5. Copyright © 2004-2011 University of Glasgow