Java android.os FileUtils fields, constructors, methods, implement or subclass

Example usage for Java android.os FileUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.os FileUtils.

The text is from its open source code.

Field

Method

booleancopyToFile(InputStream inputStream, File destFile)
booleandeleteOlderFiles(File dir, int minCount, long minAgeMs)
Delete older files in a directory until only those matching the given constraints remain.
booleanisValidExtFilename(String name)
Check if given filename is valid for an ext4 filesystem.
intsetPermissions(File path, int mode, int uid, int gid)
Set owner and mode of of given File .
intsetPermissions(String path, int mode, int uid, int gid)
Set owner and mode of of given path.
intsetPermissions(FileDescriptor fd, int mode, int uid, int gid)
Set owner and mode of of given FileDescriptor .
booleansync(FileOutputStream stream)
Perform an fsync on the given FileOutputStream.