yangys
2024-05-18 c9b04383c77f91ac309e37e70783edcf8a9298b5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.qianwen.core.report.provider;
 
//import com.bstek.ureport.UReportPropertyPlaceholderConfigurer;
import java.util.Properties;
import com.qianwen.core.report.props.ReportProperties;
 
 
public class ReportPlaceholderProvider {// extends UReportPropertyPlaceholderConfigurer
    public ReportPlaceholderProvider(ReportProperties properties) {
        Properties props = new Properties();
        props.setProperty("ureport.disableHttpSessionReportCache", properties.getDisableHttpSessionReportCache().toString());
        props.setProperty("ureport.disableFileProvider", properties.getDisableFileProvider().toString());
        props.setProperty("ureport.fileStoreDir", properties.getFileStoreDir());
        props.setProperty("ureport.debug", properties.getDebug().toString());
        //setProperties(props);
    }
}