Obtains a Stream, which represents a flush of bytes, through the received data.
1 object.2stream
<object.2stream encoding='encoding'>
<object /> !
</object.2stream>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aencoding | string | Indicates the coding of the string of characters to process, for example ISO-8859-1 or UTF-8. If not specified, the one defined in the configuratio file for the server is used. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Eobject | InputStream/byte[]/File/DataSource/DataHandler/Blob/String/Node | Element of which the Stream is obtained. |
Returns | |
---|---|
Type | Description |
Stream |
Example
Copy
<xsql-script name='object_2_stream'> <body> <println> <object.2stream> <file name='filesample.txt' type='temp' /> </object.2stream> </println> </body> </xsql-script>