View Javadoc
1   /*
2    * Copyright 2009 Olivier Godineau
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5    * use this file except in compliance with the License. You may obtain a copy of
6    * the License at http://www.apache.org/licenses/LICENSE-2.0
7    * 
8    * Unless required by applicable law or agreed to in writing, software
9    * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11   * License for the specific language governing permissions and limitations under
12   * the License.
13   */
14  package olg.csv.base;
15  
16  import java.io.Closeable;
17  import java.util.Iterator;
18  
19  /**
20   * Reader Interface - Simple Row Iterator.
21   * 
22   * @author Olivier Godineau
23   * 
24   */
25  public interface IReader extends Iterator<Row>, Closeable {
26  
27  	/**
28  	 * Indicates if the file has a headers line.
29  	 * 
30  	 * @return true if the file has a headers line.
31  	 */
32  	boolean isWithHeaders();
33  }