?? generationtestsupport.java
字號:
package org.codehaus.xfire.generator;import java.io.File;import junit.framework.TestCase;public class GenerationTestSupport extends TestCase{ private static String basedirPath; public String getTestFilePath(String name) { return getTestFile(name).getAbsolutePath(); } public File getTestFile(String name) { return new File(getBasedir(), name); } public static String getBasedir() { if (basedirPath != null) { return basedirPath; } basedirPath = System.getProperty("basedir"); if (basedirPath == null) { basedirPath = new File("").getAbsolutePath(); } return basedirPath; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -