class DefaultDecisionModelResource implements DecisionModelResource {

    private String load() {
        StringBuilder sb = new StringBuilder();
        try (InputStreamReader isr = resourceReader;
             BufferedReader reader = new BufferedReader(isr)) {
            for (String line = reader.readLine(); line != null; line = reader.readLine()) {
                sb.append(line).append("\n");
            }
        } catch (IOException ioe) {
            LOG.error(ioe.getMessage());
            throw new RuntimeException(ioe);
        }
        return sb.toString();
    }

    public  DefaultDecisionModelResource(GAV gav,
                                        String namespace,
                                        String modelName,
                                        DecisionModelType type,
                                        InputStreamReader resourceReader);

}