资源简介
思途cms旅游系统商业版+完美破除授权+全开源+一键安装版php5.3.zip
代码片段和文件信息
/*
* YUI Compressor
* http://developer.yahoo.com/yui/compressor/
* Author: Julien Lecomte - http://www.julienlecomte.net/
* Author: Isaac Schlueter - http://foohack.com/
* Author: Stoyan Stefanov - http://phpied.com/
* Copyright (c) 2011 Yahoo! Inc. All rights reserved.
* The copyrights embodied in the content of this file are licensed
* by Yahoo! Inc. under the BSD (revised) open source license.
*/
package com.yahoo.platform.yui.compressor;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import java.util.ArrayList;
public class CssCompressor {
private StringBuffer srcsb = new StringBuffer();
public CssCompressor(Reader in) throws IOException {
// Read the stream...
int c;
while ((c = in.read()) != -1) {
srcsb.append((char) c);
}
}
// Leave data urls alone to increase parse performance.
protected String extractDataUrls(String css ArrayList preservedTokens) {
int maxIndex = css.length() - 1;
int appendIndex = 0;
StringBuffer sb = new StringBuffer();
Pattern p = Pattern.compile(“url\\(\\s*([\“‘]?)data\\:“);
Matcher m = p.matcher(css);
/*
* Since we need to account for non-base64 data urls we need to handle
* ‘ and ) being part of the data string. Hence switching to indexOf
* to determine whether or not we have matching string terminators and
* handling sb appends directly instead of using matcher.append* methods.
*/
while (m.find()) {
int startIndex = m.start() + 4; // “url(“.length()
String terminator = m.group(1); // ‘ “ or empty (not quoted)
if (terminator.length() == 0) {
terminator = “)“;
}
boolean foundTerminator = false;
int endIndex = m.end() - 1;
while(foundTerminator == false && endIndex+1 <= maxIndex) {
endIndex = css.indexOf(terminator endIndex+1);
if ((endIndex > 0) && (css.charAt(endIndex-1) != ‘\\‘)) {
foundTerminator = true;
if (!“)“.equals(terminator)) {
endIndex = css.indexOf(“)“ endIndex);
}
}
}
// Enough searching start moving stuff over to the buffer
sb.append(css.substring(appendIndex m.start()));
if (foundTerminator) {
String token = css.substring(startIndex endIndex);
token = token.replaceAll(“\\s+“ ““);
preservedTokens.add(token);
String preserver = “url(___YUICSSMIN_PRESERVED_TOKEN_“ + (preservedTokens.size() - 1) + “___)“;
sb.append(preserver);
appendIndex = endIndex + 1;
} else {
// No end terminator found re-add the whole match. Should we throw/warn here?
sb.append(css.substring(m.start() m.end()));
appendIndex = m.end();
}
}
sb.append(css.substring(appendIndex));
return sb.toString();
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-08-12 14:44 test.situcms.com\
文件 174 2018-08-11 17:17 test.situcms.com\.buildpath
文件 8237 2018-08-12 14:23 test.situcms.com\.htaccess
文件 526 2018-08-11 17:17 test.situcms.com\.project
目录 0 2018-08-12 12:57 test.situcms.com\.settings\
文件 92 2018-08-11 17:17 test.situcms.com\.settings\org.eclipse.php.core.prefs
文件 623 2014-10-08 16:51 test.situcms.com\404.php
目录 0 2015-01-04 13:23 test.situcms.com\ajax\
文件 3367 2014-10-08 16:51 test.situcms.com\ajax\ajax.php
文件 5810 2014-10-08 16:51 test.situcms.com\ajax\ajax_login.php
文件 1021 2014-10-08 16:51 test.situcms.com\ajax\qq.php
文件 715 2014-10-08 16:51 test.situcms.com\ajax\stats.php
目录 0 2015-01-04 13:23 test.situcms.com\alipay\
目录 0 2015-01-04 13:23 test.situcms.com\alipay\cash\
文件 1919 2014-10-08 16:51 test.situcms.com\alipay\cash\alipay.config.php
文件 3931 2014-10-08 16:51 test.situcms.com\alipay\cash\alipayapi.php
文件 256888 2014-10-08 16:51 test.situcms.com\alipay\cash\cacert.pem
目录 0 2015-01-04 13:23 test.situcms.com\alipay\cash\images\
文件 1511 2014-10-08 16:51 test.situcms.com\alipay\cash\images\alipay.gif
文件 5902 2014-10-08 16:51 test.situcms.com\alipay\cash\images\new-btn-fixed.png
文件 6106 2014-10-08 16:51 test.situcms.com\alipay\cash\index.php
目录 0 2015-01-04 13:23 test.situcms.com\alipay\cash\lib\
文件 6507 2014-10-08 16:51 test.situcms.com\alipay\cash\lib\alipay_core.function.php
文件 906 2014-10-08 16:51 test.situcms.com\alipay\cash\lib\alipay_md5.function.php
文件 5463 2014-10-08 16:51 test.situcms.com\alipay\cash\lib\alipay_notify.class.php
文件 5736 2014-10-08 16:51 test.situcms.com\alipay\cash\lib\alipay_submit.class.php
文件 94 2014-10-08 16:51 test.situcms.com\alipay\cash\log.txt
文件 5941 2014-10-08 16:51 test.situcms.com\alipay\cash\notify_url.php
文件 8722 2014-10-08 16:51 test.situcms.com\alipay\cash\readme.txt
文件 3269 2014-10-08 16:51 test.situcms.com\alipay\cash\return_url.php
目录 0 2015-01-04 13:23 test.situcms.com\alipay\double\
............此处省略7818个文件信息
相关资源
- 直链王-自动上链
- 好用的php微信企业号
- php小说采集demo
- 韩顺平 PHP从入门到精通百度云资源(
- Xblog、PHPwind、Oblog三款主流商用博客软
- ZipFile.php(PHP压缩类打包)
- PHP支持手势的手机端图片裁剪上传
- vip影视源码自动无需采集THINKPHP版
- Delphi微信支付SDKD7~XE10通用
- php大马一句话数据库集合
- thinkphp 在线电子手写签名 已分离出
- thinkphp简易抢红包.rar
- php-7-data-structures-algorithms.rar
- zw_qq1124794084-9971392-phpcms_v9.6.0_UTF8.zip
- 热搜视频解析,VIP视频解析网站源码
-
Phpcmsv9.3.6ba
seUE4Fix.zip - php+mysql+apache的图书管理系统.rar
- phpmysql.zip
- zw_kiwisyslogserverwithphpwebview.zip
- phpdisk3.5网赚破解版.rar
- 最新阿狸子订单系统V2.4.2豪华版PHP订
- 网上书城系统(PHP+MYSQL).zip
- php+mysql学生成绩查询系统.zip
- PHPopen-lims-master.zip
- lfcms_php.zip
- 云呼服务器源码phpAPK正版授权云呼系
- HP_10bii_EMU_20121210.zip
- 基于PHP的图书借阅管理系统.zip
- php无限级分类实现评论及回复.rar
- PHP报价计算器仿土巴兔.7z
评论
共有 条评论