public class Provider extends Object
Modifier and Type | Method and Description |
---|---|
void |
addScript(File file) |
String |
addScript(Script s) |
List<Script> |
getScripts() |
boolean |
hasRunning() |
static boolean |
isValidExt(File file,
Set<String> validExt)
Determines whether the given file has a valid file extension according to
the given set of extensions.
|
boolean |
removeScript(Script s) |
boolean |
removeScript(String uri) |
void |
start() |
void |
stop() |
public static final String BASE
public Provider(File confHome)
public static boolean isValidExt(File file, Set<String> validExt)
file
- the file to check.validExt
- the set of valid extensions.public void start()
public void addScript(File file)
public boolean removeScript(Script s)
public boolean removeScript(String uri)
public boolean hasRunning()
public void stop()
Copyright © 2018 universAAL Consortium. All rights reserved.