Class ExtensionAdder
Object
org.anchoranalysis.test.image.stackwriter.ExtensionAdder
public class ExtensionAdder extends Object
Utility class for adding file extensions to filenames.
This class provides a static method to append a file extension to a given filename.
-
Method Summary
Modifier and Type Method Description static StringaddExtension(String filename, String extensionToAdd)Adds a file extension to a filename.
-
Method Details
-
addExtension
Adds a file extension to a filename.- Parameters:
filename- the original filename without extensionextensionToAdd- the extension to be added (without the leading dot)- Returns:
- the filename with the added extension
-