Module uk.autores.processing
Package uk.autores.processing.handlers
Class GenerateInputStreamsFromFiles
- java.lang.Object
-
- uk.autores.processing.handlers.GenerateInputStreamsFromFiles
-
- All Implemented Interfaces:
Handler
public final class GenerateInputStreamsFromFiles extends Object implements Handler
Handler
that, 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.void
handle(Context context)
-
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:
config
in interfaceHandler
- Returns:
- visibility, name
- See Also:
CfgVisibility
,CfgName
-
-