Class IOUtils


  • public class IOUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      IOUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean confirmPrompt​(java.lang.String prompt)
      Confirm prompt for the console operations.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IOUtils

        public IOUtils()
    • Method Detail

      • confirmPrompt

        public static boolean confirmPrompt​(java.lang.String prompt)
                                     throws java.io.IOException
        Confirm prompt for the console operations.
        Parameters:
        prompt - Prompt message to be displayed on console
        Returns:
        Returns true if confirmed as 'Y', returns false if confirmed as 'N'
        Throws:
        java.io.IOException