HI can Any one help me out for Generating Random file name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ganapathidev
    New Member
    • Dec 2007
    • 6

    HI can Any one help me out for Generating Random file name

    HI Every one,
    iam posting a small piece of my code , vcan any one/

    Random rand = new Random();
    int Count = java.lang.Math. abs(rand.nextIn t());
    String comb=com.concat (Message);//out.println("Co mbined string: " + comb);
    String Filepath="Store/"+ +".txt";
    FileBean.create File(comb,Filep ath);

    can any one guide me pls . In tString Filepath what should i mentioned in between + +.
    Tq
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by ganapathidev
    HI Every one,
    iam posting a small piece of my code , vcan any one/

    Random rand = new Random();
    int Count = java.lang.Math. abs(rand.nextIn t());
    String comb=com.concat (Message);//out.println("Co mbined string: " + comb);
    String Filepath="Store/"+ +".txt";
    FileBean.create File(comb,Filep ath);

    can any one guide me pls . In tString Filepath what should i mentioned in between + +.
    Tq
    Depends on what you want. What do you want the name to be like?

    Comment

    Working...