org.semanticdesktop.aperture.opener
Interface DataOpener

All Known Implementing Classes:
EmailOpener, FileOpener, HttpOpener, OutlookCrawler

public interface DataOpener

A DataOpener opens a URI in its native application, e.g. an editor, web browser or mail reader. DataOpeners are typically scheme-dependent, e.g. a "file:" DataOpener may immediately open the indicated File in the application registered with the platform whereas a "http:" DataOpener may open a web browser.


Method Summary
 void open(URI uri)
          Opens the resource indicated by the specified URI in the application that the user typically would use to access such a resource.
 

Method Detail

open

void open(URI uri)
          throws IOException
Opens the resource indicated by the specified URI in the application that the user typically would use to access such a resource.

Parameters:
uri - The uri of the resource that should be opened
Throws:
IOException - In case of an I/O error.


Copyright © 2010 Aperture Development Team. All Rights Reserved.