Package javatapas.io

Class ReplaceTextWithinFile

java.lang.Object
javatapas.io.ReplaceTextWithinFile

public class ReplaceTextWithinFile
extends Object
Version:
2021-05-20
Author:
Kodiak Brown
  • Constructor Details

    • ReplaceTextWithinFile

      public ReplaceTextWithinFile()
  • Method Details

    • replaceTextWithinFile

      public static void replaceTextWithinFile​(String inputFile, String oldText, String newText) throws IOException
      Parameters:
      inputFile - The file name whose base name is being returned.
      oldText - The text to search for within the file.
      newText - The text to replace the oldText within the file.
      Throws:
      IOException