Modifier and Type | Field and Description |
---|---|
protected String |
basePath
Stores the basePath for data files associated with the file
passed into load(String).
|
protected 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 |
---|---|
String |
getBasePath()
Returns the current base path setting.
|
URL |
getBaseUrl()
Returns the current base URL setting.
|
int |
getFlags()
Returns the current loading flags setting.
|
void |
setBasePath(String pathName)
This method sets the base path name for data files associated with
the file.
|
void |
setBaseUrl(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 URL baseUrl
protected String basePath
public LoaderBase()
public LoaderBase(int flags)
public void setBaseUrl(URL url)
setBaseUrl
in interface Loader
public void setBasePath(String pathName)
setBasePath
in interface Loader
public URL getBaseUrl()
getBaseUrl
in interface Loader
public String getBasePath()
getBasePath
in interface Loader
public void setFlags(int flags)
Copyright © 2016–2022 SciJava. All rights reserved.