⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sewingops.java

📁 今天为网友提供的是JAVA源码
💻 JAVA
字号:
package com.power.pipeengine.DispatchReportMap;/** * <p>Title: PIPE Engine</p> * <p>Description: Global Planning Optimization Engine</p> * <p>Copyright: Copyright (c) 2002</p> * <p>Company: Paraster, Inc.</p> * @author not attributable * @version 1.0 */import java.util.*;import java.io.*;import java.text.*;import java.net.*;import com.power.util.Message.*;import com.power.pipeengine.Entity.*;import com.power.pipe.*;import com.power.util.Message.*;import com.power.pipeengine.*;import com.power.pipeengine.InputData.*;public class SewingOps    extends InputReader {  static ResourceBundle res = ResourceBundle.getBundle(      "com.power.pipeengine.Res",      EngineConfig.getInstance().getLocale());  private String _fileName = "sewingops";  private Hashtable sewingops = new Hashtable();  private static final SewingOps INSTANCE =      new SewingOps();  // Private constructor supresses  // default public constructor  private SewingOps() {  }  public static SewingOps getInstance() {    return INSTANCE;  }  protected String getFileName() {    return _fileName;  }  public boolean isSewingOp( int procID ) {    if(  sewingops.get( new Integer(procID) ) == null ) {      return false;    }    return true;  }  public void readData() throws Exception {    BufferedReader d = super.getReader();    if (null == d) {      return;    }    String token = GlobalConfig.getInstance().getSeparator();    String aLine = d.readLine();    while (aLine != null) {      if (aLine.length() <= 1) {        aLine = d.readLine();        continue;      }      StringTokenizer st = new StringTokenizer(aLine, token);      Integer procID = new Integer(st.nextToken());      sewingops.put( procID, procID );      aLine = d.readLine();    }    d.close();    super.closeURLConnection();  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -