Subversion Repositories SmartDukaan

Rev

Rev 6402 | Rev 6491 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6402 Rev 6420
Line 61... Line 61...
61
    public HdfcEmiPaymentHandler() {
61
    public HdfcEmiPaymentHandler() {
62
        // TODO Auto-generated constructor stub
62
        // TODO Auto-generated constructor stub
63
    }
63
    }
64
    
64
    
65
    static{
65
    static{
-
 
66
    	File resourceBaseDir = new File("/tmp/emi-resource/");
-
 
67
    	if(!resourceBaseDir.exists()){
-
 
68
    		resourceBaseDir.mkdir();
-
 
69
		}
66
    	int []  gatewayIds = {5,10,11,12};
70
    	int []  gatewayIds = {5,10,11,12};
67
    	for(int gatewayId: gatewayIds){
71
    	for(int gatewayId: gatewayIds){
68
    		String resourceDirPath = "/tmp/emi-resource/" + gatewayId + "/";
72
    		String resourceDirPath = "/tmp/emi-resource/" + gatewayId + "/";
69
	        try {
73
	        try {
70
				InputStream inputStream = Class.class.getResourceAsStream(ConfigClient.getClient().get("emi_payment_resource_file_path") + gatewayId + File.separator + resourceFileName);
74
				InputStream inputStream = Class.class.getResourceAsStream(ConfigClient.getClient().get("emi_payment_resource_file_path") + gatewayId + File.separator + resourceFileName);