writeFileFromIS

open fun writeFileFromIS(filePath: String, is: InputStream): Boolean

Write file from input stream.

Return

{@code true}: success{@code false}: fail

Parameters

filePath

The path of file.

is

The input stream.

open fun writeFileFromIS(filePath: String, is: InputStream, append: Boolean): Boolean

Write file from input stream.

Return

{@code true}: success{@code false}: fail

Parameters

filePath

The path of file.

is

The input stream.

append

True to append, false otherwise.

open fun writeFileFromIS(file: File, is: InputStream): Boolean

Write file from input stream.

Return

{@code true}: success{@code false}: fail

Parameters

file

The file.

is

The input stream.

open fun writeFileFromIS(file: File, is: InputStream, append: Boolean): Boolean

Write file from input stream.

Return

{@code true}: success{@code false}: fail

Parameters

file

The file.

is

The input stream.

append

True to append, false otherwise.