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 Object
implements FileReadOnlyHandler

Version:
Nov 17, 2001
Author:
Thomas Singer

Constructor Summary
WindowsFileReadOnlyHandler()
           
 
Method Summary
 void setFileReadOnly(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(File file,
                            boolean readOnly)
                     throws IOException
Makes the specified file read-only or writable, depending on the specified readOnly flag.

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


Copyright © 2011. All Rights Reserved.