Module JNISpice
Package spice.basic

Class IOUtils


  • public class IOUtils
    extends java.lang.Object
    Class IOUtils provides miscellaneous static methods that simplify common console I/O tasks.

    Version 1.0.0 15-JUL-2009 (NJB)

    • Constructor Summary

      Constructors 
      Constructor Description
      IOUtils()  
    • Method Summary

      Modifier and Type Method Description
      static java.lang.String prompt​(java.lang.String outputText)
      Display a string that prompts the user for an input string; read and return the string supplied by the user.
      • 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

      • prompt

        public static java.lang.String prompt​(java.lang.String outputText)
                                       throws java.io.IOException
        Display a string that prompts the user for an input string; read and return the string supplied by the user.
        Parameters:
        outputText - String
        Returns:
        String
        Throws:
        java.io.IOException - exception