get-stream-filename

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Expression Functions > MIME Expression Functions >

get-stream-filename

Returns a stream's file name with extension if the stream supplied as argument was created from a file. Otherwise, it returns the value of the default argument.

 

Signature

get-stream-filename(stream:stream, default:string="") -> string

 

Parameters

Name

Type

Description

stream

stream

Specifies the input stream.

default

string

Specifies the default value to return. By default, this is an empty string.


© 2019 Altova GmbH