|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.soa.impl.AbstractConfigLoader
An abstract class that defines many of the configuration loader methods.
Subclassers need to define the load() method.
| Field Summary | |
protected java.io.File |
file
the file |
protected java.io.InputStream |
inputStream
input stream |
protected java.lang.String |
uri
the property url |
| Constructor Summary | |
AbstractConfigLoader()
Default constructor |
|
| Method Summary | |
AssemblyConfig |
load(java.io.File file)
Loads the configuration as a system file |
AssemblyConfig |
load(java.io.InputStream inputStream)
Loads the configuration as an input stream |
AssemblyConfig |
load(java.lang.String uri)
Loads the configuration as a URI path |
void |
setFile(java.io.File file)
Sets the system file |
void |
setInputStream(java.io.InputStream inputStream)
Sets the input stream |
void |
setUri(java.lang.String uri)
Sets the URI path |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.xenonsoft.bridgetown.resources.IConfigLoader |
load |
| Field Detail |
protected java.io.InputStream inputStream
protected java.io.File file
protected java.lang.String uri
| Constructor Detail |
public AbstractConfigLoader()
| Method Detail |
public void setFile(java.io.File file)
setFile in interface IConfigLoaderfile -
com.xenonsoft.bridgetown.soa.config.IConfigLoader#setFile(java.io.File)public void setInputStream(java.io.InputStream inputStream)
setInputStream in interface IConfigLoaderinputStream -
com.xenonsoft.bridgetown.soa.config.IConfigLoader#setInputStream(java.io.InputStream)public void setUri(java.lang.String uri)
setUri in interface IConfigLoaderuri -
com.xenonsoft.bridgetown.soa.config.IConfigLoader#setUri(java.lang.String)public AssemblyConfig load(java.lang.String uri)
load in interface IConfigLoaderuri -
com.xenonsoft.bridgetown.soa.config.IConfigLoader#load(java.lang.String)public AssemblyConfig load(java.io.File file)
load in interface IConfigLoaderfile -
com.xenonsoft.bridgetown.soa.config.IConfigLoader#load(java.io.File)public AssemblyConfig load(java.io.InputStream inputStream)
load in interface IConfigLoaderinputStream -
com.xenonsoft.bridgetown.soa.config.IConfigLoader#load(java.io.InputStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||