org.specrunner.util.aligner.core
Class StringAlignerFactoryImpl
java.lang.Object
org.specrunner.util.aligner.core.StringAlignerFactoryImpl
- All Implemented Interfaces:
- IStringAlignerFactory
public class StringAlignerFactoryImpl
- extends Object
- implements IStringAlignerFactory
Default alignment factory implementation.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringAlignerFactoryImpl
public StringAlignerFactoryImpl()
align
public IStringAligner align(String expected,
String received)
- Description copied from interface:
IStringAlignerFactory
- Creates a new alignment.
- Specified by:
align in interface IStringAlignerFactory
- Parameters:
expected - The expected string.received - The received string.
- Returns:
- The alignment result.
align
public IStringAligner align(String expected,
String received,
char fillCharacter)
- Description copied from interface:
IStringAlignerFactory
- Creates a new alignment.
- Specified by:
align in interface IStringAlignerFactory
- Parameters:
expected - The expected string.received - The received string.fillCharacter - The fill character.
- Returns:
- The alignment result.
Copyright © 2014. All rights reserved.