| java.lang.Object workbench.gui.sql.ImportStringVerifier
ImportStringVerifier | public class ImportStringVerifier (Code) | | This class checks the content of an input string and tries to match
it against a ResultInfo.
author: support@sql-workbench.net |
checkData | public boolean checkData()(Code) | | Check the contents of the data string if it matches
the structure of our target ResultInfo.
The user will be prompted to correct the problems
if possible.
The following things are checked:
- the input data has to have a header line which defines the columns
- If there is no header line (i.e. no matching columns found) then
the import is OK, if the column count is the same
- at least one column from the input data must occur in the ResultInfo
false if the data cannot be imported |
showOptionsDialog | public boolean showOptionsDialog()(Code) | | If no columns are found, then most probably the (default) column
delimiter is not correct, so let the user supply the import options
|
|
|