Subversion Repositories SmartDukaan

Rev

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

Rev 6401 Rev 6402
Line 65... Line 65...
65
    static{
65
    static{
66
    	int []  gatewayIds = {5,10,11,12};
66
    	int []  gatewayIds = {5,10,11,12};
67
    	for(int gatewayId: gatewayIds){
67
    	for(int gatewayId: gatewayIds){
68
    		String resourceDirPath = "/tmp/emi-resource/" + gatewayId + "/";
68
    		String resourceDirPath = "/tmp/emi-resource/" + gatewayId + "/";
69
	        try {
69
	        try {
70
				InputStream inputStream = Class.class.getResourceAsStream(ConfigClient.getClient().get("emi_payment_resource_file_path") + resourceFileName);
70
				InputStream inputStream = Class.class.getResourceAsStream(ConfigClient.getClient().get("emi_payment_resource_file_path") + gatewayId + File.separator + resourceFileName);
71
				File resourceDir = new File(resourceDirPath);
71
				File resourceDir = new File(resourceDirPath);
72
				if(!resourceDir.exists()){
72
				if(!resourceDir.exists()){
73
					resourceDir.mkdir();
73
					resourceDir.mkdir();
74
				}
74
				}
75
				
75