// Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
-package org.xwt;
+package org.ibex;
import java.io.*;
-import java.util.*;
import java.util.zip.*;
-import org.xwt.js.*;
-import org.xwt.util.*;
+import org.ibex.js.*;
+import org.ibex.util.*;
import org.xwt.translators.MSPack;
-import org.bouncycastle.util.encoders.Base64;
/**
* Essentiall an InputStream "factory". You can repeatedly ask a
HTTP(String url) { while (url.endsWith("/")) url = url.substring(0, url.length() - 1); this.url = url; }
public Object get(Object key) throws JSExn { return new HTTP(url + "/" + (String)key); }
public String getCacheKey(Vec path) throws NotCacheableException { return url; }
- public InputStream getInputStream() throws IOException { return new org.xwt.HTTP(url).GET(); }
+ public InputStream getInputStream() throws IOException { return new org.ibex.HTTP(url).GET(); }
}
/** byte arrays */