|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.j3d.loaders.LoaderBase
This class implements the Loader interface. To use a file loader would extend this class.
Field Summary | |
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. |
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 | |
LoaderBase()
Constructs a Loader with default values for all variables. |
|
LoaderBase(int flags)
Constructs a Loader with the specified flags word. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.j3d.loaders.Loader |
load, load, load |
Field Detail |
protected int loadFlags
protected java.net.URL baseUrl
protected java.lang.String basePath
Constructor Detail |
public LoaderBase()
public LoaderBase(int flags)
Method Detail |
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)
setFlags
in interface Loader
public int getFlags()
getFlags
in interface Loader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |