org.netbeans.lib.cvsclient.file
Class WindowsFileReadOnlyHandler

java.lang.Object
  extended by org.netbeans.lib.cvsclient.file.WindowsFileReadOnlyHandler
All Implemented Interfaces:
FileReadOnlyHandler

public class WindowsFileReadOnlyHandler
extends java.lang.Object
implements FileReadOnlyHandler


Constructor Summary
WindowsFileReadOnlyHandler()
           
 
Method Summary
 void setFileReadOnly(java.io.File file, boolean readOnly)
          Makes the specified file read-only or writable, depending on the specified readOnly flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsFileReadOnlyHandler

public WindowsFileReadOnlyHandler()
Method Detail

setFileReadOnly

public void setFileReadOnly(java.io.File file,
                            boolean readOnly)
                     throws java.io.IOException
Makes the specified file read-only or writable, depending on the specified readOnly flag.

Specified by:
setFileReadOnly in interface FileReadOnlyHandler
Throws:
java.io.IOException - if something gone wrong

 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.