Hey!

Patrick this question is off-topic for this E-list and shouldn't be posted
here.

It's not hard to write this code yourself.  Start out by building a
String[] of the characters that you want to generate.  If the
sequence you want is random just use the Java date() as the seed
to Random().  Get a StringBuffer() and go through a loop
until you reach the number of characters you want to generate.

All of this information can be found in a good Java primer book.

Good luck.

Sans adieu,
Danny Rubis

Patrick Munis wrote:

> Does anyone know of any class or package that can generate sequence of
> alphanumeric numbers?
> Example I can format the following
>  generate(JAVA-$$$$);
> and it will generate JAVA-0007
>
> thanks
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to