org.jfree.report.util

Class TextUtilities


public class TextUtilities
extends java.lang.Object

Todo: Document me!
Author:
Thomas Morgner
Since:
30.03.2007

Method Summary

static int
parseInt(String value, int defaultValue)
Parses the given string and returns the parsed integer value or the given default if the parsing failed.

Method Details

parseInt

public static int parseInt(String value,
                           int defaultValue)
Parses the given string and returns the parsed integer value or the given default if the parsing failed.
Parameters:
value - the to be parsed string
defaultValue - the default value
Returns:
the parsed string.