Class SVNOS2Util


  • public class SVNOS2Util
    extends java.lang.Object
    Version:
    1.3
    Author:
    TMate Software Ltd.
    • Constructor Summary

      Constructors 
      Constructor Description
      SVNOS2Util()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isOS2IO4JPresent()  
      static boolean moveFile​(java.io.File src, java.io.File dst)
      atomically renames src to dst and returns false if there is any error on rename.
      static boolean setHidden​(java.io.File file, boolean hidden)
      makes file hidden and returns true in case operations succeeded, false in case of any error
      static void setJNAEnabled​(boolean enabled)  
      static boolean setWritable​(java.io.File file)
      makes file writable and returns true in case operations succeeded, false in case of any error
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SVNOS2Util

        public SVNOS2Util()
    • Method Detail

      • setJNAEnabled

        public static void setJNAEnabled​(boolean enabled)
      • isOS2IO4JPresent

        public static boolean isOS2IO4JPresent()
      • setWritable

        public static boolean setWritable​(java.io.File file)
        makes file writable and returns true in case operations succeeded, false in case of any error
      • setHidden

        public static boolean setHidden​(java.io.File file,
                                        boolean hidden)
        makes file hidden and returns true in case operations succeeded, false in case of any error
      • moveFile

        public static boolean moveFile​(java.io.File src,
                                       java.io.File dst)
        atomically renames src to dst and returns false if there is any error on rename.