code: public static <E extends Exception> long importData(final InputStream is, final long offset, final long count, final PreparedStatement stmt,
              final int batchSize, final int batchInterval, final Try.Function<String, Object[], E> func) throws UncheckedSQLException, E {
          final Reader reader = new InputStreamReader(is);
  
          return importData(reader, offset, count, stmt, batchSize, batchInterval, func);
      }
docs: Imports the data from file to database.
  
  @param is
  @param offset
  @param count
  @param stmt
  @param batchSize
  @param batchInterval
  @param func convert line to the parameters for record insert. Returns a <code>null</code> array to skip the line.
  @return
  @throws UncheckedSQLException