FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

import java.io.FileInputStream; import com.linuxense.javadbf.DBFField; import com.linuxense.javadbf.DBFReader; public class TestReader { public static void main(String[] args){ String pathToDbf="C:\\vidd2.dbf"; readHeaderDbfFile(pathToDbf); readDateDbfFile(pathToDbf); //printAviableCharset(); } /** прочесить и вывести на консоль содержимое DBF файла */ private static void readHeaderDbfFile(String pathToFile){ try{ DBFReader reader = new DBFReader( new FileInputStream(pathToFile)); // get the field count if you want for some reasons like the following int numberOfFields = reader.getFieldCount(); // use this count to fetch all field information // if required for( int i=0; i

Back | FazBrowse Home | New Git URL