| java.lang.Object com.nabhinc.util.RandomKeyGenerator
RandomKeyGenerator | public class RandomKeyGenerator (Code) | | A simple random key generator utility. The key generated can be an
alpha-numeric or alphabetic key with the fixed length or random-range
(within the specified lower and upper range) length.
author: Wirawan Chokry author: (c) 2003 Nabh Information Systems, Inc. All Rights Reserved. |
generateAlphaKey | public static String generateAlphaKey(double minLength, double maxLength)(Code) | | Creates random alphabet key.
Parameters: minLength - The minimum length of the key. Parameters: maxLength - The maximum length of the key. The random alphabet key. |
generateAlphaNumericKey | public static String generateAlphaNumericKey(double minLength, double maxLength)(Code) | | Parameters: minLength - Parameters: maxLength - |
generateFixedLengthAlphaKey | public static String generateFixedLengthAlphaKey(double length)(Code) | | Parameters: length - |
generateFixedLengthAlphaNumericKey | public static String generateFixedLengthAlphaNumericKey(double length)(Code) | | Parameters: length - |
getRandomInteger | public static int getRandomInteger(double number)(Code) | | Parameters: number - |
getRandomInteger | public static int getRandomInteger(double lower, double upper)(Code) | | Parameters: lower - Parameters: upper - |
|
|