Package org.applecommander.source
Class Sources
java.lang.Object
org.applecommander.source.Sources
Sources is a hook into the Source discovery and construction logic.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStandardized Source creation.static void
setFactories
(Source.Factory... factories) This call is a shim for the AntTask to populate its known factories since ServiceLoader doesn't appear to work within the Ant classpath.
-
Constructor Details
-
Sources
public Sources()
-
-
Method Details
-
setFactories
This call is a shim for the AntTask to populate its known factories since ServiceLoader doesn't appear to work within the Ant classpath. -
create
Standardized Source creation. Uses the ServiceLoader mechanism to identify all potential Source factories. Note that this supports a Source being passed as well (which ensures any wrapping layers are added, such as 2IMG or DiskCopy).
-