Last change
on this file since 6897 was 5943, checked in by cs025, 21 years ago |
Extensions to fix build
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
554 bytes
|
Line | |
---|
1 | package org.greenstone.gsdl3.gs3build;
|
---|
2 |
|
---|
3 | import java.io.File;
|
---|
4 |
|
---|
5 | import org.greenstone.gsdl3.gs3build.doctypes.*;
|
---|
6 |
|
---|
7 | import org.greenstone.gsdl3.gs3build.util.GS3SQLConnection;
|
---|
8 | import org.greenstone.gsdl3.gs3build.util.GS3SQLConnectionFactory;
|
---|
9 |
|
---|
10 | public class GSDataDump
|
---|
11 | {
|
---|
12 | public static void main(String args[])
|
---|
13 | {
|
---|
14 | String database = args[0];
|
---|
15 |
|
---|
16 | GS3SQLConnection connection = GS3SQLConnectionFactory.createConnection(database);
|
---|
17 | DocumentList docList = DocumentList.readSQLDocuments(connection);
|
---|
18 | docList.writeDocuments(new File(database));
|
---|
19 | }
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.