method
close

void close( )

Closes this and flushes any outstanding data.