public final class EmptyResource extends AbstractInjectableResource
Constructor and Description |
---|
EmptyResource(Key key)
Creates an empty injectable resource with empty content, using the argument as name.
|
EmptyResource(String name)
Creates an empty injectable resource with empty content, using the argument as name.
|
public EmptyResource(String name)
name
- name of resource as stringpublic EmptyResource(Key key)
key
- name of resource as key