Revision 42775 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.csv/src/main/java/org/gvsig/fmap/dal/store/csv/simplereaders/SimpleReader.java
SimpleReader.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import java.io.IOException; |
4 | 4 |
import java.util.List; |
5 |
import java.io.Closeable; |
|
5 | 6 |
|
6 |
public interface SimpleReader { |
|
7 |
public interface SimpleReader extends Closeable {
|
|
7 | 8 |
|
8 | 9 |
public String[] getHeader() throws IOException; |
9 | 10 |
|
11 |
public int getColumnsCount() throws IOException ; |
|
12 |
|
|
10 | 13 |
public List<String> read() throws IOException; |
11 | 14 |
|
15 |
@Override |
|
12 | 16 |
public void close() throws IOException; |
13 | 17 |
|
14 | 18 |
public List<String> skip(int lines) throws IOException; |
Also available in: Unified diff