Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
4d127287
D
dbeaver
项目概览
suliangchun
/
dbeaver
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dbeaver
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4d127287
编写于
9月 29, 2015
作者:
J
jurgen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Registry refactoring
上级
78e6cf3d
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
137 addition
and
246 deletion
+137
-246
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverClassLoader.java
...ore/src/org/jkiss/dbeaver/registry/DriverClassLoader.java
+0
-9
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverDescriptor.java
...core/src/org/jkiss/dbeaver/registry/DriverDescriptor.java
+1
-44
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverFileManager.java
...ore/src/org/jkiss/dbeaver/registry/DriverFileManager.java
+128
-0
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverLibraryDescriptor.java
...c/org/jkiss/dbeaver/registry/DriverLibraryDescriptor.java
+3
-94
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverPathDescriptor.java
.../src/org/jkiss/dbeaver/registry/DriverPathDescriptor.java
+0
-65
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/driver/DriverDownloadAutoPage.java
...iss/dbeaver/ui/dialogs/driver/DriverDownloadAutoPage.java
+2
-1
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBPDriver.java
....dbeaver.model/src/org/jkiss/dbeaver/model/DBPDriver.java
+0
-2
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBPDriverLibrary.java
...r.model/src/org/jkiss/dbeaver/model/DBPDriverLibrary.java
+3
-0
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBPDriverLocalPath.java
...model/src/org/jkiss/dbeaver/model/DBPDriverLocalPath.java
+0
-31
未找到文件。
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverClassLoader.java
浏览文件 @
4d127287
...
...
@@ -58,15 +58,6 @@ public class DriverClassLoader extends URLClassLoader
}
}
}
final
Collection
<
String
>
pathList
=
driver
.
getOrderedPathList
();
if
(!
CommonUtils
.
isEmpty
(
pathList
))
{
for
(
String
path
:
pathList
)
{
File
localFile
=
new
File
(
path
,
nativeName
);
if
(
localFile
.
exists
())
{
return
localFile
.
getAbsolutePath
();
}
}
}
return
super
.
findLibrary
(
libname
);
}
}
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverDescriptor.java
浏览文件 @
4d127287
...
...
@@ -104,7 +104,6 @@ public class DriverDescriptor extends AbstractDescriptor implements DBPDriver
private
final
List
<
DriverFileSource
>
fileSources
=
new
ArrayList
<
DriverFileSource
>();
private
final
List
<
DriverLibraryDescriptor
>
files
=
new
ArrayList
<
DriverLibraryDescriptor
>();
private
final
List
<
DriverLibraryDescriptor
>
origFiles
=
new
ArrayList
<
DriverLibraryDescriptor
>();
private
final
List
<
DriverPathDescriptor
>
pathList
=
new
ArrayList
<
DriverPathDescriptor
>();
private
final
List
<
DBPPropertyDescriptor
>
connectionPropertyDescriptors
=
new
ArrayList
<
DBPPropertyDescriptor
>();
private
final
List
<
OSDescriptor
>
supportedSystems
=
new
ArrayList
<
OSDescriptor
>();
...
...
@@ -683,36 +682,11 @@ public class DriverDescriptor extends AbstractDescriptor implements DBPDriver
}
}
public
Collection
<
String
>
getOrderedPathList
()
{
if
(
pathList
.
isEmpty
())
{
return
Collections
.
emptyList
();
}
List
<
String
>
result
=
new
ArrayList
<
String
>(
pathList
.
size
());
for
(
DriverPathDescriptor
path
:
pathList
)
{
if
(
path
.
isEnabled
())
{
result
.
add
(
path
.
getPath
());
}
}
return
result
;
}
@NotNull
public
List
<
DriverFileSource
>
getDriverFileSources
()
{
return
fileSources
;
}
@Override
public
Collection
<
DriverPathDescriptor
>
getPathList
()
{
return
pathList
;
}
void
addPath
(
DriverPathDescriptor
path
)
{
pathList
.
add
(
path
);
}
@Override
public
List
<
DBPPropertyDescriptor
>
getConnectionPropertyDescriptors
()
{
...
...
@@ -951,7 +925,7 @@ public class DriverDescriptor extends AbstractDescriptor implements DBPDriver
public
void
run
(
DBRProgressMonitor
monitor
)
throws
InvocationTargetException
,
InterruptedException
{
try
{
file
.
downloadLibraryFile
(
monitor
,
false
);
DriverFileManager
.
downloadLibraryFile
(
monitor
,
file
,
false
);
}
catch
(
final
Exception
e
)
{
log
.
warn
(
"Can't obtain driver license"
,
e
);
}
...
...
@@ -1073,17 +1047,6 @@ public class DriverDescriptor extends AbstractDescriptor implements DBPDriver
xml
.
endElement
();
}
// Path list
for
(
DriverPathDescriptor
path
:
this
.
getPathList
())
{
xml
.
startElement
(
RegistryConstants
.
TAG_PATH
);
xml
.
addAttribute
(
RegistryConstants
.
ATTR_PATH
,
path
.
getPath
());
if
(!
CommonUtils
.
isEmpty
(
path
.
getComment
()))
{
xml
.
addAttribute
(
RegistryConstants
.
ATTR_COMMENT
,
path
.
getComment
());
}
xml
.
addAttribute
(
RegistryConstants
.
ATTR_ENABLED
,
path
.
isEnabled
());
xml
.
endElement
();
}
// Parameters
for
(
Map
.
Entry
<
Object
,
Object
>
paramEntry
:
customParameters
.
entrySet
())
{
if
(!
CommonUtils
.
equalObjects
(
paramEntry
.
getValue
(),
defaultParameters
.
get
(
paramEntry
.
getKey
())))
{
...
...
@@ -1248,12 +1211,6 @@ public class DriverDescriptor extends AbstractDescriptor implements DBPDriver
}
}
else
if
(
localName
.
equals
(
RegistryConstants
.
TAG_CLIENT_HOME
))
{
curDriver
.
addClientHomeId
(
atts
.
getValue
(
RegistryConstants
.
ATTR_ID
));
}
else
if
(
localName
.
equals
(
RegistryConstants
.
TAG_PATH
))
{
DriverPathDescriptor
path
=
new
DriverPathDescriptor
();
path
.
setPath
(
atts
.
getValue
(
RegistryConstants
.
ATTR_PATH
));
path
.
setComment
(
atts
.
getValue
(
RegistryConstants
.
ATTR_COMMENT
));
path
.
setEnabled
(
CommonUtils
.
getBoolean
(
atts
.
getValue
(
RegistryConstants
.
ATTR_ENABLED
),
true
));
curDriver
.
addPath
(
path
);
}
else
if
(
localName
.
equals
(
RegistryConstants
.
TAG_PARAMETER
))
{
if
(
curDriver
==
null
)
{
log
.
warn
(
"Parameter outside of driver"
);
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverFileManager.java
0 → 100644
浏览文件 @
4d127287
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2015 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package
org.jkiss.dbeaver.registry
;
import
org.jkiss.dbeaver.Log
;
import
org.jkiss.dbeaver.model.runtime.DBRProgressMonitor
;
import
org.jkiss.dbeaver.registry.maven.MavenArtifact
;
import
org.jkiss.dbeaver.registry.maven.MavenArtifactReference
;
import
org.jkiss.dbeaver.registry.maven.MavenLocalVersion
;
import
org.jkiss.dbeaver.registry.maven.MavenRegistry
;
import
org.jkiss.dbeaver.runtime.RuntimeUtils
;
import
org.jkiss.dbeaver.utils.ContentUtils
;
import
java.io.*
;
import
java.net.URLConnection
;
import
java.text.NumberFormat
;
/**
* DriverFileManager
*/
public
class
DriverFileManager
{
static
final
Log
log
=
Log
.
getLog
(
DriverFileManager
.
class
);
public
static
void
downloadLibraryFile
(
DBRProgressMonitor
monitor
,
DriverLibraryDescriptor
library
,
boolean
updateVersion
)
throws
IOException
,
InterruptedException
{
if
(
library
.
isMavenArtifact
())
{
MavenArtifact
artifact
=
downloadMavenArtifact
(
monitor
,
library
,
updateVersion
);
if
(
artifact
.
getRepository
().
isLocal
())
{
// No need to download local artifacts
return
;
}
}
String
externalURL
=
library
.
getExternalURL
();
if
(
externalURL
==
null
)
{
throw
new
IOException
(
"Unresolved file reference: "
+
library
.
getPath
());
}
final
URLConnection
connection
=
RuntimeUtils
.
openConnection
(
externalURL
);
monitor
.
worked
(
1
);
monitor
.
done
();
final
int
contentLength
=
connection
.
getContentLength
();
monitor
.
beginTask
(
"Download "
+
externalURL
,
contentLength
);
boolean
success
=
false
;
final
File
localFile
=
library
.
getLocalFile
();
if
(
localFile
==
null
)
{
throw
new
IOException
(
"No target file for '"
+
library
.
getPath
()
+
"'"
);
}
final
File
localDir
=
localFile
.
getParentFile
();
if
(!
localDir
.
exists
())
{
if
(!
localDir
.
mkdirs
())
{
log
.
warn
(
"Can't create directory for local driver file '"
+
localDir
.
getAbsolutePath
()
+
"'"
);
}
}
final
OutputStream
outputStream
=
new
FileOutputStream
(
localFile
);
try
{
final
InputStream
inputStream
=
connection
.
getInputStream
();
try
{
final
NumberFormat
numberFormat
=
NumberFormat
.
getNumberInstance
();
byte
[]
buffer
=
new
byte
[
10000
];
int
totalRead
=
0
;
for
(;;)
{
if
(
monitor
.
isCanceled
())
{
throw
new
InterruptedException
();
}
monitor
.
subTask
(
numberFormat
.
format
(
totalRead
)
+
"/"
+
numberFormat
.
format
(
contentLength
));
final
int
count
=
inputStream
.
read
(
buffer
);
if
(
count
<=
0
)
{
success
=
true
;
break
;
}
outputStream
.
write
(
buffer
,
0
,
count
);
monitor
.
worked
(
count
);
totalRead
+=
count
;
}
}
finally
{
ContentUtils
.
close
(
inputStream
);
}
}
finally
{
ContentUtils
.
close
(
outputStream
);
if
(!
success
)
{
if
(!
localFile
.
delete
())
{
DriverLibraryDescriptor
.
log
.
warn
(
"Can't delete local driver file '"
+
localFile
.
getAbsolutePath
()
+
"'"
);
}
}
}
monitor
.
done
();
}
private
static
MavenArtifact
downloadMavenArtifact
(
DBRProgressMonitor
monitor
,
DriverLibraryDescriptor
library
,
boolean
updateVersion
)
throws
IOException
{
MavenArtifactReference
artifactInfo
=
new
MavenArtifactReference
(
library
.
getPath
());
if
(
updateVersion
)
{
MavenRegistry
.
getInstance
().
resetArtifactInfo
(
artifactInfo
);
}
MavenArtifact
artifact
=
MavenRegistry
.
getInstance
().
findArtifact
(
artifactInfo
);
if
(
artifact
==
null
)
{
throw
new
IOException
(
"Maven artifact '"
+
library
.
getPath
()
+
"' not found"
);
}
if
(
updateVersion
)
{
artifact
.
loadMetadata
();
}
else
{
MavenLocalVersion
localVersion
=
artifact
.
getActiveLocalVersion
();
if
(
localVersion
!=
null
&&
localVersion
.
getCacheFile
().
exists
())
{
// Already cached
return
artifact
;
}
}
artifact
.
resolveVersion
(
monitor
,
artifactInfo
.
getVersion
());
return
artifact
;
}
}
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverLibraryDescriptor.java
浏览文件 @
4d127287
...
...
@@ -25,7 +25,6 @@ import org.jkiss.code.Nullable;
import
org.jkiss.dbeaver.Log
;
import
org.jkiss.dbeaver.core.DBeaverCore
;
import
org.jkiss.dbeaver.model.DBPDriverLibrary
;
import
org.jkiss.dbeaver.model.runtime.DBRProgressMonitor
;
import
org.jkiss.dbeaver.model.runtime.OSDescriptor
;
import
org.jkiss.dbeaver.model.runtime.VoidProgressMonitor
;
import
org.jkiss.dbeaver.registry.maven.MavenArtifact
;
...
...
@@ -33,12 +32,10 @@ import org.jkiss.dbeaver.registry.maven.MavenArtifactReference;
import
org.jkiss.dbeaver.registry.maven.MavenLocalVersion
;
import
org.jkiss.dbeaver.registry.maven.MavenRegistry
;
import
org.jkiss.dbeaver.runtime.RuntimeUtils
;
import
org.jkiss.dbeaver.utils.ContentUtils
;
import
java.io.*
;
import
java.io.File
;
import
java.io.IOException
;
import
java.net.URL
;
import
java.net.URLConnection
;
import
java.text.NumberFormat
;
import
java.util.Collection
;
/**
...
...
@@ -196,6 +193,7 @@ public class DriverLibraryDescriptor implements DBPDriverLibrary
}
@Nullable
@Override
public
String
getExternalURL
()
{
if
(
path
.
startsWith
(
FILE_SOURCE_PLATFORM
))
{
return
path
;
...
...
@@ -287,95 +285,6 @@ public class DriverLibraryDescriptor implements DBPDriverLibrary
return
null
;
}
public
void
downloadLibraryFile
(
DBRProgressMonitor
monitor
,
boolean
updateVersion
)
throws
IOException
,
InterruptedException
{
if
(
isMavenArtifact
())
{
MavenArtifact
artifact
=
downloadMavenArtifact
(
monitor
,
updateVersion
);
if
(
artifact
.
getRepository
().
isLocal
())
{
// No need to download local artifacts
return
;
}
}
String
externalURL
=
getExternalURL
();
if
(
externalURL
==
null
)
{
throw
new
IOException
(
"Unresolved file reference: "
+
getPath
());
}
final
URLConnection
connection
=
RuntimeUtils
.
openConnection
(
externalURL
);
monitor
.
worked
(
1
);
monitor
.
done
();
final
int
contentLength
=
connection
.
getContentLength
();
monitor
.
beginTask
(
"Download "
+
externalURL
,
contentLength
);
boolean
success
=
false
;
final
File
localFile
=
getLocalFile
();
if
(
localFile
==
null
)
{
throw
new
IOException
(
"No target file for '"
+
getPath
()
+
"'"
);
}
final
File
localDir
=
localFile
.
getParentFile
();
if
(!
localDir
.
exists
())
{
if
(!
localDir
.
mkdirs
())
{
log
.
warn
(
"Can't create directory for local driver file '"
+
localDir
.
getAbsolutePath
()
+
"'"
);
}
}
final
OutputStream
outputStream
=
new
FileOutputStream
(
localFile
);
try
{
final
InputStream
inputStream
=
connection
.
getInputStream
();
try
{
final
NumberFormat
numberFormat
=
NumberFormat
.
getNumberInstance
();
byte
[]
buffer
=
new
byte
[
10000
];
int
totalRead
=
0
;
for
(;;)
{
if
(
monitor
.
isCanceled
())
{
throw
new
InterruptedException
();
}
monitor
.
subTask
(
numberFormat
.
format
(
totalRead
)
+
"/"
+
numberFormat
.
format
(
contentLength
));
final
int
count
=
inputStream
.
read
(
buffer
);
if
(
count
<=
0
)
{
success
=
true
;
break
;
}
outputStream
.
write
(
buffer
,
0
,
count
);
monitor
.
worked
(
count
);
totalRead
+=
count
;
}
}
finally
{
ContentUtils
.
close
(
inputStream
);
}
}
finally
{
ContentUtils
.
close
(
outputStream
);
if
(!
success
)
{
if
(!
localFile
.
delete
())
{
log
.
warn
(
"Can't delete local driver file '"
+
localFile
.
getAbsolutePath
()
+
"'"
);
}
}
}
monitor
.
done
();
}
private
MavenArtifact
downloadMavenArtifact
(
DBRProgressMonitor
monitor
,
boolean
updateVersion
)
throws
IOException
{
MavenArtifactReference
artifactInfo
=
new
MavenArtifactReference
(
path
);
if
(
updateVersion
)
{
MavenRegistry
.
getInstance
().
resetArtifactInfo
(
artifactInfo
);
}
MavenArtifact
artifact
=
MavenRegistry
.
getInstance
().
findArtifact
(
artifactInfo
);
if
(
artifact
==
null
)
{
throw
new
IOException
(
"Maven artifact '"
+
path
+
"' not found"
);
}
if
(
updateVersion
)
{
artifact
.
loadMetadata
();
}
else
{
MavenLocalVersion
localVersion
=
artifact
.
getActiveLocalVersion
();
if
(
localVersion
!=
null
&&
localVersion
.
getCacheFile
().
exists
())
{
// Already cached
return
artifact
;
}
}
artifact
.
resolveVersion
(
monitor
,
artifactInfo
.
getVersion
());
return
artifact
;
}
@NotNull
public
String
getDisplayName
()
{
if
(
isMavenArtifact
())
{
...
...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/DriverPathDescriptor.java
已删除
100644 → 0
浏览文件 @
78e6cf3d
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2015 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package
org.jkiss.dbeaver.registry
;
import
org.jkiss.dbeaver.Log
;
import
org.jkiss.dbeaver.model.DBPDriverLocalPath
;
/**
* DriverPathDescriptor
*/
public
class
DriverPathDescriptor
implements
DBPDriverLocalPath
{
static
final
Log
log
=
Log
.
getLog
(
DriverPathDescriptor
.
class
);
private
String
path
;
private
String
comment
;
private
boolean
enabled
;
@Override
public
String
getPath
()
{
return
path
;
}
public
void
setPath
(
String
path
)
{
this
.
path
=
path
;
}
@Override
public
String
getComment
()
{
return
comment
;
}
public
void
setComment
(
String
comment
)
{
this
.
comment
=
comment
;
}
public
boolean
isEnabled
()
{
return
enabled
;
}
public
void
setEnabled
(
boolean
enabled
)
{
this
.
enabled
=
enabled
;
}
}
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/driver/DriverDownloadAutoPage.java
浏览文件 @
4d127287
...
...
@@ -28,6 +28,7 @@ import org.jkiss.dbeaver.model.runtime.DBRProgressMonitor;
import
org.jkiss.dbeaver.model.runtime.DBRRunnableContext
;
import
org.jkiss.dbeaver.model.runtime.DBRRunnableWithProgress
;
import
org.jkiss.dbeaver.registry.DriverDescriptor
;
import
org.jkiss.dbeaver.registry.DriverFileManager
;
import
org.jkiss.dbeaver.registry.DriverLibraryDescriptor
;
import
org.jkiss.dbeaver.runtime.RunnableContextDelegate
;
import
org.jkiss.dbeaver.ui.UIUtils
;
...
...
@@ -120,7 +121,7 @@ class DriverDownloadAutoPage extends DriverDownloadPage {
@Override
public
void
run
(
DBRProgressMonitor
monitor
)
throws
InvocationTargetException
,
InterruptedException
{
try
{
file
.
downloadLibraryFile
(
monitor
,
getWizard
().
isUpdateVersion
());
DriverFileManager
.
downloadLibraryFile
(
monitor
,
file
,
getWizard
().
isUpdateVersion
());
}
catch
(
IOException
e
)
{
throw
new
InvocationTargetException
(
e
);
}
...
...
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBPDriver.java
浏览文件 @
4d127287
...
...
@@ -77,8 +77,6 @@ public interface DBPDriver extends DBPObject
Object
getDriverParameter
(
String
name
);
Collection
<?
extends
DBPDriverLocalPath
>
getPathList
();
boolean
isSupportedByLocalSystem
();
Collection
<
String
>
getClientHomeIds
();
...
...
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBPDriverLibrary.java
浏览文件 @
4d127287
...
...
@@ -58,6 +58,9 @@ public interface DBPDriverLibrary
boolean
isDownloadable
();
@Nullable
String
getExternalURL
();
@Nullable
File
getLocalFile
();
...
...
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBPDriverLocalPath.java
已删除
100644 → 0
浏览文件 @
78e6cf3d
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2015 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package
org.jkiss.dbeaver.model
;
/**
* DBPDriver local path
*/
public
interface
DBPDriverLocalPath
{
String
getPath
();
String
getComment
();
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录