/**
   * Creates an instance of the <code>CloudFileDirectory</code> class using an absolute URI to the
   * directory.
   *
   * @param directoryAbsoluteUri A {@link StorageUri} that represents the file directory's address.
   * @param client A {@link CloudFileClient} object that represents the associated service client.
   * @throws StorageException
   * @throws URISyntaxException
   */
  public CloudFileDirectory(final StorageUri directoryAbsoluteUri, final CloudFileClient client)
      throws StorageException, URISyntaxException {
    Utility.assertNotNull("directoryAbsoluteUri", directoryAbsoluteUri);

    this.fileServiceClient = client;
    this.storageUri = directoryAbsoluteUri;
    this.properties = new FileDirectoryProperties();
    this.parseQueryAndVerify(
        directoryAbsoluteUri,
        client,
        client == null
            ? Utility.determinePathStyleFromUri(this.storageUri.getPrimaryUri())
            : client.isUsePathStyleUris());
  }