@Override
    public T addAsResource(String resourceName, ArchivePath target) throws IllegalArgumentException {
        Validate.notNull(resourceName, "ResourceName should be specified");
        Validate.notNull(target, "Target should be specified");

        File resource = fileFromResource(resourceName);
        return addAsResource(resource, target);
    }
@ Override public T addAsResource ( String resourceName , ArchivePath target ) throws IllegalArgumentException { Validate . notNull ( resourceName , "ResourceName should be specified" ) ; Validate . notNull ( target , "Target should be specified" ) ; File resource = fileFromResource ( resourceName ) ; return addAsResource ( resource , target ) ; }
/*
(non-Javadoc)

@see org.jboss.shrinkwrap.api.container.ResourceContainer#addResource(java.lang.String,
org.jboss.shrinkwrap.api.Path)