Move ignore method to correct place in file

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209537 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2005-07-06 23:11:46 +00:00
parent 9d25ee76f8
commit e2ef9f095a
1 changed files with 12 additions and 12 deletions

View File

@ -990,6 +990,18 @@ public void setIgnoredMatcher(Matcher ignored) {
}
}
/**
* Set the character to ignore.
* <p>
* This character is ignored when parsing the String, unless it is
* within a quoted region.
*
* @param ignored the ignored character to use
*/
public void setIgnoredChar(char ignored) {
setIgnoredMatcher(new CharMatcher(ignored));
}
// Trimmer
//-----------------------------------------------------------------------
/**
@ -1016,18 +1028,6 @@ public void setTrimmerMatcher(Matcher trimmer) {
}
}
/**
* Set the character to ignore.
* <p>
* This character is ignored when parsing the String, unless it is
* within a quoted region.
*
* @param ignored the ignored character to use
*/
public void setIgnoredChar(char ignored) {
setIgnoredMatcher(new CharMatcher(ignored));
}
//-----------------------------------------------------------------------
/**
* Gets whether the tokenizer currently returns empty tokens as null.