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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? uri.as

?? FLASH+java動態圖表
?? AS
?? 第 1 頁 / 共 5 頁
字號:
				_scheme = _scheme.toLowerCase();
		
				baseURI = baseURI.substr(index + 1);
		
				if (baseURI.substr(0, 2) == "//")
				{
					// This is a hierarchical URI
					_nonHierarchical = "";
		
					// Trim off the "//"
					baseURI = baseURI.substr(2, baseURI.length - 2);
				}
				else
				{
					// This is a non-hierarchical URI like "mailto:bob@mail.com"
					_nonHierarchical = baseURI;
		
					if ((_valid = validateURI()) == false)
						initialize();  // Bad URI.  Clear it.
		
					// No more parsing to do for this case
					return isValid();
				}
			}
			else
			{
				// No scheme.  We will consider this a relative URI
				_scheme = "";
				_relative = true;
				_nonHierarchical = "";
			}
		
			// Ok, what we have left is everything after the <scheme>://
		
			// Now that we have stripped off any query and fragment parts, we
			// need to split the authority from the path
		
			if (isRelative())
			{
				// Don't bother looking for the authority.  It's a relative URI
				_authority = "";
				_port = "";
				_path = baseURI;
			}
			else
			{
				// Check for malformed UNC style file://///server/type/path/
				// By the time we get here, we have already trimmed the "file://"
				// so baseURI will be ///server/type/path.  If baseURI only
				// has one slash, we leave it alone because that is valid (that
				// is the case of "file:///path/to/file.txt" where there is no
				// server - implicit "localhost").
				if (baseURI.substr(0, 2) == "//")
				{
					// Trim all leading slashes
					while(baseURI.charAt(0) == "/")
						baseURI = baseURI.substr(1, baseURI.length - 1);
				}
		
				index = baseURI.search('/');
				if (index == -1)
				{
					// No path.  We must have passed something like "http://something.com"
					_authority = baseURI;
					_path = "";
				}
				else
				{
					_authority = baseURI.substr(0, index);
					_path = baseURI.substr(index, baseURI.length - index);
				}
		
				// Check to see if the URI has any username or password information.
				// For example:  ftp://username:password@server.com
				index = _authority.search('@');
				if (index != -1)
				{
					// We have a username and possibly a password
					_username = _authority.substr(0, index);
		
					// Remove the username/password from the authority
					_authority = _authority.substr(index + 1);  // Skip the '@'
		
					// Now check to see if the username also has a password
					index = _username.search(':');
					if (index != -1)
					{
						_password = _username.substring(index + 1, _username.length);
						_username = _username.substr(0, index);
					}
					else
						_password = "";
				}
				else
				{
					_username = "";
					_password = "";
				}
		
				// Lastly, check to see if the authorty has a port number.
				// This is parsed after the username/password to avoid conflicting
				// with the ':' in the 'username:password' if one exists.
				index = _authority.search(':');
				if (index != -1)
				{
					_port = _authority.substring(index + 1, _authority.length);  // skip the ':'
					_authority = _authority.substr(0, index);
				}
				else
				{
					_port = "";
				}
				
				// Lastly, normalize the authority.  Domain names
				// are case insensitive.
				_authority = _authority.toLowerCase();
			}
		
			if ((_valid = validateURI()) == false)
				initialize();  // Bad URI.  Clear it
		
			return isValid();
		}
		
		
		/********************************************************************
		 * Copy function.
		 */
		public function copyURI(uri:URI) : void
		{
			this._scheme = uri._scheme;
			this._authority = uri._authority;
			this._username = uri._username;
			this._password = uri._password;
			this._port = uri._port;
			this._path = uri._path;
			this._query = uri._query;
			this._fragment = uri._fragment;
			this._nonHierarchical = uri._nonHierarchical;
		
			this._valid = uri._valid;
			this._relative = uri._relative;
		}
		
		
		/**
		 * @private
		 * Checks if the given string only contains a-z or A-Z.
		 */
		protected function verifyAlpha(str:String) : Boolean
		{
			var pattern:RegExp = /[^a-z]/;
			var index:int;
			
			str = str.toLowerCase();
			index = str.search(pattern);
			
			if (index == -1)
				return true;
			else
				return false;
		}
		
		/**
		 * Is this a valid URI?
		 * 
		 * @return true if this object represents a valid URI, false
		 * otherwise.
		 */
		public function isValid() : Boolean
		{ 
			return this._valid;
		}
		
		
		/**
		 * Is this URI an absolute URI?  An absolute URI is a complete, fully
		 * qualified reference to a resource.  e.g. http://site.com/index.htm
		 * Non-hierarchical URI's are always absolute.
		 */
		public function isAbsolute() : Boolean
		{ 
			return !this._relative;
		}
		
		
		/**
		 * Is this URI a relative URI?  Relative URI's do not have a scheme
		 * and only contain a relative path with optional anchor and query
		 * parts.  e.g. "../reports/index.htm".  Non-hierarchical URI's
		 * will never be relative.
		 */
		public function isRelative() : Boolean
		{ 
			return this._relative;
		}
		
		
		/**
		 * Does this URI point to a resource that is a directory/folder?
		 * The URI specification dictates that any path that ends in a slash
		 * is a directory.  This is needed to be able to perform correct path
		 * logic when combining relative URI's with absolute URI's to
		 * obtain the correct absolute URI to a resource.
		 * 
		 * @see URI.chdir
		 * 
		 * @return true if this URI represents a directory resource, false
		 * if this URI represents a file resource.
		 */
		public function isDirectory() : Boolean
		{
			if (_path.length == 0)
				return false;
		
			return (_path.charAt(path.length - 1) == '/');
		}
		
		
		/**
		 * Is this URI a hierarchical URI? URI's can be  
		 */
		public function isHierarchical() : Boolean
		{ 
			return hierState;
		}
				
		
		/**
		 * The scheme of the URI.
		 */
		public function get scheme() : String
		{ 
			return URI.unescapeChars(_scheme);
		}
		public function set scheme(schemeStr:String) : void
		{
			// Normalize the scheme
			var normalized:String = schemeStr.toLowerCase();
			_scheme = URI.fastEscapeChars(normalized, URI.URIschemeExcludedBitmap);
		}
		
		
		/**
		 * The authority (host) of the URI.  Only valid for
		 * hierarchical URI's.  If the URI is relative, this will
		 * be an empty string. When setting this value, the string
		 * given is assumed to be unescaped.  When retrieving this
		 * value, the resulting string is unescaped.
		 */
		public function get authority() : String
		{ 
			return URI.unescapeChars(_authority);
		}
		public function set authority(authorityStr:String) : void
		{
			// Normalize the authority
			authorityStr = authorityStr.toLowerCase();
			
			_authority = URI.fastEscapeChars(authorityStr,
				URI.URIauthorityExcludedBitmap);
			
			// Only hierarchical URI's can have an authority, make
			// sure this URI is of the proper format.
			this.hierState = true;
		}
		
		
		/**
		 * The username of the URI.  Only valid for hierarchical
		 * URI's.  If the URI is relative, this will be an empty
		 * string.
		 * 
		 * <p>The URI specification allows for authentication
		 * credentials to be embedded in the URI as such:</p>
		 * 
		 * <p>http://user:passwd@host/path/to/file.htm</p>
		 * 
		 * <p>When setting this value, the string
		 * given is assumed to be unescaped.  When retrieving this
		 * value, the resulting string is unescaped.</p>
		 */
		public function get username() : String
		{
			return URI.unescapeChars(_username);
		}
		public function set username(usernameStr:String) : void
		{
			_username = URI.fastEscapeChars(usernameStr, URI.URIuserpassExcludedBitmap);
			
			// Only hierarchical URI's can have a username.
			this.hierState = true;
		}
		
		
		/**
		 * The password of the URI.  Similar to username.
		 * @see URI.username
		 */
		public function get password() : String
		{
			return URI.unescapeChars(_password);
		}
		public function set password(passwordStr:String) : void
		{
			_password = URI.fastEscapeChars(passwordStr,
				URI.URIuserpassExcludedBitmap);
			
			// Only hierarchical URI's can have a password.
			this.hierState = true;
		}
		
		
		/**
		 * The host port number.  Only valid for hierarchical URI's.  If
		 * the URI is relative, this will be an empty string. URI's can
		 * contain the port number of the remote host:
		 * 
		 * <p>http://site.com:8080/index.htm</p>
		 */
		public function get port() : String
		{ 
			return URI.unescapeChars(_port);
		}
		public function set port(portStr:String) : void
		{
			_port = URI.escapeChars(portStr);
			
			// Only hierarchical URI's can have a port.
			this.hierState = true;
		}
		
		
		/**
		 * The path portion of the URI.  Only valid for hierarchical
		 * URI's.  When setting this value, the string
		 * given is assumed to be unescaped.  When retrieving this
		 * value, the resulting string is unescaped.
		 * 
		 * <p>The path portion can be in one of two formats. 1) an absolute
		 * path, or 2) a relative path.  An absolute path starts with a
		 * slash ('/'), a relative path does not.</p>
		 * 
		 * <p>An absolute path may look like:</p>
		 * <listing>/full/path/to/my/file.htm</listing>
		 * 
		 * <p>A relative path may look like:</p>
		 * <listing>
		 * path/to/my/file.htm
		 * ../images/logo.gif
		 * ../../reports/index.htm
		 * </listing>
		 * 
		 * <p>Paths can be absolute or relative.  Note that this not the same as
		 * an absolute or relative URI.  An absolute URI can only have absolute
		 * paths.  For example:</p>
		 * 
		 * <listing>http:/site.com/path/to/file.htm</listing>
		 * 
		 * <p>This absolute URI has an absolute path of "/path/to/file.htm".</p>
		 * 
		 * <p>Relative URI's can have either absolute paths or relative paths.
		 * All of the following relative URI's are valid:</p>
		 * 
		 * <listing>
		 * /absolute/path/to/file.htm
		 * path/to/file.htm
		 * ../path/to/file.htm
		 * </listing>
		 */
		public function get path() : String
		{ 
			return URI.unescapeChars(_path);
		}
		public function set path(pathStr:String) : void
		{	
			this._path = URI.fastEscapeChars(pathStr, URI.URIpathExcludedBitmap);
		
			if (this._scheme == UNKNOWN_SCHEME)
			{
				// We set the path.  This is a valid URI now.
				this._scheme = "";
			}
		
			// Only hierarchical URI's can have a path.
			hierState = true;
		}
		
		
		/**
		 * The query (CGI) portion of the URI.  This part is valid for
		 * both hierarchical and non-hierarchical URI's.
		 * 
		 * <p>This accessor should only be used if a custom query syntax
		 * is used.  This URI class supports the common "param=value"
		 * style query syntax via the get/setQueryValue() and
		 * get/setQueryByMap() functions.  Those functions should be used
		 * instead if the common syntax is being used.
		 * 
		 * <p>The URI RFC does not specify any particular
		 * syntax for the query part of a URI.  It is intended to allow
		 * any format that can be agreed upon by the two communicating hosts.
		 * However, most systems have standardized on the typical CGI
		 * format:</p>
		 * 
		 * <listing>http://site.com/script.php?param1=value1&param2=value2</listing>
		 * 
		 * <p>This class has specific support for this query syntax</p>
		 * 
		 * <p>This common query format is an array of name/value
		 * pairs with its own syntax that is different from the overall URI
		 * syntax.  The query has its own escaping logic.  For a query part
		 * to be properly escaped and unescaped, it must be split into its
		 * component parts.  This accessor escapes/unescapes the entire query
		 * part without regard for it's component parts.  This has the
		 * possibliity of leaving the query string in an ambiguious state in
		 * regards to its syntax.  If the contents of the query part are
		 * important, it is recommended that get/setQueryValue() or
		 * get/setQueryByMap() are used instead.</p>
		 * 
		 * If a different query syntax is being used, a subclass of URI
		 * can be created to handle that specific syntax.
		 *  
		 * @see URI.getQueryValue, URI.getQueryByMap
		 */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产a级毛片一区| 久久久久久久久久久久电影| 精品少妇一区二区三区视频免付费| 久久久亚洲午夜电影| 亚洲自拍偷拍网站| 不卡av在线网| 久久亚洲精精品中文字幕早川悠里 | 99久久伊人精品| 日韩午夜精品电影| 亚洲午夜精品网| 99精品欧美一区| 欧美国产精品一区二区三区| 免费人成在线不卡| 欧美午夜精品久久久久久孕妇 | 丁香六月综合激情| 欧美va亚洲va| 奇米一区二区三区av| 欧美视频日韩视频在线观看| 亚洲天堂精品在线观看| 丁香婷婷综合色啪| 国产区在线观看成人精品 | 亚洲成人在线免费| 91影视在线播放| 亚洲欧洲精品一区二区三区| 国产精品小仙女| 26uuu亚洲综合色欧美| 麻豆成人在线观看| 欧美本精品男人aⅴ天堂| 免费久久99精品国产| 欧美一级高清大全免费观看| 日韩av网站免费在线| 这里只有精品免费| 美女在线视频一区| 久久亚洲综合色| 国产毛片精品视频| 中文字幕欧美日韩一区| 大白屁股一区二区视频| 国产精品久久久久久久久搜平片| k8久久久一区二区三区| 亚洲猫色日本管| 欧美日韩三级在线| 日本午夜一区二区| 久久综合999| 99久久久国产精品免费蜜臀| 亚洲欧美另类图片小说| 欧美日韩一级二级三级| 日韩高清国产一区在线| 久久亚洲精品国产精品紫薇| 国产99一区视频免费| 亚洲女同一区二区| 欧美日本免费一区二区三区| 久久疯狂做爰流白浆xx| 欧美激情在线免费观看| 欧美制服丝袜第一页| 日本三级亚洲精品| 国产欧美综合色| 91高清视频在线| 久久99国产精品久久| 国产精品卡一卡二卡三| 欧美猛男超大videosgay| 极品少妇一区二区三区精品视频| 国产精品久久毛片| 欧美另类变人与禽xxxxx| 国产一区二区三区四区五区入口| 国产精品传媒入口麻豆| 日韩一区二区三区在线观看 | 97se亚洲国产综合在线| 日韩成人dvd| 中文字幕亚洲成人| 欧美一区二区人人喊爽| 99精品久久久久久| 黄页视频在线91| 亚洲最大成人网4388xx| 精品国产99国产精品| 91国产福利在线| 国产不卡在线播放| 丝瓜av网站精品一区二区| 国产日韩三级在线| 欧美一区二区三区色| 99国产精品久| 韩国一区二区三区| 日韩国产欧美在线观看| 亚洲欧美日韩国产成人精品影院| 精品理论电影在线| 欧美性猛交一区二区三区精品| 国产精品1区2区3区| 亚洲va欧美va国产va天堂影院| 国产精品私人自拍| 精品国产第一区二区三区观看体验| 欧美在线观看一区二区| 成人黄动漫网站免费app| 久久99国产精品久久99| 秋霞午夜鲁丝一区二区老狼| 亚洲男人的天堂网| 国产精品欧美久久久久无广告| 日韩一区二区电影| 91精品国产综合久久精品麻豆 | 欧美一区二区视频在线观看2022 | 国产成人午夜精品影院观看视频| 午夜精品爽啪视频| 一区二区成人在线| 亚洲欧美日韩电影| 亚洲欧洲三级电影| 国产精品伦一区| 中文字幕精品综合| 国产日韩精品一区| 中文文精品字幕一区二区| 久久亚洲一级片| 久久久精品tv| 久久久91精品国产一区二区精品| 日韩免费成人网| 日韩精品资源二区在线| 日韩精品中文字幕一区| 欧美精品一区二| 精品国精品国产| 国产日韩欧美精品综合| 国产免费观看久久| 国产精品久久久久久久久免费樱桃 | 天天综合天天做天天综合| 日韩精品亚洲专区| 日本va欧美va欧美va精品| 青青草97国产精品免费观看| 日韩高清不卡在线| 国产一区二区三区免费在线观看| 国产麻豆视频精品| 99视频精品全部免费在线| 99re热这里只有精品视频| 一本久久a久久免费精品不卡| 色婷婷综合久色| 欧美日本在线看| 欧美精品一区二区三区久久久| 国产亚洲女人久久久久毛片| 国产精品人妖ts系列视频| 亚洲色欲色欲www| 亚洲综合激情另类小说区| 青青草97国产精品免费观看无弹窗版 | 欧美一区二区黄色| 久久精品人人做人人综合| 亚洲欧美影音先锋| 肉色丝袜一区二区| 国产激情一区二区三区| 99国产麻豆精品| 欧美福利电影网| 久久精品欧美一区二区三区麻豆| 日韩理论在线观看| 热久久一区二区| jizz一区二区| 欧美一级片在线看| 国产精品乱码久久久久久| 日韩高清中文字幕一区| 丁香婷婷深情五月亚洲| 欧美久久久久中文字幕| 欧美国产1区2区| 日韩电影在线观看一区| 成人激情开心网| 91精品国产综合久久久久久久久久| 精品国产1区2区3区| 一卡二卡三卡日韩欧美| 国产美女精品一区二区三区| 精品1区2区3区| 中文一区二区完整视频在线观看| 日韩精品一区第一页| 99久久精品国产一区二区三区| 日韩片之四级片| 曰韩精品一区二区| 成人av免费在线| 2023国产精品视频| 亚洲mv大片欧洲mv大片精品| 成人动漫精品一区二区| 欧美sm极限捆绑bd| 亚洲va欧美va人人爽午夜| 91网址在线看| 国产精品无圣光一区二区| 狠狠色丁香久久婷婷综合_中| 欧美日韩一区二区电影| 亚洲少妇30p| 99国产精品视频免费观看| 国产女人水真多18毛片18精品视频 | 成人久久久精品乱码一区二区三区 | 国产精品视频九色porn| 精品一区二区三区在线观看国产| 欧美日韩精品一区二区天天拍小说| 国产精品久久久久9999吃药| 久久91精品久久久久久秒播| 91精品国产综合久久蜜臀| 午夜视频在线观看一区二区 | 国产成人在线看| 精品少妇一区二区三区在线播放| 丝袜美腿亚洲一区| 欧美精品 日韩| 日本午夜一区二区| 日韩一区二区三区观看| 午夜精品福利一区二区蜜股av | 色噜噜狠狠色综合中国| 最新国产精品久久精品| 成人美女视频在线观看| 日韩美女视频一区二区| 一本到三区不卡视频| 有码一区二区三区| 91久久久免费一区二区|