service / com.scurab.android.uitor.tools / ZipTools / copyFileIntoInternalStorageIfNecessary

copyFileIntoInternalStorageIfNecessary

open static fun copyFileIntoInternalStorageIfNecessary(context: Context!, rawRes: Int, targetFile: String!): Boolean

Copy raw resource file into target file only if target file doesn't exists

Parameters

context - Context!:

rawRes - Int:

targetFile - String!:

Exceptions

IOException -

Return
Boolean: true if file was copied, false if exists