Example usage for Java android.os FileUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | copyToFile(InputStream inputStream, File destFile) |
boolean | deleteOlderFiles(File dir, int minCount, long minAgeMs) Delete older files in a directory until only those matching the given constraints remain. |
boolean | isValidExtFilename(String name) Check if given filename is valid for an ext4 filesystem. |
int | setPermissions(File path, int mode, int uid, int gid) Set owner and mode of of given File . |
int | setPermissions(String path, int mode, int uid, int gid) Set owner and mode of of given path. |
int | setPermissions(FileDescriptor fd, int mode, int uid, int gid) Set owner and mode of of given FileDescriptor . |
boolean | sync(FileOutputStream stream) Perform an fsync on the given FileOutputStream. |