Interface FilenameGenerator<T>

All Known Implementing Classes:
AbstractFilenameGenerator, SequenceFilenameGenerator, SuggestedFilenameGenerator

public interface FilenameGenerator<T>
File name generators are used together with DataWriterFactory implementations to generate file names for BFS data files.
Version:
2.15
Author:
Nicklas
Last modified
$Date: 2010-01-12 14:21:49 +0100 (ti, 12 jan 2010) $
  • Method Summary

    Modifier and Type
    Method
    Description
    getNextFilename(T owner, String suggestedFilename)
    Get the next file name.
  • Method Details

    • getNextFilename

      String getNextFilename(T owner, String suggestedFilename)
      Get the next file name. This method should never return the same file name more than one time (given a single implementor instance). The generator implementation should not concern itself with the underlying file system or if the file already exists or not (this is a task for the DataWriterFactory implementation).
      Parameters:
      owner - The owner of the data in the file
      suggestedFilename - A default suggested file name (can be null)
      Returns:
      A unique file name