亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? uri.as

?? FLASH+java動(dòng)態(tài)圖表
?? AS
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
		public function get query() : String
		{ 
			return URI.unescapeChars(_query);
		}
		public function set query(queryStr:String) : void
		{
			_query = URI.fastEscapeChars(queryStr, URI.URIqueryExcludedBitmap);
			
			// both hierarchical and non-hierarchical URI's can
			// have a query.  Do not set the hierState.
		}
		
		/**
		 * Accessor to the raw query data.  If you are using a custom query
		 * syntax, this accessor can be used to get and set the query part
		 * directly with no escaping/unescaping.  This should ONLY be used
		 * if your application logic is handling custom query logic and
		 * handling the proper escaping of the query part.
		 */
		public function get queryRaw() : String
		{
			return _query;
		}
		public function set queryRaw(queryStr:String) : void
		{
			_query = queryStr;
		}


		/**
		 * The fragment (anchor) portion of the URI.  This is valid for
		 * both hierarchical and non-hierarchical URI's.
		 */
		public function get fragment() : String
		{ 
			return URI.unescapeChars(_fragment);
		}
		public function set fragment(fragmentStr:String) : void
		{
			_fragment = URI.fastEscapeChars(fragmentStr, URIfragmentExcludedBitmap);

			// both hierarchical and non-hierarchical URI's can
			// have a fragment.  Do not set the hierState.
		}
		
		
		/**
		 * The non-hierarchical part of the URI.  For example, if
		 * this URI object represents "mailto:somebody@company.com",
		 * this will contain "somebody@company.com".  This is valid only
		 * for non-hierarchical URI's.  
		 */
		public function get nonHierarchical() : String
		{ 
			return URI.unescapeChars(_nonHierarchical);
		}
		public function set nonHierarchical(nonHier:String) : void
		{
			_nonHierarchical = URI.fastEscapeChars(nonHier, URInonHierexcludedBitmap);
			
			// This is a non-hierarchical URI.
			this.hierState = false;
		}
		
		
		/**
		 * Quick shorthand accessor to set the parts of this URI.
		 * The given parts are assumed to be in unescaped form.  If
		 * the URI is non-hierarchical (e.g. mailto:) you will need
		 * to call SetScheme() and SetNonHierarchical().
		 */
		public function setParts(schemeStr:String, authorityStr:String,
				portStr:String, pathStr:String, queryStr:String,
				fragmentStr:String) : void
		{
			this.scheme = schemeStr;
			this.authority = authorityStr;
			this.port = portStr;
			this.path = pathStr;
			this.query = queryStr;
			this.fragment = fragmentStr;

			hierState = true;
		}
		
		
		/**
		 * URI escapes the given character string.  This is similar in function
		 * to the global encodeURIComponent() function in ActionScript, but is
		 * slightly different in regards to which characters get escaped.  This
		 * escapes the characters specified in the URIbaselineExluded set (see class
		 * static members).  This is needed for this class to work properly.
		 * 
		 * <p>If a different set of characters need to be used for the escaping,
		 * you may use fastEscapeChars() and specify a custom URIEncodingBitmap
		 * that contains the characters your application needs escaped.</p>
		 * 
		 * <p>Never pass a full URI to this function.  A URI can only be properly
		 * escaped/unescaped when split into its component parts (see RFC 3986
		 * section 2.4).  This is due to the fact that the URI component separators
		 * could be characters that would normally need to be escaped.</p>
		 * 
		 * @param unescaped character string to be escaped.
		 * 
		 * @return	escaped character string
		 * 
		 * @see encodeURIComponent
		 * @see fastEscapeChars
		 */
		static public function escapeChars(unescaped:String) : String
		{
			// This uses the excluded set by default.
			return fastEscapeChars(unescaped, URI.URIbaselineExcludedBitmap);
		}
		

		/**
		 * Unescape any URI escaped characters in the given character
		 * string.
		 * 
		 * <p>Never pass a full URI to this function.  A URI can only be properly
		 * escaped/unescaped when split into its component parts (see RFC 3986
		 * section 2.4).  This is due to the fact that the URI component separators
		 * could be characters that would normally need to be escaped.</p>
		 * 
		 * @param escaped the escaped string to be unescaped.
		 * 
		 * @return	unescaped string.
		 */
		static public function unescapeChars(escaped:String /*, onlyHighASCII:Boolean = false*/) : String
		{
			// We can just use the default AS function.  It seems to
			// decode everything correctly
			var unescaped:String;
			unescaped = decodeURIComponent(escaped);
			return unescaped;
		}
		
		/**
		 * Performance focused function that escapes the given character
		 * string using the given URIEncodingBitmap as the rule for what
		 * characters need to be escaped.  This function is used by this
		 * class and can be used externally to this class to perform
		 * escaping on custom character sets.
		 * 
		 * <p>Never pass a full URI to this function.  A URI can only be properly
		 * escaped/unescaped when split into its component parts (see RFC 3986
		 * section 2.4).  This is due to the fact that the URI component separators
		 * could be characters that would normally need to be escaped.</p>
		 * 
		 * @param unescaped		the unescaped string to be escaped
		 * @param bitmap		the set of characters that need to be escaped
		 * 
		 * @return	the escaped string.
		 */
		static public function fastEscapeChars(unescaped:String, bitmap:URIEncodingBitmap) : String
		{
			var escaped:String = "";
			var c:String;
			var x:int, i:int;
			
			for (i = 0; i < unescaped.length; i++)
			{
				c = unescaped.charAt(i);
				
				x = bitmap.ShouldEscape(c);
				if (x)
				{
					c = x.toString(16);
					if (c.length == 1)
						c = "0" + c;
						
					c = "%" + c;
					c = c.toUpperCase();
				}
				
				escaped += c;
			}
			
			return escaped;
		}

		
		/**
		 * Is this URI of a particular scheme type?  For example,
		 * passing "http" to a URI object that represents the URI
		 * "http://site.com/" would return true.
		 * 
		 * @param scheme	scheme to check for
		 * 
		 * @return true if this URI object is of the given type, false
		 * otherwise.
		 */
		public function isOfType(scheme:String) : Boolean
		{
			// Schemes are never case sensitive.  Ignore case.
			scheme = scheme.toLowerCase();
			return (this._scheme == scheme);
		}


		/**
		 * Get the value for the specified named in the query part.  This
		 * assumes the query part of the URI is in the common
		 * "name1=value1&name2=value2" syntax.  Do not call this function
		 * if you are using a custom query syntax.
		 * 
		 * @param name	name of the query value to get.
		 * 
		 * @return the value of the query name, empty string if the
		 * query name does not exist.
		 */
		public function getQueryValue(name:String) : String
		{
			var map:Object;
			var item:String;
			var value:String;
		
			map = getQueryByMap();
		
			for (item in map)
			{
				if (item == name)
				{
					value = map[item];
					return value;
				}
			}
		
			// Didn't find the specified key
			return new String("");
		}
		

		/**
		 * Set the given value on the given query name.  If the given name
		 * does not exist, it will automatically add this name/value pair
		 * to the query.  If null is passed as the value, it will remove
		 * the given item from the query.
		 * 
		 * <p>This automatically escapes any characters that may conflict with
		 * the query syntax so that they are "safe" within the query.  The
		 * strings passed are assumed to be literal unescaped name and value.</p>
		 * 
		 * @param name	name of the query value to set
		 * @param value	value of the query item to set.  If null, this will
		 * force the removal of this item from the query.
		 */
		public function setQueryValue(name:String, value:String) : void
		{
			var map:Object;

			map = getQueryByMap();
		
			// If the key doesn't exist yet, this will create a new pair in
			// the map.  If it does exist, this will overwrite the previous
			// value, which is what we want.
			map[name] = value;
		
			setQueryByMap(map);
		}

		
		/**
		 * Get the query of the URI in an Object class that allows for easy
		 * access to the query data via Object accessors.  For example:
		 * 
		 * <listing>
		 * var query:Object = uri.getQueryByMap();
		 * var value:String = query["param"];    // get a value
		 * query["param2"] = "foo";   // set a new value
		 * </listing>
		 * 
		 * @return Object that contains the name/value pairs of the query.
		 * 
		 * @see #setQueryByMap
		 * @see #getQueryValue
		 * @see #setQueryValue
		 */
		public function getQueryByMap() : Object
		{
			var queryStr:String;
			var pair:String;
			var pairs:Array;
			var item:Array;
			var name:String, value:String;
			var index:int;
			var map:Object = new Object();
		
		
			// We need the raw query string, no unescaping.
			queryStr = this._query;
			
			pairs = queryStr.split('&');
			for each (pair in pairs)
			{
				if (pair.length == 0)
				  continue;
				  
				item = pair.split('=');
				
				if (item.length > 0)
					name = item[0];
				else
					continue;  // empty array
				
				if (item.length > 1)
					value = item[1];
				else
					value = "";
					
				name = queryPartUnescape(name);
				value = queryPartUnescape(value);
				
				map[name] = value;
			}
	
			return map;
		}
		

		/**
		 * Set the query part of this URI using the given object as the
		 * content source.  Any member of the object that has a value of
		 * null will not be in the resulting query.
		 * 
		 * @param map	object that contains the name/value pairs as
		 *    members of that object.
		 * 
		 * @see #getQueryByMap
		 * @see #getQueryValue
		 * @see #setQueryValue
		 */
		public function setQueryByMap(map:Object) : void
		{
			var item:String;
			var name:String, value:String;
			var queryStr:String = "";
			var tmpPair:String;
			var foo:String;
		
			for (item in map)
			{
				name = item;
				value = map[item];
		
				if (value == null)
					value = "";
				
				// Need to escape the name/value pair so that they
				// don't conflict with the query syntax (specifically
				// '=', '&', and <whitespace>).
				name = queryPartEscape(name);
				value = queryPartEscape(value);
				
				tmpPair = name;
				
				if (value.length > 0)
				{
					tmpPair += "=";
					tmpPair += value;
				}

				if (queryStr.length != 0)
					queryStr += '&';  // Add the separator
		
				queryStr += tmpPair;
			}
		
			// We don't want to escape.  We already escaped the
			// individual name/value pairs.  If we escaped the
			// query string again by assigning it to "query",
			// we would have double escaping.
			_query = queryStr;
		}
		
		
		/**
		 * Similar to Escape(), except this also escapes characters that
		 * would conflict with the name/value pair query syntax.  This is
		 * intended to be called on each individual "name" and "value"
		 * in the query making sure that nothing in the name or value
		 * strings contain characters that would conflict with the query
		 * syntax (e.g. '=' and '&').
		 * 
		 * @param unescaped		unescaped string that is to be escaped.
		 * 
		 * @return escaped string.
		 * 
		 * @see #queryUnescape
		 */
		static public function queryPartEscape(unescaped:String) : String
		{
			var escaped:String = unescaped;
			escaped = URI.fastEscapeChars(unescaped, URI.URIqueryPartExcludedBitmap);
			return escaped;
		}
		

		/**
		 * Unescape the individual name/value string pairs.
		 * 
		 * @param escaped	escaped string to be unescaped
		 * 
		 * @return unescaped string
		 * 
		 * @see #queryEscape
		 */
		static public function queryPartUnescape(escaped:String) : String
		{
			var unescaped:String = escaped;
			unescaped = unescapeChars(unescaped);
			return unescaped;
		}
		
		/**
		 * Output this URI as a string.  The resulting string is properly
		 * escaped and well formed for machine processing.
		 */
		public function toString() : String
		{
			if (this == null)
				return "";
			else
				return toStringInternal(false);

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本aⅴ亚洲精品中文乱码| 欧美中文字幕一区二区三区| 亚洲女性喷水在线观看一区| 精品久久久久久无| 欧美精品乱码久久久久久| 色综合天天综合网天天看片| 国产成人av电影在线观看| 精品一区中文字幕| 国产在线看一区| 国产精品1区2区| 国产福利精品一区| 国产91对白在线观看九色| 国产精品888| 99久久精品情趣| 国产乱色国产精品免费视频| 美女视频黄频大全不卡视频在线播放| 爽好久久久欧美精品| 五月激情综合婷婷| 精品一二三四区| 成人免费看片app下载| jlzzjlzz欧美大全| 欧美性一二三区| 91精品国产综合久久久蜜臀粉嫩| 欧美区在线观看| 日韩欧美你懂的| 欧美国产成人在线| 夜色激情一区二区| 美国欧美日韩国产在线播放| 精品中文字幕一区二区| 成人综合日日夜夜| 欧美性大战久久久| www国产成人免费观看视频 深夜成人网 | 香蕉成人啪国产精品视频综合网| 亚洲一区二区三区小说| 蜜臀91精品一区二区三区| 国产一区二区看久久| 成人福利视频网站| 欧美一区二区三区的| 国产欧美精品一区二区三区四区| 亚洲欧美自拍偷拍色图| 日韩国产成人精品| 99精品久久只有精品| 717成人午夜免费福利电影| 国产偷国产偷亚洲高清人白洁| 国产精品丝袜一区| 日韩av不卡在线观看| 成+人+亚洲+综合天堂| 7777精品伊人久久久大香线蕉完整版| 欧美大片在线观看一区二区| 中文字幕日韩av资源站| 免费成人你懂的| 91视频.com| 久久色在线视频| 午夜av区久久| 91一区一区三区| xfplay精品久久| 日韩**一区毛片| 欧洲精品中文字幕| 国产精品久久久久久久裸模 | 日精品一区二区| av爱爱亚洲一区| 久久欧美中文字幕| 日韩电影免费在线观看网站| 91免费版在线| 国产精品欧美久久久久无广告 | 成人黄色软件下载| 日韩欧美色电影| 日韩在线一区二区三区| 91福利国产成人精品照片| 国产精品视频麻豆| 国产高清在线精品| 久久久精品人体av艺术| 韩国欧美国产一区| 精品久久久久久久久久久久包黑料| 一区二区国产视频| 在线国产电影不卡| 一区二区日韩av| 欧美在线综合视频| 亚洲一区二区三区在线看| 色偷偷久久人人79超碰人人澡| 欧美激情一区二区三区不卡| 国产剧情一区二区三区| 久久久国产精品麻豆| 国产一区二区不卡老阿姨| 精品久久国产字幕高潮| 国产专区欧美精品| 国产午夜精品一区二区| 成人激情视频网站| 国产天堂亚洲国产碰碰| 成人美女视频在线看| 中文字幕一区三区| 91麻豆国产福利精品| 亚洲一区在线观看免费 | 午夜亚洲福利老司机| 欧美三级韩国三级日本一级| 亚洲成a人片综合在线| 欧美久久久久久蜜桃| 性欧美疯狂xxxxbbbb| 4438x成人网最大色成网站| 蜜臀av一区二区| 久久久久久久久岛国免费| 国产精品一区二区x88av| 国产免费成人在线视频| 懂色av中文一区二区三区| 亚洲欧美一区二区不卡| 欧美三级日韩三级| 国产一区二区在线免费观看| 国产精品剧情在线亚洲| 欧美色涩在线第一页| 奇米一区二区三区| 国产精品视频看| 欧美日韩亚洲另类| 国产一区二区中文字幕| 亚洲一区二区视频| 久久综合国产精品| 在线观看av一区二区| 精品一区二区三区免费| 亚洲人成网站精品片在线观看| 欧美猛男gaygay网站| 国产高清在线精品| 日韩影视精彩在线| 国产精品网曝门| 欧美一区二区成人6969| 高清在线观看日韩| 午夜精品视频在线观看| 国产精品天美传媒| 日韩视频免费观看高清完整版在线观看| 精品写真视频在线观看| 中文字幕一区二区三区在线播放| 亚洲丝袜制服诱惑| 2023国产精华国产精品| 欧美色手机在线观看| 成人国产电影网| 日韩中文字幕麻豆| 91麻豆免费视频| 美国十次了思思久久精品导航| 亚洲男人天堂一区| 中文字幕av一区二区三区| 日韩无一区二区| 欧美日韩亚洲国产综合| 91在线观看免费视频| 粉嫩13p一区二区三区| 精品在线免费观看| 日本vs亚洲vs韩国一区三区 | 卡一卡二国产精品| 亚洲一区在线观看视频| 亚洲精品一二三| 国产精品久久毛片a| 精品久久久久av影院| 日韩欧美国产精品| 欧美高清精品3d| 欧美日韩美少妇| 91亚洲午夜精品久久久久久| 福利一区福利二区| 国产宾馆实践打屁股91| 国产精品99久久久久久有的能看| 伦理电影国产精品| 美女在线一区二区| 欧美刺激脚交jootjob| 3d动漫精品啪啪一区二区竹菊| 欧美色区777第一页| 欧美日韩一区二区三区视频| 欧美性色欧美a在线播放| 欧亚洲嫩模精品一区三区| 欧洲精品视频在线观看| 欧美日精品一区视频| 欧美喷水一区二区| 精品美女一区二区| 久久久精品黄色| 日韩一区二区在线观看视频 | 成人app下载| 成人国产精品免费| 国产·精品毛片| 成人综合婷婷国产精品久久蜜臀| 18涩涩午夜精品.www| 亚洲欧美日韩中文播放 | 国产成人综合自拍| 福利一区二区在线观看| voyeur盗摄精品| 欧美日韩免费电影| 国产日韩精品一区二区三区在线| 亚洲天堂免费在线观看视频| 亚洲电影激情视频网站| 国产一区二区三区香蕉| 91农村精品一区二区在线| 欧美日韩在线精品一区二区三区激情| 日韩视频国产视频| 亚洲欧美一区二区三区久本道91| 亚洲bdsm女犯bdsm网站| 国产馆精品极品| 欧美日韩一区二区三区不卡| 精品久久久久久久久久久院品网| 国产精品毛片高清在线完整版| 亚洲成av人片一区二区三区| 精品一区二区影视| 欧美三级韩国三级日本三斤| 2020国产精品久久精品美国| 亚洲国产一二三| 成人一区二区三区在线观看| 日韩一区二区在线看|