📄 complexlsp.java
字号:
package dli2fe.sample;
/**
* Title: Digial Library Interoperable Interface Fudan Edition
* Description: This project contains all the classes required for DLI2FE interface. Developers use these classes to implement the wrapper and client side codes. The basic functions of DLI2FE is as follows:
* Search: Search a digital library source site.
* Metadata: Fetch metadata for a site.
* ResultAccess: Get results for a given query.
* DLI2FE uses Dublin Core as the basic attribute model, DAV/DASL as the general XML-based query language and CORBA as distributed object transportation mechanism.
* Copyright: Copyright (c) 2001
* Company: Fudan University
* @author Carl Tao
* @version 1.0
*/
import dli2fe.helpers.*;
public class ComplexLSP {
public static void main(String[] args) throws Exception {
SimpleLSP lsp1 = new SimpleLSP();
YellowpageLSP lsp2 = new YellowpageLSP();
// Z39LSP lsp3 = new Z39LSP("ibm2.loc.gov:2210");
Z39LSP lsp3 = new Z39LSP("melvyl.ucop.edu");
lsp3.setDefaultSubcol("CATALOG");
WebxmlqsLSP lsp4 = new WebxmlqsLSP();
TravelLSP lsp5 = new TravelLSP();
PhotoLSP lsp6 = new PhotoLSP();
ServerCORBATransport t2 = new ServerCORBATransport();
t2.addLSP("/simplelsp", lsp1);
t2.addLSP("/yellowpage", lsp2);
t2.addLSP("/cdl", lsp3);
t2.addLSP("/webxmlqs", lsp4);
t2.addLSP("/travel", lsp5);
t2.addLSP("/photo", lsp6);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -