javadoc sp

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@587153 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Matthew Jason Benson 2007-10-22 17:01:20 +00:00
parent d0c4768911
commit 210884175c
1 changed files with 19 additions and 19 deletions

View File

@ -29,7 +29,7 @@
* This class can split a String into many smaller strings. It aims * This class can split a String into many smaller strings. It aims
* to do a similar job to {@link java.util.StringTokenizer StringTokenizer}, * to do a similar job to {@link java.util.StringTokenizer StringTokenizer},
* however it offers much more control and flexibility including implementing * however it offers much more control and flexibility including implementing
* the <code>ListIterator</code> interface. By default, it is setup * the <code>ListIterator</code> interface. By default, it is set up
* like <code>StringTokenizer</code>. * like <code>StringTokenizer</code>.
* <p> * <p>
* The input String is split into a number of <i>tokens</i>. * The input String is split into a number of <i>tokens</i>.
@ -140,26 +140,26 @@ private static StrTokenizer getCSVClone() {
} }
/** /**
* Gets a new tokenizer instance which parses Comma Seperated Value strings * Gets a new tokenizer instance which parses Comma Separated Value strings
* initializing it with the given input. The default for CSV processing * initializing it with the given input. The default for CSV processing
* will be trim whitespace from both ends (which can be overriden with * will be trim whitespace from both ends (which can be overridden with
* the setTrimmer method). * the setTrimmer method).
* <p> * <p>
* You must call a "reset" method to set the string which you want to parse. * You must call a "reset" method to set the string which you want to parse.
* @return a new tokenizer instance which parses Comma Seperated Value strings * @return a new tokenizer instance which parses Comma Separated Value strings
*/ */
public static StrTokenizer getCSVInstance() { public static StrTokenizer getCSVInstance() {
return getCSVClone(); return getCSVClone();
} }
/** /**
* Gets a new tokenizer instance which parses Comma Seperated Value strings * Gets a new tokenizer instance which parses Comma Separated Value strings
* initializing it with the given input. The default for CSV processing * initializing it with the given input. The default for CSV processing
* will be trim whitespace from both ends (which can be overriden with * will be trim whitespace from both ends (which can be overridden with
* the setTrimmer method). * the setTrimmer method).
* *
* @param input the text to parse * @param input the text to parse
* @return a new tokenizer instance which parses Comma Seperated Value strings * @return a new tokenizer instance which parses Comma Separated Value strings
*/ */
public static StrTokenizer getCSVInstance(String input) { public static StrTokenizer getCSVInstance(String input) {
StrTokenizer tok = getCSVClone(); StrTokenizer tok = getCSVClone();
@ -168,13 +168,13 @@ public static StrTokenizer getCSVInstance(String input) {
} }
/** /**
* Gets a new tokenizer instance which parses Comma Seperated Value strings * Gets a new tokenizer instance which parses Comma Separated Value strings
* initializing it with the given input. The default for CSV processing * initializing it with the given input. The default for CSV processing
* will be trim whitespace from both ends (which can be overriden with * will be trim whitespace from both ends (which can be overridden with
* the setTrimmer method). * the setTrimmer method).
* *
* @param input the text to parse * @param input the text to parse
* @return a new tokenizer instance which parses Comma Seperated Value strings * @return a new tokenizer instance which parses Comma Separated Value strings
*/ */
public static StrTokenizer getCSVInstance(char[] input) { public static StrTokenizer getCSVInstance(char[] input) {
StrTokenizer tok = getCSVClone(); StrTokenizer tok = getCSVClone();
@ -193,23 +193,23 @@ private static StrTokenizer getTSVClone() {
/** /**
* Gets a new tokenizer instance which parses Tab Seperated Value strings. * Gets a new tokenizer instance which parses Tab Separated Value strings.
* The default for CSV processing will be trim whitespace from both ends * The default for CSV processing will be trim whitespace from both ends
* (which can be overriden with the setTrimmer method). * (which can be overridden with the setTrimmer method).
* <p> * <p>
* You must call a "reset" method to set the string which you want to parse. * You must call a "reset" method to set the string which you want to parse.
* @return a new tokenizer instance which parses Tab Seperated Value strings. * @return a new tokenizer instance which parses Tab Separated Value strings.
*/ */
public static StrTokenizer getTSVInstance() { public static StrTokenizer getTSVInstance() {
return getTSVClone(); return getTSVClone();
} }
/** /**
* Gets a new tokenizer instance which parses Tab Seperated Value strings. * Gets a new tokenizer instance which parses Tab Separated Value strings.
* The default for CSV processing will be trim whitespace from both ends * The default for CSV processing will be trim whitespace from both ends
* (which can be overriden with the setTrimmer method). * (which can be overridden with the setTrimmer method).
* @param input the string to parse * @param input the string to parse
* @return a new tokenizer instance which parses Tab Seperated Value strings. * @return a new tokenizer instance which parses Tab Separated Value strings.
*/ */
public static StrTokenizer getTSVInstance(String input) { public static StrTokenizer getTSVInstance(String input) {
StrTokenizer tok = getTSVClone(); StrTokenizer tok = getTSVClone();
@ -218,11 +218,11 @@ public static StrTokenizer getTSVInstance(String input) {
} }
/** /**
* Gets a new tokenizer instance which parses Tab Seperated Value strings. * Gets a new tokenizer instance which parses Tab Separated Value strings.
* The default for CSV processing will be trim whitespace from both ends * The default for CSV processing will be trim whitespace from both ends
* (which can be overriden with the setTrimmer method). * (which can be overridden with the setTrimmer method).
* @param input the string to parse * @param input the string to parse
* @return a new tokenizer instance which parses Tab Seperated Value strings. * @return a new tokenizer instance which parses Tab Separated Value strings.
*/ */
public static StrTokenizer getTSVInstance(char[] input) { public static StrTokenizer getTSVInstance(char[] input) {
StrTokenizer tok = getTSVClone(); StrTokenizer tok = getTSVClone();