trivial cleanup of javadoc errors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@501549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3c08f7a5c4
commit
bf186393db
|
@ -104,10 +104,9 @@ public class CSVParser {
|
|||
// ======================================================
|
||||
|
||||
/**
|
||||
* Default strategy for the parser follows the default CSV Strategy.
|
||||
* Default strategy for the parser follows the default {@link CSVStrategy}.
|
||||
*
|
||||
* @param input an InputStream containing "csv-formatted" stream
|
||||
* @see #setStrategy()
|
||||
* @deprecated use {@link #CSVParser(Reader)}.
|
||||
*/
|
||||
public CSVParser(InputStream input) {
|
||||
|
@ -118,7 +117,6 @@ public class CSVParser {
|
|||
* CSV parser using the default {@link CSVStrategy}.
|
||||
*
|
||||
* @param input a Reader containing "csv-formatted" input
|
||||
* @see #setStrategy()
|
||||
*/
|
||||
public CSVParser(Reader input) {
|
||||
// note: must match default-CSV-strategy !!
|
||||
|
@ -128,8 +126,8 @@ public class CSVParser {
|
|||
/**
|
||||
* Customized value delimiter parser.
|
||||
*
|
||||
* The parser follows the default CSV strategy as defined in
|
||||
* {@link #setStrategy()} except for the delimiter setting.
|
||||
* The parser follows the default {@link CSVStrategy}
|
||||
* except for the delimiter setting.
|
||||
*
|
||||
* @param input a Reader based on "csv-formatted" input
|
||||
* @param delimiter a Char used for value separation
|
||||
|
|
|
@ -75,12 +75,11 @@ public class CSVUtils {
|
|||
// ======================================================
|
||||
|
||||
/**
|
||||
* Parses the given String according to the default CSV strategy.
|
||||
* Parses the given String according to the default {@link CSVStrategy}.
|
||||
*
|
||||
* @param s CSV String to be parsed.
|
||||
* @return parsed String matrix (which is never null)
|
||||
* @throws IOException in case of error
|
||||
* @see #setStrategy()
|
||||
*/
|
||||
public static String[][] parse(String s) throws IOException {
|
||||
if (s == null) {
|
||||
|
@ -96,7 +95,7 @@ public class CSVUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Parses the first line only according to the default CSV strategy.
|
||||
* Parses the first line only according to the default {@link CSVStrategy}.
|
||||
*
|
||||
* Parsing empty string will be handled as valid records containing zero
|
||||
* elements, so the following property holds: parseLine("").length == 0.
|
||||
|
@ -104,7 +103,6 @@ public class CSVUtils {
|
|||
* @param s CSV String to be parsed.
|
||||
* @return parsed String vector (which is never null)
|
||||
* @throws IOException in case of error
|
||||
* @see #setStrategy()
|
||||
*/
|
||||
public static String[] parseLine(String s) throws IOException {
|
||||
if (s == null) {
|
||||
|
|
Loading…
Reference in New Issue