toolkit / com.sas.android.visualanalytics.sdk / FileHandler / newFile
newFile
abstract fun newFile(parent: File, childPath: String): File
Instantiates a File object for the given child path in the given parent directory.
Parameters
parent -
a File object describing the parent directory.
childPath -
a (relative) file name.
Return
a File object.
abstract fun newFile(parentPath: String, childPath: String): File
Instantiates a File object for the given child path in the given parent directory.
Parameters
parent -
a fully qualified parent directory.
childPath -
a (relative) file name.
Return
a File object.
abstract fun newFile(path: String): File
Instantiates a File object for the given path.
Parameters
path -
a fully qualified path.
Return
a File object.