@Nonnull
  @ReturnsMutableCopy
  public static ICommonsList <Path> getDirectoryContent (@Nonnull final Path aDirectory)
  {
    ValueEnforcer.notNull (aDirectory, "Directory");

    return _getDirectoryContent (aDirectory, null);
  }
@ Nonnull @ ReturnsMutableCopy public static ICommonsList < Path > getDirectoryContent ( @ Nonnull final Path aDirectory ) { ValueEnforcer . notNull ( aDirectory , "Directory" ) ; return _getDirectoryContent ( aDirectory , null ) ; }
This is a replacement for <code>Path.listFiles()</code> doing some
additional checks on permissions. The order of the returned files is
undefined. "." and ".." are not contained.

@param aDirectory
The directory to be listed. May not be <code>null</code>.
@return Never <code>null</code>.