|
j3d-vrml97-0.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j3d.loaders.LoaderBase
org.jdesktop.j3d.loaders.vrml97.VrmlLoader
public class VrmlLoader
This is an implementation of the Java3D utility loader interface. A VrmlScene can be loaded via URL, filesystem pathname or a Reader. The "base" URL or pathname is the pathname used for relative paths in the WRL. If the base is not specified it will be derived from the main URL or pathname.
VrmlScene
,
Loader
,
Scene
Field Summary |
---|
Fields inherited from class com.sun.j3d.loaders.LoaderBase |
---|
basePath, baseUrl, loadFlags |
Fields inherited from interface com.sun.j3d.loaders.Loader |
---|
LOAD_ALL, LOAD_BACKGROUND_NODES, LOAD_BEHAVIOR_NODES, LOAD_FOG_NODES, LOAD_LIGHT_NODES, LOAD_SOUND_NODES, LOAD_VIEW_GROUPS |
Constructor Summary | |
---|---|
VrmlLoader()
Constructor for the VrmlLoader object Will be setup to load static scene. |
|
VrmlLoader(int flags)
Constructor for the VrmlLoader object Will be setup to load static scene. |
Method Summary | |
---|---|
Scene |
load(Reader reader)
Description of the Method |
Scene |
load(String pathname)
Description of the Method |
Scene |
load(URL url)
Description of the Method |
Methods inherited from class com.sun.j3d.loaders.LoaderBase |
---|
getBasePath, getBaseUrl, getFlags, setBasePath, setBaseUrl, setFlags |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VrmlLoader(int flags)
flags
- These are ignored for the time being.public VrmlLoader()
Method Detail |
---|
public Scene load(Reader reader) throws FileNotFoundException, IncorrectFormatException, ParsingErrorException
reader
- Description of the Parameter
FileNotFoundException
- If the file could not be found or opened.
IncorrectFormatException
- If a file of an incorrect type was passed.
ParsingErrorException
- If a problem was encountered parsing the file.public Scene load(String pathname) throws FileNotFoundException, IncorrectFormatException, ParsingErrorException
pathname
- Description of the Parameter
FileNotFoundException
- If the file could not be found or opened.
IncorrectFormatException
- If a file of an incorrect type was passed.
ParsingErrorException
- If a problem was encountered parsing the file.public Scene load(URL url) throws FileNotFoundException, IncorrectFormatException, ParsingErrorException
url
- Description of the Parameter
FileNotFoundException
- If the file could not be found or opened.
IncorrectFormatException
- If a file of an incorrect type was passed.
ParsingErrorException
- If a problem was encountered parsing the file.
|
j3d-vrml97-0.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |