|
|
??????????????????
????????D0903-0302
????????
????
Version r.0.0.1
????
? ?
1 2 3 4 5 6
????? .................................................................................................................................... 3 ?? ................................................................................................................................................ 3 ????? .................................................................................................................................... 3 ?? ................................................................................................................................................ 3 ????? .................................................................................................................................... 3 ????? .................................................................................................................................... 4 6.1 6.2 6.3 6.4 7
?????? ......................................................................................................................... 4 ???????? ................................................................................................................. 4 ?????? ......................................................................................................................... 4 ????? ............................................................................................................................. 4
???? ........................................................................................................................................ 5 7.1
7.2 7.3 7.4
?????? ......................................................................................................................... 5 ????? ............................................................................................................................. 6 ???..................................................................................................................................... 6 ?????? ....................................................................................... ?????????
8 ???? ...................................................................................................................................... 11 8.1
8.2
?/?? ?? ........................................................................................................................ 11 ??/? ?? ........................................................................................................................ 14
9 ???? ...................................................................................................................................... 15 9.1 9.2
????? ........................................................................................................................... 15 ?????? ....................................................................................................................... 21
1 ?????
????????????? ???????????????
???????????????????????? ?????????????
???????????????????????????????????
??????????????????????????????????????????????????????????????????????????????????????????????????
???????????????????????????
2 ??
???????????????????????????????????????????????????????????????????????????????????
3 ?????
4 ??
5 ?????
6 ?????
6.1 ??????
6.2 ????????
???????????JAVA??????IDE???MyEclipse 5.5.1 GA.
6.3 ??????
????Rose, Myeclipse, Dreamweaver??????
6.4 ?????
7 ???? 7.1 ??????
????????????
????
????????????.doc
?????????
???????????????
????? ?
??????
? ?
1 ?? ...................................................................... 1
1.1???? ............................................................. 1
1.2 ???? ............................................................. 1
1.3 ?? ................................................................. 1
1.4 ???? ............................................................. 1
2 ????................................................................... 2
2.1 ???? ............................................................. 2
2.2 ???? ............................................................. 2
3 ????................................................................... 4
3.1 ???????????????????????? ..................... 4
3.2 ?? ................................................................. 9
3.3 ???? ............................................................. 9
3.4 ?? ................................................................ 12
3.5???? ............................................................ 12
1 ??
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
1.1????
?????????????????????????????????????????????????????
?????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
1.2 ????
? ??????????????
? ??????????????
? ???????????????????????
1.3 ??
???????????????????????????????
? ????????????????????????????????????????????????????????????
?????
Data processing ????feedback??
DTE?????? transmission????
DCE?????? LAN???
1.4 ???? ??????????---- ??,??? ??? ???,?? ???????? ???????
?asp.net????? ---- ??? ??????? ???????
?SQL Server 2008 ?????---- ??? ??? ???,?? ???????:???????
??????????????????????
2 ????
2.1 ???? (1)??????????????
A?????????:???,??,??,?????????
B?????????:???,??,??,????????????
C???????:??????????????,????????
D?????????:???,??,??,?????????,??????,????,????
(1)??????????????
A???????:?????????,??,??,??????????????
B???????:?????????,??,??,??????????????
3?????????????
A???????:????????????????????????
B?????????:???????????
C???????:??????????????
2.2 ????
???????1
???????2
???????3
?????????? ????
???????
1.??
1.1????
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
2. ?????
? ui??????????????????????????????????????
?????????????????????ftp?????????????ui????common???????xml???????????????????????10?ftp???????????ftp???????????xml????????
? client???ftp???????ftp???ftp????????????????
????????????
? search:??????????????????????????????????
?????????????????????????????????????????
? preview??????????????????????????????????
???preview????common??????????????????????????
3???1?ui?????
3.1????
???????????11???51???????????????
3.2??
?????????????????????????????????????????????????ftp?????????????
3.3?????
client?search?preview?common?
3.4 ????
??????????????????????????????????
? MainFrame.java?MainFrame???????????lyra????????????????????????????????????????????????????
? FtpFrame_AboutBox.java:????????????????????????
???????????
? Tools.java?FileTools??????????????????????
? XMLController.java: JDOMTes???xml??????JDOM???xml???
???????
?1???ftp??????????????????????ftp?????????????xml?????????????ip+???.xml?;??????????
?2???????????????????????
?3???ftp???????ip????????21???????????anonymous???????????10????resourcesettings serversinfor.xml????
?4???????ftp??????
?5??type.xml????????
? Constants.java:???????????????initcontent???????????
?????????MainFrame???????iconHashMap?hash??????????????
? CustomizedController.java???????????java?????????????
?????????????????????????????????
?1?CustomizedJTable ????????????????????
?2?CustomizedTableCellRenderer??????????????????????????????
?3?LeftPanel?????JTabbedPane??????????????
?4?RightPanel?????JPanel????????????????????????
????????????????TabbedPane?.
?5?BottomPanel????????????????JTabbedPane?
?6?CustomizedJButton ????????????????java???????????
?7?CustomizedTableModel????????????????
?8?CustomizedTableCellRenderer_Remote????????????????RemoteFilesPanel????????????????
?9?FontTableCellRenderer?????????????????????
?10?FontListCellRenderer???????????????????????
?11?CustomizedJLabel????????????????????
?12?CustomizedJTextField?????????????????????????
?13?CustomizedJMenu????????????????????
?14?CustomizedJMenuItem?????????????????????
?15?CustomizedListCellRenderer??JComboBox?????????????????????????????????
? SearchResultReceiver.java, SearchResultReceiver?????????????????
?????????????????????????????
?1?OnSearchFinished(String[] keywords,ArrayList[] resultset);result???10?????result[10],result[i]?????i?????????i?0?9??????????????
?2?OnSearchFinished(String[] keywords,ArrayList resultset);???????????????????
? FtpFrame.java:FtpFrame???????????JFrame,????????JSplitPane
????
jSplitPane_Left??????????????????????????????? jSplitPane_Right???????????????????????ftp???????????????????????????
jSplitPane_Whole??????????????????jSplitPane_Lef????jSplitPane_Right?
FtpFrame?LeftPanel?RightPanel?BottomPanel?PreviewWrapperPanel????????????????LeftPanel?RightPanel?BottomPanel??CustomizedController.Java?????PreviewWrapperPanel??Preview??????
? LeftPanelCtrl.java: LocalFilesPanel????????????????????
?????????????????????????????????????????????????????????????????????????????????????????????????GetCurrentPath????????????DisplayPathFiles???????????????????
? RightPanlCtrl.java????????????????
?1?FtpServerOptionPanel???????????????????????????????????????????openRemoteFilesPanel????????TabbedPane???????????????????
?2?RemoteFilesPanel?????????Ftp?????????????????????????????RemoteFilesPanel ????TransferController????FtpClient???????????????????????????TransferController????????ConnThread????????????????????????????????DownloadFileThread??????????UploadFileThread??????????
?3?SearchResultPanel?????????????????SearchResultPanelWithinSearchEngine??????????????SearchResultPanelWithinServer????????????????????search???????????????search???OnSearchFinished?????SearchResultPanelWithinSearchEngine???????????
?4?RightTabbedPane???ftp????????TabbedPane??
? BottomPanelCtrl.java?????????????????????????????
????????
?1?RemoteMessPanel???????????????????ftp??????????????????????????????????
?2?DownloadingMessPanel??????????????????????????????????????????
3.5????
?????
4???2?client?????
4.1????
??ftp???FtpClient??????FtpClient.java?FtpLoginException.java,???????ftp???????????????????????
4.2??
??ftp???FtpClient????ftp??????ftp???????????
4.3?????
ui
4.4 ????
??????????????????????????????????
? FtpClient.java????FtpClient,?????ui???????????ftp???
??????????
????????ip?port??????????
????????????????
?????http://www.850500.com/news/6046.html
?????,??! |
|