public class StringAlignerFactoryImpl extends Object implements IStringAlignerFactory
DEFAULT_FILL_CHARACTER| Constructor and Description |
|---|
StringAlignerFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
IStringAligner |
align(String expected,
String received)
Creates a new alignment.
|
IStringAligner |
align(String expected,
String received,
char fillCharacter)
Creates a new alignment.
|
public IStringAligner align(String expected, String received)
IStringAlignerFactoryalign in interface IStringAlignerFactoryexpected - The expected string.received - The received string.public IStringAligner align(String expected, String received, char fillCharacter)
IStringAlignerFactoryalign in interface IStringAlignerFactoryexpected - The expected string.received - The received string.fillCharacter - The fill character.Copyright © 2016. All rights reserved.