Class KarmaSourceInjector
java.lang.Object
ml.karmaconfigs.api.common.karma.loader.KarmaSourceInjector
- All Implemented Interfaces:
AutoCloseable,KarmaAppender
Deprecated.
Karma source injector
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Initialize the source injector -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Add a source to the current pathvoidDeprecated.Add a source to the current pathvoidDeprecated.Add a source to the current pathvoidDeprecated.Add a source to the current pathvoidclose()Deprecated.Close the current appenderDeprecated.Get the current URL loader
-
Constructor Details
-
KarmaSourceInjector
Deprecated.Initialize the source injector- Parameters:
cl- the source class loader
-
-
Method Details
-
addSource
Deprecated.Add a source to the current path- Specified by:
addSourcein interfaceKarmaAppender- Parameters:
url- the source file url
-
addSource
Deprecated.Add a source to the current path- Specified by:
addSourcein interfaceKarmaAppender- Parameters:
uri- the source file URI
-
addSource
Deprecated.Add a source to the current path- Specified by:
addSourcein interfaceKarmaAppender- Parameters:
file- the source file
-
addSource
Deprecated.Add a source to the current path- Specified by:
addSourcein interfaceKarmaAppender- Parameters:
path- the source file path
-
close
public void close()Deprecated.Close the current appender- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceKarmaAppender
-
getLoader
Deprecated.Get the current URL loader- Specified by:
getLoaderin interfaceKarmaAppender- Returns:
- the current URL loader
-
KarmaAppendernotice