📄 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 + -