core/src/main/java/com/opentext/ia/sdk/support/io/UniqueDirectory.java
public static File in(File parentDir) {
    File result = new File(parentDir, UUID.randomUUID()
      .toString());
    if (!result.mkdirs()) {
      throw new RuntimeIoException(new IOException("Could not create directory: " + result));
    }
    return result;
  }
public static File in(File parentDir) {
    File result = new File(parentDir, UUID.randomUUID()
      .toString());
    if (!result.mkdirs()) {
      throw new RuntimeIoException(new IOException("Could not create directory: " + result));
    }
    return result;
  }
Create a new directory in the given parent directory.
@param parentDir The parent directory in which to create a new directory
@return The newly created directory