- Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathParamConfig.java
More file actions
Latest commit
25 lines (22 loc) · 756 Bytes
/
Copy pathParamConfig.java
File metadata and controls
25 lines (22 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
Ver Creation_Time Created_By Update_Time Updated_By Description
--- ------------- -------------- ----------- -------------- -------------------------------------
1.1 2019-09-04 xlzhu@ips.com ini config parameters
*/
importjava.util.List;
importjava.util.Properties;
publicclassParamConfigextendsDataSource{
privatePropertiesprop;
publicParamConfig(){
this.prop = getProps();
}
@Override
protectedList<String[]> getDataList(StringpDataStr,SqlLoggingpLogger){
//Override&customize this function,maybe visit your data from database or other source
returnnull;
}
@Override
publicStringgetPropValue(Stringpkey){
returnthis.prop.getProperty(pkey);
}
}