Revision 44455 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.csv/src/main/java/org/gvsig/fmap/dal/store/csv/AutomaticDetectionOfTypes.java

View differences:

AutomaticDetectionOfTypes.java
16 16
public class AutomaticDetectionOfTypes {
17 17

  
18 18
    public interface Rows {
19

  
19 20
        public List<String> nextRowValues();
20 21
    }
21
    
22

  
22 23
    private static class PossibleDataType {
23 24

  
24 25
        public boolean possibleInt = true;
......
43 44
    private String getFullFileName() {
44 45
        return this.filename;
45 46
    }
46
    
47

  
47 48
    @SuppressWarnings({"UseSpecificCatch", "ResultOfObjectAllocationIgnored"})
48 49
    public int[] detect(int columns, Rows rows, boolean isFirstLineHeader, Locale locale) throws IOException {
49 50
        List<PossibleDataType> possibleDataTypes;
......
210 211
            return false;
211 212
        }
212 213
    }
213
    
214

  
214 215
}

Also available in: Unified diff