@SuppressWarnings("unchecked")
	public static void main(String[] args) throws IOException {
		String path = "E:/workspace/git/LeeCMS/leecms/src/main/webapp/p/common/template10/css/";
		String pre="http://www.xslsbj.com/style/";
		Collection<File> listFiles = FileUtils.listFiles(new File(path), new String[]{"css"},false);
		Set<String> out = new HashSet<String>();
		for (File _file : listFiles) {
			List<String> readLines = FileUtils.readLines(_file);
			for (String object : readLines) {
				if (object.contains("url")) {
					int start = object.indexOf("url(");
					int end = object.indexOf(")", start);
					if (start > -1 && end > start) {
						String jpg = object.substring(start+4, end);
						if(jpg.contains(".jpg")||jpg.contains(".gif"))
							out.add((pre+jpg).replaceAll("\"", "").replaceAll("//", "/"));
					}
				}
			}
		}
		for (String string : out) {
			System.out.println(string);
		}
	}