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 wrongBuilt on January 12 2013. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.