public void loadData(ReadAdapter reader){
        try {
            if (entries==null)
                entries = new ArrayList<HarmonogramEntry>();
            reader.openConnection();
            entries.clear();
            //read all the data into the entries list
        } catch (Exception ex){
            System.err.println(ex.getMessage());
        } finally {
            reader.closeConnection();
        }
    }