Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaEE Documentation
FileUtls

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)

Method 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)

Method Parameters

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

downloadFile( String urlStr )

public static byte downloadFile(String urlStr)

Method 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