Skip to content

Instantly share code, notes, and snippets.

View johnpaulett's full-sized avatar

John Paulett johnpaulett

View GitHub Profile
DCM_LABEL_1124
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.net.URI;
import java.net.URL;
public class URITest {
public void run() throws Exception {
String[] paths = new String[] { "/home", "../home", "home",
"file:///home", "file://../home", "file://home", "c:\\", "c:/",
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>
configuration file for DicomServer, by [email protected]
</comment>
<entry key="arcspec">/home/xnat/xnat_data/cache/archive_specification.xml</entry>
<entry key="xnat_url">http://localhost:8080/xnat</entry>
<entry key="user">admin</entry>