public class LicenseHeaderFilter extends Object implements FunctionLoader
| Constructor and Description |
|---|
LicenseHeaderFilter(FunctionLoader delegate) |
| Modifier and Type | Method and Description |
|---|---|
String |
filter(String lines,
OsFamily family)
Filters out license header comments from a file.
|
String |
loadFunction(String function,
OsFamily family)
Loads a function and returns it as
String. |
public LicenseHeaderFilter(FunctionLoader delegate)
public String loadFunction(String function, OsFamily family) throws FunctionNotFoundException
FunctionLoaderString.loadFunction in interface FunctionLoaderfunction - The function name to load.family - This operating system family of the function.String.FunctionNotFoundExceptionCopyright © 2009-2020 The Apache Software Foundation. All Rights Reserved.