|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alkacon.diff.DiffConfiguration
public class DiffConfiguration
Default Diff operation configuration class.
| Constructor Summary | |
|---|---|
DiffConfiguration(int lines,
java.lang.String messageBundle,
java.lang.String messageKey,
java.util.Locale locale)
Creates a new configuration object. |
|
| Method Summary | |
|---|---|
int |
getLinesBeforeSkip()
Returns the number of lines to show before skipping. |
java.lang.String |
getMessageEqualLinesSkipped(int lines)
Returns a localized message like '({0} equal lines skipped)'. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiffConfiguration(int lines,
java.lang.String messageBundle,
java.lang.String messageKey,
java.util.Locale locale)
lines - the lines to show before skippingmessageBundle - a resource bundle name to get the localized messages frommessageKey - the key for a message like: '({0} equal skipped lines)'locale - the locale to use| Method Detail |
|---|
public int getLinesBeforeSkip()
I_DiffConfiguration
Use -1 to show all lines.
getLinesBeforeSkip in interface I_DiffConfigurationI_DiffConfiguration.getLinesBeforeSkip()public java.lang.String getMessageEqualLinesSkipped(int lines)
I_DiffConfiguration
getMessageEqualLinesSkipped in interface I_DiffConfigurationlines - the number of skipped lines
I_DiffConfiguration.getMessageEqualLinesSkipped(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||