| Package | Description |
|---|---|
| net.nicholaswilliams.java.licensing.licensor.interfaces.cli.spi | |
| net.nicholaswilliams.java.licensing.licensor.interfaces.spi |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TextInterfaceDevice
Specifies an interface for interacting with text devices in order to abstract the details of interaction away from
the application code.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTextInterfaceDevice
An abstract implementation of
TextInterfaceDevice that implements any common utilities among all interface
devices. |
class |
ConsoleInterfaceDevice
The default implementation of
TextInterfaceDevice. |
| Modifier and Type | Method and Description |
|---|---|
char[] |
PasswordPrompter.promptForValidPassword(int minLength,
int maxLength,
String promptMessage,
String promptConfirmMessage,
String lengthError,
String matchError,
OutputDevice device)
Prompts for a valid password by asking for the password using
PasswordPrompter.readPassword(String, Object...), checking
its length against the constraints, asking for the password to be confirmed, and checking to make sure the
passwords match. |
char[] |
AbstractPasswordPrompter.promptForValidPassword(int minLength,
int maxLength,
String promptMessage,
String promptConfirmMessage,
String lengthError,
String matchError,
OutputDevice device)
Prompts for a valid password by asking for the password using
PasswordPrompter.readPassword(String, Object...), checking
its length against the constraints, asking for the password to be confirmed, and checking to make sure the
passwords match. |
Copyright © 2010-2013 NWTS Java Code. All Rights Reserved. Licensed Under the Apache License version 2.0.