Class FileUtil

java.lang.Object
echo.util.FileUtil

public class FileUtil extends Object
Used to interface with file system
  • Constructor Details

    • FileUtil

      public FileUtil(PluginParameters parameters, PluginLog mavenPluginLog)
      Create a new instance of the FileUtil
      Parameters:
      parameters - The user-supplied plugin parameters
      mavenPluginLog - Wrapper for Maven internal plugin logger
  • Method Details

    • saveToFile

      public void saveToFile(String message)
      Saves text output
      Parameters:
      message - The text to save
    • getFromFile

      public String getFromFile() throws IOException
      Retrieves the message from the location in attribute fromFile
      Returns:
      Content of the default sort order file
      Throws:
      IOException