Package org.gvsig.fmap.dal.store.dbf
Class DBFAutodetectInputStream
java.lang.Object
java.io.InputStream
org.gvsig.fmap.dal.store.dbf.DBFAutodetectInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Author:
- fdiaz
-
Method Summary
Modifier and TypeMethodDescriptionstatic CharsetautodetectCharset(File dbfFile, int autodetectCharsetMaxRecords) static CharsetautodetectCharset(File dbfFile, int autodetectCharsetMaxRecords, org.gvsig.tools.task.SimpleTaskStatus status) intvoidclose()voidmark(int readlimit) booleanintread()voidreset()Methods inherited from class java.io.InputStream
nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, skip, skipNBytes, transferTo
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
autodetectCharset
public static Charset autodetectCharset(File dbfFile, int autodetectCharsetMaxRecords) throws IOException - Throws:
IOException
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
mark
public void mark(int readlimit) - Overrides:
markin classInputStream
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
autodetectCharset
public static Charset autodetectCharset(File dbfFile, int autodetectCharsetMaxRecords, org.gvsig.tools.task.SimpleTaskStatus status) throws IOException - Throws:
IOException
-