Subversion Repositories SmartDukaan

Rev

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

Rev 13584 Rev 13586
Line 116... Line 116...
116
    
116
    
117
    public static Map<Long, Long> getCurrentFAInventory(){
117
    public static Map<Long, Long> getCurrentFAInventory(){
118
    	Map<Long,Long> currentFAInventoryMap = new HashMap<Long, Long>();
118
    	Map<Long,Long> currentFAInventoryMap = new HashMap<Long, Long>();
119
    	try {
119
    	try {
120
    		int i=1;
120
    		int i=1;
121
			CSVReader csvInventoryReader = new CSVReader(new FileReader("/tmp/FAInventory.csv"));
121
			CSVReader csvInventoryReader = new CSVReader(new FileReader("/home/FAInventory.csv"));
122
			String[] values;
122
			String[] values;
123
			while ((values = csvInventoryReader.readNext()) != null) {
123
			while ((values = csvInventoryReader.readNext()) != null) {
124
				if(i==1){
124
				if(i==1){
125
					i++;
125
					i++;
126
					continue;
126
					continue;
Line 145... Line 145...
145
    
145
    
146
    public static Map<Long, Double> getCurrentFAInventorySellingPrice(){
146
    public static Map<Long, Double> getCurrentFAInventorySellingPrice(){
147
    	Map<Long,Double> currentFAInventorySellingPriceMap = new HashMap<Long, Double>();
147
    	Map<Long,Double> currentFAInventorySellingPriceMap = new HashMap<Long, Double>();
148
    	try {
148
    	try {
149
    		int i=1;
149
    		int i=1;
150
			CSVReader csvInventoryReader = new CSVReader(new FileReader("/tmp/FAInventory.csv"));
150
			CSVReader csvInventoryReader = new CSVReader(new FileReader("/home/FAInventory.csv"));
151
			String[] values;
151
			String[] values;
152
			while ((values = csvInventoryReader.readNext()) != null) {
152
			while ((values = csvInventoryReader.readNext()) != null) {
153
				if(i==1){
153
				if(i==1){
154
					i++;
154
					i++;
155
					continue;
155
					continue;