1414 * See the License for the specific language governing permissions and
1515 * limitations under the License.
1616 */
17+
1718package org .apache .commons .csv ;
1819
1920import java .io .IOException ;
20- import java .io .InputStream ;
21- import java .io .InputStreamReader ;
2221import java .io .Reader ;
2322import java .util .ArrayList ;
2423import java .util .List ;
@@ -117,16 +116,6 @@ Token reset() {
117116 // the constructor
118117 // ======================================================
119118
120- /**
121- * Default strategy for the parser follows the default {@link CSVStrategy}.
122- *
123- * @param input an InputStream containing "csv-formatted" stream
124- * @deprecated use {@link #CSVParser(Reader)}.
125- */
126- public CSVParser (InputStream input ) {
127- this (new InputStreamReader (input ));
128- }
129-
130119 /**
131120 * CSV parser using the default {@link CSVStrategy}.
132121 *
@@ -136,37 +125,6 @@ public CSVParser(Reader input) {
136125 this (input , (CSVStrategy ) CSVStrategy .DEFAULT_STRATEGY .clone ());
137126 }
138127
139- /**
140- * Customized value delimiter parser.
141- * <p/>
142- * The parser follows the default {@link CSVStrategy}
143- * except for the delimiter setting.
144- *
145- * @param input a Reader based on "csv-formatted" input
146- * @param delimiter a Char used for value separation
147- * @deprecated use {@link #CSVParser(Reader, CSVStrategy)}.
148- */
149- public CSVParser (Reader input , char delimiter ) {
150- this (input , delimiter , '"' , CSVStrategy .COMMENTS_DISABLED );
151- }
152-
153- /**
154- * Customized csv parser.
155- * <p/>
156- * The parser parses according to the given CSV dialect settings.
157- * Leading whitespaces are truncated, unicode escapes are
158- * not interpreted and empty lines are ignored.
159- *
160- * @param input a Reader based on "csv-formatted" input
161- * @param delimiter a Char used for value separation
162- * @param encapsulator a Char used as value encapsulation marker
163- * @param commentStart a Char used for comment identification
164- * @deprecated use {@link #CSVParser(Reader, CSVStrategy)}.
165- */
166- public CSVParser (Reader input , char delimiter , char encapsulator , char commentStart ) {
167- this (input , new CSVStrategy (delimiter , encapsulator , commentStart ));
168- }
169-
170128 /**
171129 * Customized CSV parser using the given {@link CSVStrategy}
172130 *
0 commit comments