Class TimeStampNaming


  • public class TimeStampNaming
    extends Object
    A file name policy that names files suffixed by the time it was created.
    • Constructor Detail

      • TimeStampNaming

        public TimeStampNaming​(File file)
        Create a new instance of the TimeStampNaming policy. Files will be created with the names in the prefix.utctime format.
        Parameters:
        file - the file to use as the naming prefix.
    • Method Detail

      • getInitialName

        public File getInitialName()
      • getNextName

        public File getNextName()
      • listFiles

        public File[] listFiles()