public class FormatMaxLength extends Object implements Operation<String>
FormatAbbreviated| Constructor and Description |
|---|
FormatMaxLength(int length) |
public FormatMaxLength(int length)
length - is the maximum name size where to fit the abbreviated namepublic final String execute(String name) throws RuntimeException, IllegalArgumentException
execute in interface Function<String,String>name - is a string to construct abbreviated constant nameRuntimeExceptionIllegalArgumentExceptionCopyright © 2001–2018 MDA Tools. All rights reserved.