Type Property 型プロパティ

URLHostAllowedCharacterSet

Returns the character set for characters allowed in a host URL subcomponent. ホストURL下位構成要素において許可される文字のための文字集合を返します。

Declaration 宣言

@property(class, readonly, copy) NSCharacterSet *URLHostAllowedCharacterSet;

Discussion 議論

The host component of a URL is usually the component immediately after the first two leading slashes. If the URL contains a username and password, the host component is the component after the @ sign. For example, in the URL http://username:password@www.example.com/index.html, the host component is www.example.com. あるURLのホスト構成要素は、通常は最初の2つの先頭のスラッシュの直後の構成要素です。そのURLがユーザ名とパスワードを含むならば、ホスト構成要素は@符号の後の構成要素です。例えば、URL http://username:password@www.example.com/index.htmlにおいて、ホスト構成要素はwww.example.comです。

See Also 参照

Getting Character Sets for URL Encoding URLエンコーディングのための文字集合を得る