Package com.yahoo.text.internal
Class SnippetGenerator
java.lang.Object
com.yahoo.text.internal.SnippetGenerator
Truncate text to a snippet suitable for logging.
- Author:
- hakon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmakeSnippet
(String text, int sizeHint) Returns a snippet of approximate size.
-
Constructor Details
-
SnippetGenerator
public SnippetGenerator()
-
-
Method Details
-
makeSnippet
Returns a snippet of approximate size.
-