import java.io.*;
import java.net.*;
import java.util.*;
-import jazz.*;
+import java.util.zip.*;
import java.lang.*;
import java.applet.*;
import org.mozilla.javascript.*;
char c = name.charAt(i);
if (!((c >= 'A' && c <= 'Z') ||
(c >= 'a' && c <= 'z') ||
- c == '_' ||
- (c >= '0' && c <= '9') ||
- (c == '.' && i == name.length() - 4))) return false;
+ c == '_' || c == '.' ||
+ (c >= '0' && c <= '9'))) return false;
}
return true;
}
}
public int read(byte[] b, int off, int len) throws IOException {
int ret = super.read(b, off, len);
- if (ret != -1) bytesDownloaded += ret;
if (clear && callback != null) {
clear = false;
ThreadMessage.newthread(new JSObject.JSFunction() {
}
});
}
+ bytesDownloaded += ret;
return ret;
}
});