Packagejp.nium.net
Classpublic class URLObject
InheritanceURLObject Inheritance Object

URLObject クラスは、URL を表すモデルクラスです。 URLObject class is a model class which express the URL.

View the examples



Public Properties
 PropertyDefined By
  fileExtension : String
ファイル拡張子をストリング表現で取得します。 Get or set the file extension by string expresson.
URLObject
  fileName : String
ファイル名をストリング表現で取得します。 Get or set the filename by string expresson.
URLObject
  fragment : String
フラグメントをストリング表現で取得または設定します。 Get or set the fragment by string expresson.
URLObject
  host : String
ホストをストリング表現で取得または設定します。 Get or set the host by string expresson.
URLObject
  password : String
パスワードをストリング表現で取得または設定します。 Get or set the password by string expresson.
URLObject
  path : String
パスをストリング表現で取得または設定します。 Get or set the path by string expresson.
URLObject
  port : String
ポートをストリング表現で取得または設定します。 Get or set the port by string expresson.
URLObject
  query : Query
[read-only] クエリを Object 表現で取得します。 Get the query by object expresson.
URLObject
  scheme : String
スキーマをストリング表現で取得または設定します。 Get or set the scheme by string expression.
URLObject
  url : String
URL をストリング表現で取得または設定します。 Get or set the URL by string expression.
URLObject
  user : String
ユーザーをストリング表現で取得または設定します。 Get or set the user by string expression.
URLObject
Public Methods
 MethodDefined By
  
URLObject(url:String)
新しい URLObject インスタンスを作成します。 Creates a new URLObject object.
URLObject
  
navigateTo(windowTarget:String = null):void
Flash Player のコンテナを含むアプリケーション(通常はブラウザ)でウィンドウを開くか、置き換えます。 Open or replace the window with the application which contain the Flash Player contener (usually it is browser).
URLObject
  
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
URLObject
  
toURLRequest():URLRequest
指定されたオブジェクトの URLRequest 表現を返します。 Returns the URLRequest representation of the specified object.
URLObject
  
validate(url:String):Boolean
[static] URL の書式が正しいかどうかを返します。 Returns if the format of the URL is correct.
URLObject
Property Detail
fileExtensionproperty
fileExtension:String

ファイル拡張子をストリング表現で取得します。 Get or set the file extension by string expresson.


Implementation
    public function get fileExtension():String
    public function set fileExtension(value:String):void
fileNameproperty 
fileName:String

ファイル名をストリング表現で取得します。 Get or set the filename by string expresson.


Implementation
    public function get fileName():String
    public function set fileName(value:String):void
fragmentproperty 
fragment:String

フラグメントをストリング表現で取得または設定します。 Get or set the fragment by string expresson.


Implementation
    public function get fragment():String
    public function set fragment(value:String):void
hostproperty 
host:String

ホストをストリング表現で取得または設定します。 Get or set the host by string expresson.


Implementation
    public function get host():String
    public function set host(value:String):void
passwordproperty 
password:String

パスワードをストリング表現で取得または設定します。 Get or set the password by string expresson.


Implementation
    public function get password():String
    public function set password(value:String):void
pathproperty 
path:String

パスをストリング表現で取得または設定します。 Get or set the path by string expresson.


Implementation
    public function get path():String
    public function set path(value:String):void
portproperty 
port:String

ポートをストリング表現で取得または設定します。 Get or set the port by string expresson.


Implementation
    public function get port():String
    public function set port(value:String):void
queryproperty 
query:Query  [read-only]

クエリを Object 表現で取得します。 Get the query by object expresson.


Implementation
    public function get query():Query
schemeproperty 
scheme:String

スキーマをストリング表現で取得または設定します。 Get or set the scheme by string expression.


Implementation
    public function get scheme():String
    public function set scheme(value:String):void
urlproperty 
url:String

URL をストリング表現で取得または設定します。 Get or set the URL by string expression.


Implementation
    public function get url():String
    public function set url(value:String):void
userproperty 
user:String

ユーザーをストリング表現で取得または設定します。 Get or set the user by string expression.


Implementation
    public function get user():String
    public function set user(value:String):void
Constructor Detail
URLObject()Constructor
public function URLObject(url:String)

新しい URLObject インスタンスを作成します。 Creates a new URLObject object.

Parameters
url:StringURL を表すストリングです。 The string express the URL.
Method Detail
navigateTo()method
public function navigateTo(windowTarget:String = null):void

Flash Player のコンテナを含むアプリケーション(通常はブラウザ)でウィンドウを開くか、置き換えます。 Open or replace the window with the application which contain the Flash Player contener (usually it is browser).

Parameters

windowTarget:String (default = null)ドキュメントを表示するブラウザウィンドウまたは HTML フレームです。 The browser window or HTML frame to display the document.

toString()method 
public function toString():String

指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.

Returns
Stringオブジェクトのストリング表現です。 A string representation of the object.
toURLRequest()method 
public function toURLRequest():URLRequest

指定されたオブジェクトの URLRequest 表現を返します。 Returns the URLRequest representation of the specified object.

Returns
URLRequestオブジェクトの URLRequest 表現です。 A URLRequest representation of the object.
validate()method 
public static function validate(url:String):Boolean

URL の書式が正しいかどうかを返します。 Returns if the format of the URL is correct.

Parameters

url:String書式を調べる URL です。 The URL to check the format.

Returns
Boolean書式が正しければ true に、それ以外の場合は false になります。 Return true if the format is correct, otherwise return false.
Examples