1 19 20 package jxl.read.biff; 21 22 import common.Logger; 23 24 import jxl.biff.IntegerHelper; 25 import jxl.biff.RecordData; 26 27 30 public class CountryRecord extends RecordData 31 { 32 35 private static Logger logger = Logger.getLogger(CountryRecord.class); 36 37 40 private int language; 41 42 45 private int regionalSettings; 46 47 52 public CountryRecord(Record t) 53 { 54 super(t); 55 byte[] data = t.getData(); 56 57 language = IntegerHelper.getInt(data[0], data[1]); 58 regionalSettings = IntegerHelper.getInt(data[2], data[3]); 59 } 60 61 66 public int getLanguageCode() 67 { 68 return language; 69 } 70 71 76 public int getRegionalSettingsCode() 77 { 78 return regionalSettings; 79 } 80 81 } 82 83 84 85 86 87 88 89 | Popular Tags |