Class EmptyResource
- java.lang.Object
- 
- org.pepstock.charba.client.resources.AbstractInjectableResource
- 
- org.pepstock.charba.client.resources.EmptyResource
 
 
- 
 public final class EmptyResource extends AbstractInjectableResource Default implementation for an empty resource to inject.
 This could be helpful when you don't want to inject a library because are available from another framework.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Constructor SummaryConstructors Constructor Description EmptyResource(String name)Creates an empty injectable resource with empty content, using the argument as name.EmptyResource(Key key)Creates an empty injectable resource with empty content, using the argument as name.
 
- 
- 
- 
Constructor Detail- 
EmptyResourcepublic EmptyResource(String name) Creates an empty injectable resource with empty content, using the argument as name.- Parameters:
- name- name of resource as string
 
 - 
EmptyResourcepublic EmptyResource(Key key) Creates an empty injectable resource with empty content, using the argument as name.- Parameters:
- key- name of resource as key
 
 
- 
 
-