📄 webinfo.java
字号:
package downLoadImage;
public class WebInfo {
public static String WebSite="";//"http://www.piduo.cn/";
public static String StartPage="";//"http://www.piduo.cn/rihanmeinv/";
public static String SavePath="images";
public static String Prefix="";
public static int SearchDepth=2;
public static int MaxThread=10;
public static long FileSize=50;
public static String FilterUrl="shtml|html|aspx|htm|php";
public static String FilterImage="jpg|bmp|png";
public static String getCurrentURL(String s){
if (s==null||s.equals(""))
return null;
else{
char c;
int directory=s.length();
StringBuffer sb=new StringBuffer();
for(int i=0;i<directory;i++){
c=s.charAt(i);
if(c>='a'&&c<='z'||c>='A'&&c<='Z'||c>='0'&&c<='9')
sb.append(c);
}
String str=sb.toString();
str=str.length()>251?str.substring(str.length()-250,str.length()):str;
sb=null;
return str;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -