連接oracle數(shù)據(jù)庫的操作方法 tatic String driverName="oracle.jdbc.driver.OracleDriver" static String dbUrl="jdbc:oracle:thin:@10.1.1.44:1521:DBAWEB" static String user="DBA_WEB" static String Password="DBA_WEB"
標(biāo)簽: oracle String OracleDriver driverName
上傳時間: 2013-12-12
上傳用戶:skfreeman
問題描述:編寫一個JAVA程序,用面向?qū)ο笤O(shè)計的方法編寫一個電話卡的類。包括卡號、密碼、余額、撥入號碼等 b)基本要求:類的屬性有卡號、密碼、余額、撥入號碼,電話卡的常用操作可以用連接電話方法、返回余額方法與通電話方法來實現(xiàn)。 c)方法功能描述: 構(gòu)造方法(PhoneCard(卡號,密碼,余額,撥入號碼))可以完成屬性值初始化賦值,并判斷余額,余額為負(fù)就退出系統(tǒng),請在構(gòu)造方法中將初始時的連接置為false即表示沒有連接。 卡號long cardNumber 密碼private int Password,余額double balance,撥入號碼string connectNumber boolean connected(一個布爾類型變量表示電話卡連接狀態(tài),初始時默認(rèn)沒有連接,值為false,當(dāng)調(diào)用連接電話方法()后,在判斷卡號和密碼相匹配后值置為true) 連接電話方法(performConnection(卡號,密碼))可以完成檢查卡號和密碼,它是只有在卡號和密碼相匹配時才連接 返回余額方法(getBalance())得到電話卡的余額 通電話方法(performDial())是模擬通過過程中,余額會不斷減少,每調(diào)用此方法,電話卡的余額減少0。5元,打一次電話調(diào)用一次
上傳時間: 2014-01-20
上傳用戶:1109003457
SharpZipLib之前叫做NZipLib,完全由 C# 開發(fā)的壓縮庫,支持Zip, GZip, Tar and BZip2 ,為2007年8月最新0852release版的源文件和文檔說明! Changes for v0.85.2 release Minor tweaks for CF, ZipEntryFactory and ZipFile. Fix for zip testing and Zip64 local header patching. FastZip revamped to handle file attributes on extract + other fixes Null ref in path filter fixed. Extra data handling fixes Revamped build and conditional compilation handling Many bug fixes for Zip64. Minor improvements to C# samples. ZIP-1341 Non ascii zip Password handling fix. ZIP-355 Fix for zip compression problem at low levels
標(biāo)簽: SharpZipLib NZipLib
上傳時間: 2015-12-11
上傳用戶:84425894
SharpZipLib之前叫做NZipLib,完全由 C# 開發(fā)的壓縮庫,支持Zip, GZip, Tar and BZip2 ,為2007年8月最新0852release版的代碼實例! Changes for v0.85.2 release Minor tweaks for CF, ZipEntryFactory and ZipFile. Fix for zip testing and Zip64 local header patching. FastZip revamped to handle file attributes on extract + other fixes Null ref in path filter fixed. Extra data handling fixes Revamped build and conditional compilation handling Many bug fixes for Zip64. Minor improvements to C# samples. ZIP-1341 Non ascii zip Password handling fix. ZIP-355 Fix for zip compression problem at low levels
標(biāo)簽: SharpZipLib NZipLib
上傳時間: 2015-12-11
上傳用戶:love_stanford
This library allows creating, modifying and extracting zip archives in the compatible way with PKZIP (2.5 and higher) and WinZip. Supported are all possible operations on the zip archive: creating, extracting, adding, deleting files from the archive, modifications of the existing archive. There is also the support for creating and extracting multiple disk archives (on non-removable devices as well) and for Password encryption and decryption. This module uses compression and decompression functions from zlib library by Jean-loup Gailly and Mark Adler.
標(biāo)簽: compatible extracting modifying creating
上傳時間: 2014-12-22
上傳用戶:chfanjiang
procedureTForm1.Button1Click(Sender:TObject) var S:String begin S:=idhttp1.Get(PostURL.text+ ?username= +EdUserName.Text+ &Password= +EdPassword.Text+ &Password2= +EdPassword.Text+ &email= + EdEMail.Text+ &gendernew=1&year=&month=&day=&locationnew =&site=&oicq=&icq=&yahoo=&msn=&bio=&styleidnew =&tppnew=0&pppnew=0&timeformatnew=12&cstatus=&dateformatnew =yyyy-mm-dd&showemail=1&newsletter=1&timeoffsetnew=8&avatar =&sig=®submit=注冊 ) //一句代碼 ifPos( 非常感謝您的注冊 ,s)>1then //判斷部分 ShowMessage( 注冊成功! ) else ifPos( 已經(jīng)被注冊了 ,S)>1then ShowMessage( 該用戶名或E-Mail已被注冊! ) else ShowMessage( 已關(guān)閉注冊,注冊失敗! ) end
標(biāo)簽: procedureTForm PostURL TObject Button
上傳時間: 2014-08-24
上傳用戶:努力努力再努力
TinyLogin is a suite of tiny Unix utilities for handling logging into, being authenticated by, changing one s Password for, and otherwise maintaining users and groups on an embedded system. It also provides shadow Password support to enhance system security. TinyLogin is, as the name implies, very small, and makes an excellent complement to BusyBox on an embedded System. It can be used without BusyBox, of course, but I envision them being used together most of the time.
標(biāo)簽: authenticated TinyLogin utilities handling
上傳時間: 2016-01-30
上傳用戶:253189838
相信有很多用戶在使用華為的代理上網(wǎng)吧,是不是在linux下無法上網(wǎng)頭疼呢,我花了一個星期的時間,弄到華為的代理和linux下所需的rpm包了 基于fedora 7下 操作很簡單,我給出簡要提示 1.使用root用戶登陸安裝rpm包 #]rpm -ivh compat-libstdc++-7.3-2.96.110.i386.rpm #]./pre.ps #]linux1x -c 下面問的問題很簡單,一路yes,注意最后問你是否改變?nèi)罩镜拇娣盼恢茫琻o就可以,用默認(rèn)的路徑 然后(確保你的網(wǎng)卡已經(jīng)激活) #]linux1x –u username/Password –n eth0
上傳時間: 2013-12-20
上傳用戶:417313137
本類庫包含了常規(guī)的數(shù)據(jù)庫聯(lián)結(jié)操作,可以手動注冊數(shù)據(jù)庫在drivers.xml中。 本類庫包含如下類: ------------------------------------- DriverUtilities loadDrivers():加載驅(qū)動程序,本類提供了mysql,oracle,sql server,access的數(shù)據(jù)庫驅(qū)動,url記錄。 isValidVendor(String vendor):判斷vendor數(shù)據(jù)庫相關(guān)記錄是否存在。 makeURL(String host,String dbName,String vendor):生成聯(lián)結(jié)URL。 getDriver(String vendor):獲得vendor數(shù)據(jù)庫的驅(qū)動名稱。 ------------------------------------- DriverUtilities2 繼承自DriverUtilities loadDrivers(String filename):加載驅(qū)動程序,本類提供了mysql,oracle,sql server,access的數(shù)據(jù)庫驅(qū)動,url記錄,從drivers.xml中載入,解析該文檔,可以在該文件中加入新的記錄。 ------------------------------------- coreservlets.beans.ConnectionInfoBean getConnection(String driver,String url,String username,String Password):連接數(shù)據(jù)庫。
標(biāo)簽: 數(shù)據(jù)庫 操作
上傳時間: 2014-01-24
上傳用戶:ardager
簡單的一個java程序,顯示登陸對話框,運行時要求顯示username和Password
上傳時間: 2013-12-04
上傳用戶:jhksyghr
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1