|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ldap.util.NUtil
public class NUtil
A Utility class providing some of the commonly required APIs which, depend upon the native platform.
Constructor Summary | |
---|---|
NUtil() |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args) Test Driver |
static java.lang.String |
readLine() Reads a line of text. |
static java.lang.String |
readLine(java.lang.String prompt) Reads a line of text after displaying the given prompt message. |
static java.lang.String |
readLine(java.lang.String prompt, boolean trim) Reads a line of text after displaying the given prompt message. |
static java.lang.String |
readLineNoEcho() Reads a line of text without echoing on terminal. |
static java.lang.String |
readLineNoEcho(java.lang.String prompt) Reads a line of text without echoing on terminal, after displaying the given prompt message. |
static java.lang.String |
readLineNoEcho(java.lang.String prompt, boolean trim) Reads a line of text without echoing on terminal, after displaying the given prompt message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NUtil()
Method Detail |
---|
public static java.lang.String readLineNoEcho() throws java.io.IOException
java.io.IOException
- If an I/O error occurs.public static java.lang.String readLineNoEcho(java.lang.String prompt) throws java.io.IOException
prompt
- the message to be printed on the termial.java.io.IOException
- If an I/O error occurs.public static java.lang.String readLineNoEcho(java.lang.String prompt, boolean trim) throws java.io.IOException
prompt
- the message to be printed on the termial.trim
- if true whitespaces on either side will be trimmed.java.io.IOException
- If an I/O error occurs.public static java.lang.String readLine() throws java.io.IOException
java.io.IOException
- If an I/O error occurs.public static java.lang.String readLine(java.lang.String prompt) throws java.io.IOException
prompt
- the message to be printed on the termial.java.io.IOException
- If an I/O error occurs.public static java.lang.String readLine(java.lang.String prompt, boolean trim) throws java.io.IOException
prompt
- the message to be printed on the termial.trim
- if true whitespaces on either side will be trimmed.java.io.IOException
- If an I/O error occurs.public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |