Package xj3d.browser
Interface FileHandler
public interface FileHandler
Interface representing code that can open a file or URL in the browser.
- Version:
- $Revision: 1.2 $
- Author:
- Justin Couch
-
Method Summary
Modifier and TypeMethodDescriptionvoid
gotoLocation
(File file) Load the named file.void
gotoLocation
(org.ietf.uri.URL url) Go to the named URL location.
-
Method Details
-
gotoLocation
void gotoLocation(org.ietf.uri.URL url) Go to the named URL location. No checking is done other than to make sure it is a valid URL.- Parameters:
url
- The URL to open
-
gotoLocation
Load the named file. The file is checked to make sure that it exists before calling this method.- Parameters:
file
- The file to load
-