Logo Search packages:      
Sourcecode: jline version File versions  Download package

void jline::ConsoleReader::setEchoCharacter ( final Character  echoCharacter  )  [inline]

Set the echo character. For example, to have "*" entered when a password is typed:

    myConsoleReader.setEchoCharacter (new Character ('*'));
	

Setting the character to

null
will restore normal character echoing. Setting the character to
new Character (0)
will cause nothing to be echoed.

Parameters:
echoCharacter the character to echo to the console in place of the typed character.

Definition at line 1499 of file ConsoleReader.java.

      {
            this.echoCharacter = echoCharacter;
      }


Generated by  Doxygen 1.6.0   Back to index