public class FileProtectionUtility extends Object
| Constructor and Description |
|---|
FileProtectionUtility() |
| Modifier and Type | Method and Description |
|---|---|
static void |
chmod0600(File file)
Set permissions on the specified file equivalent to file mode 0600.
|
public static void chmod0600(File file) throws IOException
file - The file to set permissions onIOException - if an I/O error occursCopyright © 2019. All rights reserved.