?? vpftable.java
字號:
// **********************************************************************// <copyright>// BBN Technologies// 10 Moulton Street// Cambridge, MA 02138// (617) 873-8000// // Copyright (C) BBNT Solutions LLC. All rights reserved.// </copyright>// **********************************************************************// $Source: /cvs/distapps/openmap/src/vpfservlet/WEB-INF/src/com/bbn/openmap/vpfservlet/VPFTable.java,v $// $Revision: 1.2.2.2 $ $Date: 2005/08/11 21:03:10 $ $Author: dietrick $// **********************************************************************package com.bbn.openmap.vpfservlet;import com.bbn.openmap.io.FormatException;import com.bbn.openmap.layer.vpf.DcwRecordFile;/** * Wrapper for DcwRecordFile objects, to give JSPs a way to interact * with them directly. */public class VPFTable { private DcwRecordFile table; public VPFTable() {} public void setFile(String file) { try { if ((file == null) && (table != null)) { table.close(); table = null; } if (file != null) { table = new DcwRecordFile(file); } } catch (FormatException fe) { } } public String getTablename() { return (table == null) ? "default" : table.getTableName(); } public String getDescription() { return (table == null) ? "default" : table.getDescription(); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -