org.netbeans.lib.cvsclient.file
Interface FileReadOnlyHandler

All Known Implementing Classes:
WindowsFileReadOnlyHandler

public interface FileReadOnlyHandler


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

Method Detail

setFileReadOnly

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.

Throws:
java.io.IOException - if something gone wrong

 

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