public interface TextShortener
Modifier and Type | Method and Description |
---|---|
String |
shorten(String original,
int len)
Returns a string which is at most
len characters
in length (but may be less). |
String shorten(String original, int len)
len
characters
in length (but may be less).IllegalArgumentException
- - if len
is negative.Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.