com.sun.j3d.loaders
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
basePath
Stores the basePath for data files associated with the file
passed into load(String).
|
protected java.net.URL |
baseUrl
Stores the baseUrl for data files associated with the URL
passed into load(URL).
|
protected int |
loadFlags
Stores the types of objects that the user wishes to load.
|
LOAD_ALL, LOAD_BACKGROUND_NODES, LOAD_BEHAVIOR_NODES, LOAD_FOG_NODES, LOAD_LIGHT_NODES, LOAD_SOUND_NODES, LOAD_VIEW_GROUPS
Constructor and Description |
---|
LoaderBase()
Constructs a Loader with default values for all variables.
|
LoaderBase(int flags)
Constructs a Loader with the specified flags word.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBasePath()
Returns the current base path setting.
|
java.net.URL |
getBaseUrl()
Returns the current base URL setting.
|
int |
getFlags()
Returns the current loading flags setting.
|
void |
setBasePath(java.lang.String pathName)
This method sets the base path name for data files associated with
the file.
|
void |
setBaseUrl(java.net.URL url)
This method sets the base URL name for data files associated with
the file.
|
void |
setFlags(int flags)
This method sets the load flags for the file.
|
protected int loadFlags
protected java.net.URL baseUrl
protected java.lang.String basePath
public LoaderBase()
public LoaderBase(int flags)
public void setBaseUrl(java.net.URL url)
setBaseUrl
in interface Loader
public void setBasePath(java.lang.String pathName)
setBasePath
in interface Loader
public java.net.URL getBaseUrl()
getBaseUrl
in interface Loader
public java.lang.String getBasePath()
getBasePath
in interface Loader
public void setFlags(int flags)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.