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 FileReadOnlyHandlerIOException - if something gone wrongCopyright © 2013. All rights reserved.