Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class FileUtls

Hierarchy

java.lang.Object

Package
com.smartdevicelink.util

Constructors

FileUtls()

public FileUtls()

Methods

getFileData( String file )

When using on Android, this method should only be used for Android Oreo and newer

public static byte getFileData(String file)

Parameters

file
the path to the file

getFileData( String filePath, String fileName )

When using on Android, this method should only be used for Android Oreo and newer

public static byte getFileData(String filePath,String fileName)

Parameters

filePath
the path to the file
fileName
the name of the file

downloadFile( String urlStr )

public static byte downloadFile(String urlStr)

Parameters

urlStr

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section