| java.lang.Object example.AppConfig
AppConfig | public class AppConfig (Code) | | AppConfig is a singleton <bean> service containing configuration.
|
Inner Class :public static class ConfigFilesLocation | |
Field Summary | |
ConfigFilesLocation | _cfl |
_cfl | ConfigFilesLocation _cfl(Code) | | |
openConfigFileRead | public ReadStream openConfigFileRead(String file) throws IOException(Code) | | Create and return a ReadStream for a configuration file, with
the file being relative to the base previously set with
setConfigFilesLocation()
a WriteStream, which can be treated as ajava.io.InputStream if desired See Also: java.io.InputStream |
openConfigFileWrite | public WriteStream openConfigFileWrite(String file) throws IOException(Code) | | Create and return an WriteStream for a configuration file, with
the file being relative to the base previously set with
setConfigFilesLocation().
a WriteStream, which can be treated as ajava.io.OutputStream if desired See Also: java.io.OutputStream |
setConfigFilesLocation | public void setConfigFilesLocation(String location) throws Exception(Code) | | Set the base for subsequent call's to openConfigFileRead()
and openConfigFileWrite()
Parameters: location - a file path or url |
|
|