Package com.yahoo.text.internal
Class SnippetGenerator
- java.lang.Object
-
- com.yahoo.text.internal.SnippetGenerator
-
public class SnippetGenerator extends Object
Truncate text to a snippet suitable for logging.- Author:
- hakon
-
-
Constructor Summary
Constructors Constructor Description SnippetGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
makeSnippet(String text, int sizeHint)
Returns a snippet of approximate size.
-