01: /*
02: * @(#)StringConverter.java 3/28/2005
03: *
04: * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved.
05: */
06:
07: package com.jidesoft.swing;
08:
09: /**
10: * An interface to convert a string to anther one.
11: */
12: public interface StringConverter {
13: /**
14: * Convert a string to another string, for example, to make it shorter.
15: *
16: * @param str string to be converted
17: * @return string after conversion
18: */
19: String convert(String str);
20: }
|