public class WindowsFileReadOnlyHandler extends java.lang.Object implements FileReadOnlyHandler
| Constructor and Description |
|---|
WindowsFileReadOnlyHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
setFileReadOnly(java.io.File file,
boolean readOnly)
Makes the specified file read-only or writable, depending on the specified
readOnly flag.
|
public void setFileReadOnly(java.io.File file,
boolean readOnly)
throws java.io.IOException
setFileReadOnly in interface FileReadOnlyHandlerjava.io.IOException - if something gone wrong