|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 | |||||||||
java.lang.Objecttot.xml.ConfigurationUtils
public class ConfigurationUtils
Miscellaneous utility methods for configurations.
| 字段摘要 | |
|---|---|
protected static java.lang.String |
fileSeparator
File separator. |
| 方法摘要 | |
|---|---|
static void |
dump(Configuration configuration,
java.io.PrintStream out)
Dump the configuration key/value mappings to some ouput stream. |
static void |
dump(Configuration configuration,
java.io.PrintWriter out)
Dump the configuration key/value mappings to some writer. |
static java.net.URL |
getURL(java.lang.String basePath,
java.lang.String file)
Constructs a URL from a base path and a file name. |
static java.lang.String |
toString(Configuration configuration)
Get a string representation of the key/value mappings of a configuration. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected static java.lang.String fileSeparator
| 方法详细信息 |
|---|
public static void dump(Configuration configuration,
java.io.PrintStream out)
configuration - the configurationout - the output stream to dump the configuration to
public static void dump(Configuration configuration,
java.io.PrintWriter out)
configuration - the configurationout - the writer to dump the configuration topublic static java.lang.String toString(Configuration configuration)
configuration - the configuration
public static java.net.URL getURL(java.lang.String basePath,
java.lang.String file)
throws java.net.MalformedURLException
basePath - the base path URL (can be null)file - the file name
java.net.MalformedURLException - if URLs are invalid
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 | |||||||||