private boolean isHeader(String key, String value){ if(key.equalsIgnoreCase(keyName()) || value.equalsIgnoreCase(valueName())){ return true; } else if(key.equalsIgnoreCase("Id") || (key.length() > 2 && (key.substring(key.length() - 2)).equalsIgnoreCase("Id"))){ return true; } // End if Qdb qdb = getQdb(); if(qdb != null && (qdb.getCompound(key)) == null){ return true; } return false; }
public Map<String, String> loadStringMap() throws IOException { return loadMap(new StringFormat()); }
public void storeBigDecimalMap(Map<String, BigDecimal> map) throws IOException { storeMap(map, new BigDecimalFormat()); }
public <V> void storeMap(Map<String, V> map, ValueFormat<V> formatter) throws IOException { OutputStream os = getOutputStream(); if(valueName() != null){ writer.write(keyName()); writer.write('\t'); writer.write(valueName());
InputStream is = getInputStream(); if(i == 0 && isHeader(key, value)){ continue;
public void storeDoubleMap(Map<String, Double> map, DecimalFormat format) throws IOException { storeMap(map, new DoubleFormat(format)); }
public Map<String, Double> loadDoubleMap() throws IOException { return loadMap(new DoubleFormat()); }
public void storeBooleanMap(Map<String, Boolean> map) throws IOException { storeMap(map, new BooleanFormat()); }
public Map<String, Boolean> loadBooleanMap() throws IOException { return loadMap(new BooleanFormat()); }
public void storeDoubleMap(Map<String, Double> map) throws IOException { storeMap(map, new DoubleFormat()); }
public Map<String, Double> loadDoubleMap(DecimalFormat format) throws IOException { return loadMap(new DoubleFormat(format)); }
public void storeStringMap(Map<String, String> map) throws IOException { storeMap(map, new StringFormat()); }
public Map<String, BigDecimal> loadBigDecimalMap() throws IOException { return loadMap(new BigDecimalFormat()); }