| Package | vegas.net |
| Class | public class BOM |
| Inheritance | BOM Object |
More informations in Wikipedia : Byte-order mark
| Property | Defined By | ||
|---|---|---|---|
| option : * [read-only]
The optional value of the BOM (only in the BOCU-1 BOM). | BOM | ||
| Method | Defined By | ||
|---|---|---|---|
BOM(name:String, values:Array = null, option:* = null)
Creates a new BOM instance. | BOM | ||
toSource(indent:int = 0):String
Returns the source code String representation of the object. | BOM | ||
toString():String
Returns the String representation of the object. | BOM | ||
valueOf():*
Returns the primitive value of the object. | BOM | ||
| Constant | Defined By | ||
|---|---|---|---|
| BOCU_1 : BOM [static]
The BOCU-1 BOM. | BOM | ||
| SCSU : BOM [static]
The SCSU BOM. | BOM | ||
| UTF1 : BOM [static]
The UTF-1 BOM. | BOM | ||
| UTF16_BE : BOM [static]
The UTF-16 (BE) BOM. | BOM | ||
| UTF16_LE : BOM [static]
The UTF-16 (LE) BOM. | BOM | ||
| UTF32_BE : BOM [static]
The UTF-32 (BE) BOM. | BOM | ||
| UTF32_LE : BOM [static]
The UTF-32 (LE) BOM. | BOM | ||
| UTF7 : BOM [static]
The UTF-7 BOM. | BOM | ||
| UTF8 : BOM [static]
The UTF-8 BOM. | BOM | ||
| UTF_EBCDIC : BOM [static]
The UTF-EBCDIC BOM. | BOM | ||
| option | property |
option:* [read-only] The optional value of the BOM (only in the BOCU-1 BOM).
public function get option():*| BOM | () | Constructor |
public function BOM(name:String, values:Array = null, option:* = null)Creates a new BOM instance.
Parametersname:String — The name key of the enumeration.
| |
values:Array (default = null) — The Array representation of all values of the BOM enumeration.
| |
option:* (default = null) |
| toSource | () | method |
public function toSource(indent:int = 0):StringReturns the source code String representation of the object.
Parameters
indent:int (default = 0) |
String — the source code String representation of the object.
|
| toString | () | method |
public function toString():StringReturns the String representation of the object.
ReturnsString — the String representation of the object.
|
| valueOf | () | method |
public function valueOf():*Returns the primitive value of the object.
Returns* — the primitive value of the object.
|
| BOCU_1 | Constant |
public static const BOCU_1:BOMThe BOCU-1 BOM.
More informations in Wikipedia : Binary Ordered Compression for Unicode
| SCSU | Constant |
public static const SCSU:BOMThe SCSU BOM.
More informations in Wikipedia : Standard Compression Scheme for Unicode
| UTF_EBCDIC | Constant |
| UTF1 | Constant |
| UTF16_BE | Constant |
| UTF16_LE | Constant |
| UTF32_BE | Constant |
| UTF32_LE | Constant |
| UTF7 | Constant |
| UTF8 | Constant |