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:
parent
d0c4768911
commit
210884175c
|
@ -140,26 +140,26 @@ public class StrTokenizer implements ListIterator, Cloneable {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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 class StrTokenizer implements ListIterator, Cloneable {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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 @@ public class StrTokenizer implements ListIterator, Cloneable {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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 class StrTokenizer implements ListIterator, Cloneable {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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();
|
||||||
|
|
Loading…
Reference in New Issue