Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

oracle.apps.fnd.appltest.diagfwk.cli
Class StdInUtil

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.cli.StdInUtil

public class StdInUtil
extends java.lang.Object

Utlity APIs for reading from standard input

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/appltest/applications/Diagnostics/Engine/src/oracle/apps/fnd/appltest/diagfwk/cli/StdInUtil.java /main/10 2009/06/05 14:18:09 ppradhan Exp $
Author:
ppradhan

Constructor Summary
StdInUtil()
           
 
Method Summary
static java.lang.String readFromStdIn(java.lang.String msg)
          This method is used for prompting a single message and reading a single value from the STDIN.
static java.lang.String readFromStdIn(java.lang.String msg, boolean isSecret)
          This method is used for prompting a single message and reading a single value from the STDIN.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdInUtil

public StdInUtil()
Method Detail

readFromStdIn

public static java.lang.String readFromStdIn(java.lang.String msg)
This method is used for prompting a single message and reading a single value from the STDIN.

Parameters:
msg - - The prompt to be displayed to the user before reading the corresponding value. The display would be enabled only when hidePromptMsg is set to false (explicitly by calling setHidePromptFlag("hide"))
Returns:
- The user-input/piped-input to the stdin

readFromStdIn

public static java.lang.String readFromStdIn(java.lang.String msg,
                                             boolean isSecret)
This method is used for prompting a single message and reading a single value from the STDIN.

Parameters:
msg - - The prompt to be displayed to the user before reading the corresponding value. The display would be enabled only when hidePromptMsg is set to false (explicitly by calling setHidePromptFlag("hide"))
Returns:
- The user-input/piped-input to the stdin

Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.