Mr.Bad wrote on 5/16/01 12:14 pm: >>>>>> "t" == thelema ><thelema at mh246001.truma >n.edu> writes:
>(I mean, did >you change "Params.java")? <> >Or (in the great tradition of >Freenet) did you write it >over again? No, but I did. The new 'Enhanced Params' is in EParams.java. I left the API intact (with a few additions), but it is also 100 lines shorter then the original, and you can give it's constructor a String[] containing a list of valid names (trying to set an invalid name will cause it to throw an exception). Also, it represents the data internaly as a Hashtable instead of a vector. The only thing I'm not satisfied with is that I had to kludge the code to handle Booleans. I don't know why it doesn't otherwise work. Like I said, the API is intact, so the only thing you need to do to get your program to work with it should be 's/Params/EParams/' and recompile. Timm Murray ----------- Theory is when you know how it works, but fails. Practice is when something works, but you don't know why. Here, Theory and Practice come together. Nothing works, and nobody knows why. _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
