test.java

来自「操作系统课内实验部分」· Java 代码 · 共 27 行

JAVA
27
字号
/** * This program illustrates how to get the values of * * 	1. The log file * 	2. the document base * 	3. the name of the server. */public class Test{	public static void main(String[] args) {		Configuration configutor = null;			try {			configutor = new Configuration("./config.xml");		}		catch (ConfigurationException ce) {			System.out.println(ce);			System.exit(0);		}		System.out.println(configutor.getLogFile());		System.out.println(configutor.getDocBase());		System.out.println(configutor.getServerName());	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?