private static final Logger LOGGER = Logger.getLogger("es.gob.afirma"); //$NON-NLS-1$
private static final String[] SUPPORTED_URI_SCHEMES = new String[] {
"http", "https", "file", "urn" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
};
public static URI createURI(final String file) throws URISyntaxException {
<BUG>if (file == null || "".equals(file)) { //$NON-NLS-1$
throw new IllegalArgumentException("No se puede crear una URI a partir de un nulo"); //$NON-NLS-1$</BUG>
}
String filename = file.trim();
if ("".equals(filename)) { //$NON-NLS-1$

private static final Logger LOGGER = Logger.getLogger("es.gob.afirma"); //$NON-NLS-1$
private static final String[] SUPPORTED_URI_SCHEMES = new String[] {
"http", "https", "file", "urn" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
};
public static URI createURI(final String file) throws URISyntaxException {
if (file == null || file.isEmpty()) {
throw new IllegalArgumentException("No se puede crear una URI a partir de un nulo"); //$NON-NLS-1$
}
String filename = file.trim();
if ("".equals(filename)) { //$NON-NLS-1$
