Java Doc for WbImport.java in » Database-Client » SQL-Workbench » workbench » sql » wbcommands » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
Database Client
»
SQL Workbench
»
workbench.sql.wbcommands
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
workbench.sql
.SqlCommand
workbench.sql.wbcommands
.WbImport
WbImport
public
class WbImport extends
SqlCommand
(Code)
author:
support@sql-workbench.net
Field Summary
final
public
static
String
ARG_BADFILE
final
public
static
String
ARG_BLOB_ISFILENAME
final
public
static
String
ARG_CLOB_ISFILENAME
final
public
static
String
ARG_COL_FILTER
final
public
static
String
ARG_COL_WIDTHS
final
public
static
String
ARG_CONSTANTS
final
public
static
String
ARG_CONTAINSHEADER
final
public
static
String
ARG_CREATE_TABLE
final
public
static
String
ARG_DECODE
final
public
static
String
ARG_DELETE_TARGET
final
public
static
String
ARG_DIRECTORY
final
public
static
String
ARG_EMPTY_STRING_IS_NULL
final
public
static
String
ARG_END_ROW
final
public
static
String
ARG_FILE
final
public
static
String
ARG_FILECOLUMNS
final
public
static
String
ARG_FILE_EXT
final
public
static
String
ARG_IMPORTCOLUMNS
final
public
static
String
ARG_KEYCOLUMNS
final
public
static
String
ARG_LINE_FILTER
final
public
static
String
ARG_MODE
final
public
static
String
ARG_MULTI_LINE
final
public
static
String
ARG_QUOTE
final
public
static
String
ARG_START_ROW
final
public
static
String
ARG_TARGETTABLE
final
public
static
String
ARG_TARGET_SCHEMA
final
public
static
String
ARG_TRIM_VALUES
final
public
static
String
ARG_TRUNCATE_TABLE
final
public
static
String
ARG_TYPE
final
public
static
String
ARG_UPDATE_WHERE
final
public
static
String
ARG_USE_TRUNCATE
final
public
static
String
VERB
Constructor Summary
public
WbImport
()
Method Summary
public
void
cancel
()
public
void
done
()
public
StatementRunnerResult
execute
(
String
sqlCommand)
protected
String
findTypeFromFilename
(
String
fname)
public
String
getVerb
()
Field Detail
ARG_BADFILE
final
public
static
String
ARG_BADFILE
(Code)
ARG_BLOB_ISFILENAME
final
public
static
String
ARG_BLOB_ISFILENAME
(Code)
ARG_CLOB_ISFILENAME
final
public
static
String
ARG_CLOB_ISFILENAME
(Code)
ARG_COL_FILTER
final
public
static
String
ARG_COL_FILTER
(Code)
ARG_COL_WIDTHS
final
public
static
String
ARG_COL_WIDTHS
(Code)
ARG_CONSTANTS
final
public
static
String
ARG_CONSTANTS
(Code)
ARG_CONTAINSHEADER
final
public
static
String
ARG_CONTAINSHEADER
(Code)
ARG_CREATE_TABLE
final
public
static
String
ARG_CREATE_TABLE
(Code)
ARG_DECODE
final
public
static
String
ARG_DECODE
(Code)
ARG_DELETE_TARGET
final
public
static
String
ARG_DELETE_TARGET
(Code)
ARG_DIRECTORY
final
public
static
String
ARG_DIRECTORY
(Code)
ARG_EMPTY_STRING_IS_NULL
final
public
static
String
ARG_EMPTY_STRING_IS_NULL
(Code)
ARG_END_ROW
final
public
static
String
ARG_END_ROW
(Code)
ARG_FILE
final
public
static
String
ARG_FILE
(Code)
ARG_FILECOLUMNS
final
public
static
String
ARG_FILECOLUMNS
(Code)
ARG_FILE_EXT
final
public
static
String
ARG_FILE_EXT
(Code)
ARG_IMPORTCOLUMNS
final
public
static
String
ARG_IMPORTCOLUMNS
(Code)
ARG_KEYCOLUMNS
final
public
static
String
ARG_KEYCOLUMNS
(Code)
ARG_LINE_FILTER
final
public
static
String
ARG_LINE_FILTER
(Code)
ARG_MODE
final
public
static
String
ARG_MODE
(Code)
ARG_MULTI_LINE
final
public
static
String
ARG_MULTI_LINE
(Code)
ARG_QUOTE
final
public
static
String
ARG_QUOTE
(Code)
ARG_START_ROW
final
public
static
String
ARG_START_ROW
(Code)
ARG_TARGETTABLE
final
public
static
String
ARG_TARGETTABLE
(Code)
ARG_TARGET_SCHEMA
final
public
static
String
ARG_TARGET_SCHEMA
(Code)
ARG_TRIM_VALUES
final
public
static
String
ARG_TRIM_VALUES
(Code)
ARG_TRUNCATE_TABLE
final
public
static
String
ARG_TRUNCATE_TABLE
(Code)
ARG_TYPE
final
public
static
String
ARG_TYPE
(Code)
ARG_UPDATE_WHERE
final
public
static
String
ARG_UPDATE_WHERE
(Code)
ARG_USE_TRUNCATE
final
public
static
String
ARG_USE_TRUNCATE
(Code)
VERB
final
public
static
String
VERB
(Code)
Constructor Detail
WbImport
public
WbImport()
(Code)
Method Detail
cancel
public
void cancel() throws
SQLException
(Code)
done
public
void done()
(Code)
execute
public
StatementRunnerResult
execute(
String
sqlCommand) throws
SQLException
(Code)
findTypeFromFilename
protected
String
findTypeFromFilename(
String
fname)
(Code)
getVerb
public
String
getVerb()
(Code)
Fields inherited from
workbench.sql.SqlCommand
protected
ArgumentParser
cmdLine
(Code)
(Java Doc)
protected
WbConnection
currentConnection
(Code)
(Java Doc)
protected
DataStore
currentRetrievalData
(Code)
(Java Doc)
protected
Statement
currentStatement
(Code)
(Java Doc)
protected
boolean isCancelled
(Code)
(Java Doc)
protected
boolean isUpdatingCommand
(Code)
(Java Doc)
protected
int maxRows
(Code)
(Java Doc)
protected
ParameterPrompter
prompter
(Code)
(Java Doc)
protected
int queryTimeout
(Code)
(Java Doc)
protected
boolean reportFullStatementOnError
(Code)
(Java Doc)
protected
ResultLogger
resultLogger
(Code)
(Java Doc)
protected
RowActionMonitor
rowMonitor
(Code)
(Java Doc)
protected
StatementRunner
runner
(Code)
(Java Doc)
Methods inherited from
workbench.sql.SqlCommand
protected
void addErrorInfo(
StatementRunnerResult
result,
String
sql,
Throwable
e)
(Code)
(Java Doc)
protected
void appendOutput(
StatementRunnerResult
result)
(Code)
(Java Doc)
protected
void appendSuccessMessage(
StatementRunnerResult
result)
(Code)
(Java Doc)
protected
boolean appendWarnings(
StatementRunnerResult
result)
(Code)
(Java Doc)
public
void cancel() throws
SQLException
(Code)
(Java Doc)
public
void consumeResult(
StatementRunnerResult
aResult)
(Code)
(Java Doc)
public
void done()
(Code)
(Java Doc)
protected
WbFile
evaluateFileArgument(
String
fileName)
(Code)
(Java Doc)
public
StatementRunnerResult
execute(
String
aSql) throws
SQLException
,
Exception
(Code)
(Java Doc)
public
ArgumentParser
getArgumentParser()
(Code)
(Java Doc)
protected
String
getCommandLine(
String
sql)
(Code)
(Java Doc)
public
boolean getFullErrorReporting()
(Code)
(Java Doc)
public
String
getVerb()
(Code)
(Java Doc)
protected
boolean isConnectionRequired()
(Code)
(Java Doc)
public
boolean isConsumerWaiting()
(Code)
(Java Doc)
protected
boolean isMultiple(
String
sql)
(Code)
(Java Doc)
public
boolean isResultSetConsumer()
(Code)
(Java Doc)
public
boolean isUpdatingCommand()
(Code)
(Java Doc)
protected
void processMoreResults(
String
sql,
StatementRunnerResult
result, boolean hasResult) throws
SQLException
(Code)
(Java Doc)
protected
void processResults(
StatementRunnerResult
result, boolean hasResult) throws
SQLException
(Code)
(Java Doc)
protected
void processResults(
StatementRunnerResult
result, boolean hasResult,
ResultSet
queryResult) throws
SQLException
(Code)
(Java Doc)
public
void setConnection(
WbConnection
conn)
(Code)
(Java Doc)
public
void setConsumerWaiting(boolean flag)
(Code)
(Java Doc)
public
void setFullErrorReporting(boolean flag)
(Code)
(Java Doc)
public
void setMaxRows(int max)
(Code)
(Java Doc)
public
void setParameterPrompter(
ParameterPrompter
p)
(Code)
(Java Doc)
public
void setQueryTimeout(int timeout)
(Code)
(Java Doc)
public
void setResultLogger(
ResultLogger
logger)
(Code)
(Java Doc)
public
void setRowMonitor(
RowActionMonitor
monitor)
(Code)
(Java Doc)
public
void setStatementRunner(
StatementRunner
r)
(Code)
(Java Doc)
protected
void setUnknownMessage(
StatementRunnerResult
result,
ArgumentParser
cmdline,
String
help)
(Code)
(Java Doc)
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.