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
FunctionLoader
String
.loadFunction
in interface FunctionLoader
function
- The function name to load.family
- This operating system family of the function.String
.FunctionNotFoundException
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.