- java.lang.Object
-
- uk.autores.handling.GenerateInputStreamsFromFiles
-
- All Implemented Interfaces:
Handler
public final class GenerateInputStreamsFromFiles extends Object implements Handler
Handlerthat, for each resource, generates a static method with a name derived from the resource name usingNamer.simplifyResourceName(String)andNamer.nameMember(String).
-
-
Constructor Summary
Constructors Constructor Description GenerateInputStreamsFromFiles()Ctor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<ConfigDef>config()All configuration is optional.voidhandle(Context context)Handles the context resources.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.autores.handling.Handler
validConfig
-
-
-
-
Method Detail
-
config
public Set<ConfigDef> config()
All configuration is optional.
Use "name" to set the generated class name. If absent the last segment of the package name will be used.
Use "visibility" to make the generated class public.
- Specified by:
configin interfaceHandler- Returns:
- visibility, name
- See Also:
CfgVisibility,CfgName
-
-