public class FileQueryLoader extends Object implements QueryLoader, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
FileQueryLoader(String scriptsFolder)
Constructor, receives the path for the folder containing all the queries
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
String |
load(String queryName) |
String[] |
loadMultiple(String queryName,
char separator) |
public FileQueryLoader(String scriptsFolder)
scriptsFolder - Base folder with the Scriptspublic String load(String queryName)
load in interface QueryLoaderpublic String[] loadMultiple(String queryName, char separator)
loadMultiple in interface QueryLoaderCopyright © 2015. All rights reserved.