code: @Override
      public T addAsDirectories(final String... paths) throws IllegalArgumentException {
          // Precondition check
          Validate.notNull(paths, "paths must be specified");
  
          // Represent as array of Paths
          final Collection<ArchivePath> pathsCollection = new ArrayList<ArchivePath>(paths.length);
          for (final String path : paths) {
              pathsCollection.add(ArchivePaths.create(path));
          }
  
          // Delegate and return
          return this.addAsDirectories(pathsCollection.toArray(new ArchivePath[] {}));
      }
docs: {@inheritDoc}
  
  @see org.jboss.shrinkwrap.api.Archive#addAsDirectories(java.lang.String[])