Class FileExtensionFilenameGenerator

java.lang.Object
org.codice.alliance.video.stream.mpegts.filename.FileExtensionFilenameGenerator
All Implemented Interfaces:
FilenameGenerator

public class FileExtensionFilenameGenerator extends Object
Ensures that a filename always ends with a specific extension. If the filename does not end with the specified extension, then it adds it to the filename. Does not attempt to rewrite an existing extension. The test is case-insensitive.
  • Constructor Details

    • FileExtensionFilenameGenerator

      public FileExtensionFilenameGenerator(String extension)
  • Method Details