class PasswordGeneratorPipe extends FixedForwardPipe {

	protected  String generate(int numOfLCharacters, int numOfUCharacters, int numOfSigns, int numOfNumbers){
		StringBuffer resultSb=new StringBuffer();
		resultSb.append(getRandomElementsOfString(getLCharacters(), numOfLCharacters));
		resultSb.append(getRandomElementsOfString(getUCharacters(), numOfUCharacters));
		resultSb.append(getRandomElementsOfString(getSigns(), numOfSigns));
		resultSb.append(getRandomElementsOfString(getNumbers(), numOfNumbers));
		String result=garbleString(resultSb.toString());
		return result;
	}

}