📄 testmethod.java
字号:
/*
* Created on 2005/05/11
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
/**
* @author Administrator
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
import javax.swing.UIManager;
import java.awt.*;
public class TestMethod {
private String sWebAddr = "http://cimg.163.com/biz/2005/5/12/20050512081939d41d8.jpg";
private String sSavePath = "d:\\Temp";
private String sSaveName = "200.jpg";
public TestMethod() {
try {
SiteInfoBean bean = new SiteInfoBean(sWebAddr,sSavePath,sSaveName,5);
SiteFileFetch fileFetch = new SiteFileFetch(bean);
fileFetch.start();
}
catch(Exception e) {
e.printStackTrace ();
}
}
public static void main(String[] args) {
new TestMethod();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -