Xj3D VRML/X3D Code API

org.web3d.util
Interface FileHandler

All Known Implementing Classes:
X3DBrowserAWTPanel, X3DBrowserAWTPanel, X3DBrowserJPanel, X3DBrowserJPanel

public interface FileHandler

Interface representing code that can open a file or URL in the browser.

Version:
$Revision: 1.1 $
Author:
Alan Hudson

Method Summary
 ErrorReporter getErrorReporter()
          Get the error reporter currently in use.
 void loadURL(java.lang.String url)
          Go to the named URL location.
 

Method Detail

loadURL

public void loadURL(java.lang.String url)
             throws java.io.IOException
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
Throws:
java.io.IOException

getErrorReporter

public ErrorReporter getErrorReporter()
Get the error reporter currently in use.

Returns:
The reporter instance

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium