class XMLResources implements Comparator<Object> {

	@Pure
	public final URL getResourceURL(long identifier) {
		final Entry o = getResourceFromIdentifier(identifier);
		if (o.isURL()) {
			return this.pathBuilder.makeAbsolute(o.getURL());
		}
		if (o.isFile()) {
			return this.pathBuilder.makeAbsolute(o.getFile());
		}
		return null;
	}

	public  XMLResources(PathBuilder pathBuilder);

}