| Constructor and Description |
|---|
PathBasedIncludes(ScriptBuilder vBuilder)
Make a new instance that will browse a first folder.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addPath(File path)
Add a new folder to browse.
|
List<File> |
getPaths()
Get all the given paths.
|
List<Script> |
getScripts(String name)
Get the script associated to a given identifier by browsing the given paths.
|
String |
toString() |
public PathBasedIncludes(ScriptBuilder vBuilder)
vBuilder - the builder to parse the scriptspublic List<Script> getScripts(String name) throws ScriptBuilderException
getScripts in interface Includesname - the identifier of the scriptScriptBuilderException - if the builder was not able to parse the looked scriptpublic boolean addPath(File path)
path - the path to the folder
path must be an existing foldertrue if the path was addedpublic List<File> getPaths()
Copyright © 2016 University of Nice-Sophia Antipolis. All Rights Reserved.