91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 46.81MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-06-16
  • 語言: PHP
  • 標(biāo)簽: PHP??

資源簡介

基于PHP技術(shù) 網(wǎng)絡(luò)課堂學(xué)習(xí)系統(tǒng) 非常適合用于現(xiàn)在流行的翻轉(zhuǎn)課堂理論哦

資源截圖

代碼片段和文件信息

/*
?*?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??2015-01-14?10:16??moodle-2.8.2\
?????目錄???????????0??2015-01-14?10:00??moodle-2.8.2\moodle\
?????文件?????????195??2015-01-10?20:12??moodle-2.8.2\moodle\.csslintrc
?????文件????????1228??2015-01-10?20:12??moodle-2.8.2\moodle\.jshintrc
?????文件??????????67??2015-01-10?20:12??moodle-2.8.2\moodle\.shifter.json
?????目錄???????????0??2015-01-14?10:00??moodle-2.8.2\moodle\admin\
?????文件????????2986??2015-01-10?20:12??moodle-2.8.2\moodle\admin\auth.php
?????文件????????7709??2015-01-10?20:12??moodle-2.8.2\moodle\admin\auth_config.php
?????文件???????10184??2015-01-10?20:12??moodle-2.8.2\moodle\admin\blocks.php
?????文件????????6074??2015-01-10?20:12??moodle-2.8.2\moodle\admin\category.php
?????目錄???????????0??2015-01-14?10:00??moodle-2.8.2\moodle\admin\cli\
?????文件????????3072??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\alternative_component_cache.php
?????文件????????2795??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\automated_backups.php
?????文件????????4089??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\backup.php
?????文件????????1940??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\check_database_schema.php
?????文件????????1823??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\cron.php
?????文件????????4387??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\fix_course_sequence.php
?????文件????????3358??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\fix_deleted_users.php
?????文件???????27672??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\install.php
?????文件????????5893??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\install_database.php
?????文件????????3704??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\maintenance.php
?????文件????????7463??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\mysql_collation.php
?????文件????????6695??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\mysql_compressed_rows.php
?????文件????????5636??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\mysql_engine.php
?????文件????????1500??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\purge_caches.php
?????文件????????2553??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\reset_password.php
?????文件????????6305??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cli\upgrade.php
?????文件????????3004??2015-01-10?20:12??moodle-2.8.2\moodle\admin\courseformats.php
?????文件????????2780??2015-01-10?20:12??moodle-2.8.2\moodle\admin\cron.php
?????文件????????2716??2015-01-10?20:12??moodle-2.8.2\moodle\admin\editors.php
?????文件????????4361??2015-01-10?20:12??moodle-2.8.2\moodle\admin\enrol.php
............此處省略19558個文件信息

評論

共有 條評論