freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于文字水印的談判系統(tǒng)設(shè)計與實現(xiàn)_畢業(yè)論文(編輯修改稿)

2024-10-04 17:41 本頁面
 

【文章內(nèi)容簡介】 public void insertString(int offs, String str, AttributeSet a) throws BadLocationException{ if(getLength() == maxSize){ return。 } if(getLength() + () maxSize){ int i = maxSize getLength()。 str = (0, i)。 } if((str).matches()){ 淮陰師范學(xué)院畢業(yè)論文(設(shè)計) 15 (offs, str, a)。 } } } /** * 發(fā)送登陸信息 */ private void sendLoginMessage(){ char[] pw = ()。 String userId= (String)()。 String password = new String(pw)。 if (!()amp。amp。 !()){ if(loginHandle != null){ ((userId).intValue(), password)。 } } else { (false)。 (this, html用戶號碼和密碼不能為空 br用戶號碼只能是 110位數(shù)字br密碼必須是字符和數(shù)字 /html, 登錄消息 , )。 ()。 (true)。 } } /** * 清除文本內(nèi)容 */ public void clearTextContent(){ (1)。 ()。 } /** * 從 txt文本文檔中讀取歷史登陸的賬號信息 * @return */ public VectorString readUserIDFromFile(){ try { BufferedReader br=new BufferedReader(new FileReader(Info//))。 String msg = null。 while((msg = ()) != null){ String temp = ()。 淮陰師范學(xué)院畢業(yè)論文(設(shè)計) 16 if (!()){ if ( !(temp)){ (temp)。 } } } } catch (Exception e) { ()。 } return userID。 } } 聊天界面及聊天接口代碼 /** * @() 2020226 * Copy Right Information : 淮陰師范學(xué)院 計算機科學(xué)與技術(shù)學(xué)院(軟件工程) * @author : 劉 超(計科 0903 學(xué)號: 210910018) * Project : 基于文字水印談判系統(tǒng)的設(shè)計與實現(xiàn) * JDK version used : * Comments : java類 * Environment : Win7/Win8/Win XP * Version : * Sr Date Modified By : 淮陰師范學(xué)院畢業(yè)論文(設(shè)計) 17 * null **/ package 。 import resource.*。 /** * 客戶端的接口 202027 * * @author 劉 超 * @version * @since (建議 ) */ public interface IClient { /** * 發(fā)送信息包 * @param packet */ public void sendChatMessage(MessagePacket packet)。 /** * 清空函數(shù) */ public void clear()。 } 數(shù)據(jù)庫操作函數(shù)及代碼實現(xiàn) /** * @() 2020226 * Copy Right Information : 淮陰師范學(xué)院 計算機科學(xué)與技術(shù)學(xué)院(軟件工程) * @author : 劉 超(計科 0903 學(xué)號: 210910018) * Project : 基于文字水印談判系統(tǒng)的設(shè)計與實現(xiàn) * JDK version used : * Comments : java類 * Environment : Win7/Win8/Win XP * Version : * Sr Date Modified By : * null **/ package server。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 淮陰師范學(xué)院畢業(yè)論文(設(shè)計) 18 import 。 import resource.*。 /** * 數(shù)據(jù)庫操作類 * @author 劉 超 * */ public class BaseDaoApp implements IBaseDao { private Connection con = null。 public static final String DRIVER=。 public static final String URL=jdbc:jtds: public static final String USER_NAME=sa。 public static final String USER_PASS=123。 private Connection getConnection() { try{ (DRIVER)。 con=(URL,USER_NAME,USER_PASS)。 }catch(Exception e){ ()。 } return con。 } public void closeAll(Connection con,Statement st,ResultSet rs){ try{ if(con!=null){()。} if(st!=null){()。} if(rs!=null){()。} }catch(Exception e){ ()。 } } public UserInfo login(UserInfo user) { int userID = ()。 String password = ()。 String queryString = select * from t_userinfo where userID =? and password=?。 Connection con = ()。 ResultSet rs。 UserInfo userinfo = null。 try { PreparedStatement ps = (queryString)。 (1, userID)。 淮陰師范學(xué)院畢業(yè)論文(設(shè)計) 19 (2, password)。 rs = ()。 while (()) { int ID = (1)。 String nickName = (2)。 String pwd = (3)。 String sex = (4)。 int age = (5)。 int departID = (6)。 String phone = (7)。 String = (8)。 String name = (9)。 String iconPath = (10)。 String address = (11)。 userinfo = new UserInfo(ID, nickName, pwd, sex, age, departID, phone, , name, iconPath, address)。 } return userinfo。 } catch (SQLException e) { ()。 } return null。 } public VectorDepartment getDepartments() { String queryStr = select * from t_department。 Connection con = ()。 ResultSet rs。 VectorDepartment department = new VectorDepartment()。 。 try { PreparedStatement ps = (queryStr)。 rs = ()。 while (()) { int departID = (1)。 String departName = (2)。 String departDepict = (3)。 Department depart = new Department()。 (departID)。 (departName)。 (departDepict)。 (depart)。 } 淮陰師范學(xué)院畢業(yè)論文(設(shè)計) 20 return department。 } catch (SQLException e) { ()。 } return null。 } public VectorUserInfo onLineUsers(VectorInteger userID) { int size = ()。 (onLineUsers count + size)。 Connection con = ()。 ResultSet rs。 PreparedStatement ps。 VectorUserInfo onLineUsers = new VectorUserInfo()。 int index = 0。 while (size 0) { String queryString = select * from t_userinfo where userID = ?。 try { ps = (queryString)。 (1, (index))。 rs = ()。 while (()) { int ID = (1)。 String nickName = (2)。 String pwd = (3)。 String sex = (4)。 int age = (5)。 int departID = (6)。 String phone = (7)。 String = (8)。 String name = (9)。 String iconPath
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1