|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Independent thread used to load a world from a list of URLs and then place it in the given node.
This implementation is designed to work as both a loadURL() and createVrmlFromUrl() call handler. The difference is defined by what data is supplied to the thread. If the target node is specified, then we assume that the caller wants us to put the results there. If it is null, then assume that we're doing a loadURL call and replace the entire world.
| Method Summary | |
VRMLScene |
loadNow(BrowserCore core,
InputSource source)
Request to load the world immediately. |
VRMLScene |
loadNow(BrowserCore core,
InputSource source,
boolean ignoreHeader)
Request to load the world immediately. |
VRMLScene |
loadNow(BrowserCore core,
InputSource source,
boolean ignoreHeader,
int majorVersion,
int minorVersion)
Request to load the world immediately and constrain that loading to using a specific specification version. |
| Method Detail |
public VRMLScene loadNow(BrowserCore core,
InputSource source)
throws java.io.IOException,
VRMLParseException
source - The source to take the content fromcore - The browser core needed for obtaining information
java.io.IOException - There was an I/OError reading the file
VRMLParseException - Some parsing error occurred during this
scene processing
public VRMLScene loadNow(BrowserCore core,
InputSource source,
boolean ignoreHeader)
throws java.io.IOException,
VRMLParseException
source - The source to take the content fromcore - The browser core needed for obtaining informationignoreHeader - false if it should look for the file header to
check version information
java.io.IOException - There was an I/OError reading the file
VRMLParseException - Some parsing error occurred during this
scene processing
public VRMLScene loadNow(BrowserCore core,
InputSource source,
boolean ignoreHeader,
int majorVersion,
int minorVersion)
throws java.io.IOException,
VRMLParseException
A major version of 0 means to ignore the required version and just load whatever can be found.
source - The source to take the content fromcore - The browser core needed for obtaining informationignoreHeader - false if it should look for the file header to
check version informationmajorVersion - Require the given major versionminorVersion - Require the given minor version
java.io.IOException - There was an I/OError reading the file
VRMLParseException - Some parsing error occurred during this
scene processing
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||