Java Random Name randomFilename()

Here you can find the source of randomFilename()

Description

random Filename

License

Apache License

Declaration

public static String randomFilename() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String randomFilename() {
        return System.currentTimeMillis() + ("" + Math.random()).replaceAll("\\.", "");
    }//from ww  w. jav a 2  s  . c  om
}

Related

  1. getRandomFileName()
  2. getRandomName()
  3. getRandomName()
  4. getRandomName()
  5. randomFileName()
  6. randomIndexName()
  7. randomName()
  8. randomName()