org.jopendocument.util
Class StringUtils.Shortener
java.lang.Object
org.jopendocument.util.StringUtils.Shortener
- Enclosing class:
- StringUtils
public abstract static class StringUtils.Shortener
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ellipsis
public static final StringUtils.Shortener Ellipsis
JavaHashCode
public static final StringUtils.Shortener JavaHashCode
MD5
public static final StringUtils.Shortener MD5
StringUtils.Shortener
protected StringUtils.Shortener(int hashSize,
String prefix,
String suffix,
int minCharsBeforeAndAfter)
getMinStringLength
public final int getMinStringLength()
getBoundedLengthString
public final String getBoundedLengthString(String s,
int maxLength)
shorten
protected abstract String shorten(String s)
Copyright © 2010 jOpenDocument All Rights Reserved.