Package pl.put.poznan.transformer.logic
Class ShuffleTransformer
- java.lang.Object
-
- pl.put.poznan.transformer.logic.ShuffleTransformer
-
- All Implemented Interfaces:
TextTransformer
public class ShuffleTransformer extends Object implements TextTransformer
This class is responsible for shuffling the text.
-
-
Constructor Summary
Constructors Constructor Description ShuffleTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringtransform(String text)This method is responsible for the shuffle transformation.
-
-
-
Method Detail
-
transform
public String transform(String text)
This method is responsible for the shuffle transformation.- Specified by:
transformin interfaceTextTransformer- Parameters:
text- The input text to be transformed.- Returns:
- The transformed text.
-
-