public class WindowsFileReadOnlyHandler extends Object implements FileReadOnlyHandler
Constructor and Description |
---|
WindowsFileReadOnlyHandler() |
Modifier and Type | Method and Description |
---|---|
void |
setFileReadOnly(File file,
boolean readOnly)
Makes the specified file read-only or writable, depending on the
specified readOnly flag.
|
public void setFileReadOnly(File file, boolean readOnly) throws IOException
setFileReadOnly
in interface FileReadOnlyHandler
IOException
- if something gone wrongCopyright © 2016. All rights reserved.