public static final class DeviceApi.FileSystem.FileInfo extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
copyTo(Path path)
Copies a file from the local filesystem to the filesystem of the
device.
|
boolean |
delete()
Deletes the file.
|
Optional<String> |
getName()
Gets the name of the file.
|
Optional<Integer> |
getSize()
Gets the size of the file.
|
public Optional<String> getName()
public Optional<Integer> getSize()
public boolean delete()
public boolean copyTo(Path path)
path
- The path to save the file to.Copyright © 2024. All rights reserved.