Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.stc.connector.framework.util
Class DirUtils

    java.lang.Object
      com.stc.connector.framework.util.DirUtils

public class DirUtils
extends java.lang.Object

Utilities for Directory manipulation.

Constructor Summary
`DirUtils()`

Method Summary
`static boolean` | `createDirectory(java.io.File dir)` Create the requested directory.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DirUtils

    public DirUtils()

Method Detail

### createDirectory

    public static boolean createDirectory(java.io.File dir)
                                   throws java.lang.SecurityException

  Create the requested directory. The existence of the full path will be confirmed and any missing directories will be created. Potential conflicts during concurrent invocations from multiple threads with overlapping paths are addressed and resolved.

  Parameters:
    `dir` - The directory to be created.
  Returns:
    true if the directory and all parent directories were created.
  Throws:
    `java.lang.SecurityException` - - If a security manager exists and its SecurityManager.checkWrite(java.io.FileDescriptor) method does not permit the named directory and all necessary parent directories and to be created.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD