OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 104 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 104 Rev 181
Line 114... Line 114...
114
    public List<String> getSupportedCurrencyCodes() {
114
    public List<String> getSupportedCurrencyCodes() {
115
        return supportedCurrencyCodes;
115
        return supportedCurrencyCodes;
116
    }
116
    }
117
 
117
 
118
    public static String downloadXML() {
118
    public static String downloadXML() {
119
        final String urlString = "http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml";
119
        final String urlString = "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml";
120
        BufferedInputStream in = null;
120
        BufferedInputStream in = null;
121
        ByteArrayOutputStream fout = null;
121
        ByteArrayOutputStream fout = null;
122
        try {
122
        try {
123
            in = new BufferedInputStream(new URL(urlString).openStream());
123
            in = new BufferedInputStream(new URL(urlString).openStream());
124
            fout = new ByteArrayOutputStream();
124
            fout = new ByteArrayOutputStream();