oracle.jdeveloper.refactoring.util
Class MakeWritableHelper
java.lang.Object
  
oracle.jdeveloper.refactoring.util.MakeWritableHelper
public class MakeWritableHelper
- extends java.lang.Object
 
This class helps to make files writable.
 
 - for the files that are already writable, nothing happens
 
 - for the files that are under source control, if the auto-checkout flag is enabled, the file is checked out
 
 - for the files that are under source control, if the auto-checkout flag is not enabled, the user is asked for confirmation before to checked out the files.
 
 - for the files that are read-only but not under source control, the user is aked for confirmation before to make them writable.
 
 
 Most if not all of this class should be in VCSManager.
 
| 
Method Summary | 
static boolean | 
makeWritable(java.net.URL[] urls)
 
            | 
static boolean | 
makeWritable(java.net.URL[] urls,
             java.lang.String title)
 
            | 
static boolean | 
setReadOnly(java.net.URL url,
            boolean readOnly)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MakeWritableHelper
public MakeWritableHelper()
setReadOnly
public static boolean setReadOnly(java.net.URL url,
                                  boolean readOnly)
 
makeWritable
public static boolean makeWritable(java.net.URL[] urls,
                                   java.lang.String title)
 
makeWritable
public static boolean makeWritable(java.net.URL[] urls)
 
Copyright © 1997, 2011, Oracle. All rights reserved.