@Override public License getLicense() { return new LicenseSupport("Apache License, Version 2.0", "http://www.apache.org/licenses/LICENSE-2.0.txt"); } }
public String getContent() throws IOException { URL url = getUrl(); if (url == null) { return null; } PrintBuffer buff = new PrintBuffer(); InputStream input = url.openStream(); try { Copier.copy(input, buff); } finally { Closer.close(input); } return buff.toString(); } }
@Override public License getLicense() { return new LicenseSupport("Apache License, Version 2.0", "http://www.apache.org/licenses/LICENSE-2.0.txt"); } }
public License getLicense() { return new LicenseSupport(null, (URL)null); }