|
j3d-vrml97-0.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.j3d.loaders.vrml97.impl.Loader
public class Loader
Description of the Class
Field Summary | |
---|---|
static int |
LOAD_CONFORMANT
Description of the Field |
static int |
LOAD_OPTIMIZED
Description of the Field |
static int |
LOAD_STATIC
Description of the Field |
Constructor Summary | |
---|---|
Loader(Browser browser)
Constructor for the Loader object |
|
Loader(Browser initBrowser,
int loadMode)
Constructor for the Loader object |
Method Summary | |
---|---|
Scene |
load(InputStream is)
Description of the Method |
Scene |
load(Reader reader)
Description of the Method |
Scene |
load(URL worldURL)
Description of the Method |
void |
loadProto(String urlString,
String protoName,
Vector protoFields)
Description of the Method |
Script |
newScriptInstanceFromClassName(String scriptClassName)
Description of the Method |
void |
setWorldURL(URL baseURL,
URL worldURL)
Sets the worldURL attribute of the Loader object |
URL |
stringToURL(String urlString)
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LOAD_STATIC
public static final int LOAD_OPTIMIZED
public static final int LOAD_CONFORMANT
Constructor Detail |
---|
public Loader(Browser initBrowser, int loadMode)
initBrowser
- Description of the ParameterloadMode
- Description of the Parameterpublic Loader(Browser browser)
browser
- Description of the ParameterMethod Detail |
---|
public void setWorldURL(URL baseURL, URL worldURL) throws MalformedURLException
baseURL
- The new worldURL valueworldURL
- The new worldURL value
MalformedURLException
- Either no legal protocol could be found in one of the urls or one could not be parsed.public Scene load(URL worldURL) throws IOException, InvalidVRMLSyntaxException
worldURL
- Description of the Parameter
IOException
- If the file could not be opened.
InvalidVRMLSyntaxException
- If there was a problem unzipping or parsing.public Scene load(InputStream is) throws InvalidVRMLSyntaxException
is
- Description of the Parameter
InvalidVRMLSyntaxException
- If there was a problem unzipping or parsing.public Scene load(Reader reader) throws InvalidVRMLSyntaxException
reader
- Description of the Parameter
InvalidVRMLSyntaxException
- If there was a problem parsing.public URL stringToURL(String urlString) throws MalformedURLException
urlString
- Description of the Parameter
MalformedURLException
- Either no legal protocol could be found in a specification string or the string could not be parsed.public void loadProto(String urlString, String protoName, Vector protoFields) throws IOException, MalformedURLException, ParseException
urlString
- Description of the ParameterprotoName
- Description of the ParameterprotoFields
- Description of the Parameter
IOException
- If the proto could not be opened.
MalformedURLException
- Either no legal protocol could be found in urlString or it could not be parsed.
ParseException
- If there was a problem parsing.public Script newScriptInstanceFromClassName(String scriptClassName) throws IllegalAccessException, InstantiationException, ClassNotFoundException
scriptClassName
- Description of the Parameter
IllegalAccessException
- No access to the definition of the specified class.
InstantiationException
- There was a problem making an instance of the class.
ClassNotFoundException
- The class was not found.
|
j3d-vrml97-0.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |