API / geotoolkit / util / stream / TextStream / TextStream
stream.TextStream.TextStream
Defines interface of stream to write
Interface
Constructors
Methods
▸ close(): TextStream
Close stream
▸ dispose(): void
Dispose
void
▸ getClassName(): string
string
▸ getContent(): string | string[]
Returns content
string | string[]
▸ out(data): number
| Name | Type | Description |
|---|---|---|
data | string | string[] | data to be written |
number
offset
▸ save(name?, save?): void
| Name | Type | Description |
|---|---|---|
Optional name | string | the name of the file to be created |
Optional save | boolean | flag to save the stream directly to file or open dialog |
void
▸ Static getClassName(): string
string