void checkURI(URI uri) {
		if (!uri.isAbsolute()) {
			throw new IllegalArgumentException(uri.toString());
		} else if (!uri.getRawSchemeSpecificPart().startsWith("/")) {
			throw new IllegalArgumentException(uri.toString());
		}

		String temp = uri.getScheme();
		if (temp == null || !temp.equals("file")) {
			throw new IllegalArgumentException(uri.toString());
		}

		temp = uri.getRawPath();
		if (temp == null || temp.length() == 0) {
			throw new IllegalArgumentException(uri.toString());
		}

		if (uri.getRawAuthority() != null) {
			throw new IllegalArgumentException("authority " + uri.toString());
		}

		if (uri.getRawQuery() != null) {
			throw new IllegalArgumentException("query " + uri.toString());
		}

		if (uri.getRawFragment() != null) {
			throw new IllegalArgumentException("fragment " + uri.toString());
		}
	}