public static CSProperties fromTable(CSTable t) {
        BasicCSProperties p = new BasicCSProperties();

        Map<Integer, List<String>> table = new HashMap<Integer, List<String>>();
        for (int i = 1; i <= t.getColumnCount(); i++) {
            table.put(i, new ArrayList<String>());
        }

        for (String[] row : t.rows()) {
            for (int i = 1; i < row.length; i++) {
                table.get(i).add(row[i]);
            }
        }

        Map<String, String> m = new HashMap<String, String>();
        m.put("bound", t.getName());

        for (int i = 1; i <= t.getColumnCount(); i++) {
            String name = t.getColumnName(i);
            p.put(name, table.get(i).toString().replace('[', '{').replace(']', '}'));
            p.setInfo(name, m);
        }
        return p;
    }