home *** CD-ROM | disk | FTP | other *** search
/ Internet News 1999 October / INEWS_10_CD.ISO / pc / jdk / jdk1.2.2 / docs / guide / rmi / archives / sockets.tar < prev    next >
Tape Archive  |  1999-09-19  |  56.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Tape Archive (archive/tar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file POSIX tar archive default
99% file POSIX tar archive, directory sockets/, mode 0040755, uid 0074524, gid 0012666, size 00000000000, seconds 06701234221, user jvolpe, group jinieast, devmaj 0000254, devmin 0002105 default
98% file data default
62% TrID TAR - Tape ARchive (POSIX) default
37% TrID TAR - Tape ARchive (directory) default
100% siegfried x-fmt/265 Tape Archive Format default
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype POSIX tar archive default
100% detectItEasy Archive: tar default
100% binwalkID POSIX tar archive default
100% xdgMime application/x-tar default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 73 6f 63 6b 65 74 73 2f | 00 00 00 00 00 00 00 00 |sockets/|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 30 30 34 30 | 37 35 35 00 30 30 37 34 |....0040|755.0074|
|00000070| 35 32 34 00 30 30 31 32 | 36 36 36 00 30 30 30 30 |524.0012|666.0000|
|00000080| 30 30 30 30 30 30 30 00 | 30 36 37 30 31 32 33 34 |0000000.|06701234|
|00000090| 32 32 31 00 30 30 31 33 | 37 36 35 00 35 00 00 00 |221.0013|765.5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 00 30 | 30 6a 76 6f 6c 70 65 00 |.ustar.0|0jvolpe.|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 6a 69 6e 69 65 61 73 |........|.jinieas|
|00000130| 74 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |t.......|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 35 34 |........|.0000254|
|00000150| 00 30 30 30 32 31 30 35 | 00 00 00 00 00 00 00 00 |.0002105|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 73 6f 63 6b 65 74 73 2f | 43 6f 6d 70 72 65 73 73 |sockets/|Compress|
|00000210| 69 6f 6e 43 6c 69 65 6e | 74 53 6f 63 6b 65 74 46 |ionClien|tSocketF|
|00000220| 61 63 74 6f 72 79 2e 6a | 61 76 61 00 00 00 00 00 |actory.j|ava.....|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 30 31 30 30 | 34 34 34 00 30 30 37 34 |....0100|444.0074|
|00000270| 35 32 34 00 30 30 31 32 | 36 36 36 00 30 30 30 30 |524.0012|666.0000|
|00000280| 30 30 30 33 36 31 37 00 | 30 36 37 30 31 32 33 32 |0003617.|06701232|
|00000290| 34 31 30 00 30 30 32 32 | 37 37 31 00 30 00 00 00 |410.0022|771.0...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 00 30 | 30 6a 76 6f 6c 70 65 00 |.ustar.0|0jvolpe.|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 6a 69 6e 69 65 61 73 |........|.jinieas|
|00000330| 74 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |t.......|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 35 34 |........|.0000254|
|00000350| 00 30 30 30 32 31 30 35 | 00 00 00 00 00 00 00 00 |.0002105|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00000410| 28 63 29 20 31 39 39 38 | 2c 20 31 39 39 39 20 53 |(c) 1998|, 1999 S|
|00000420| 75 6e 20 4d 69 63 72 6f | 73 79 73 74 65 6d 73 2c |un Micro|systems,|
|00000430| 20 49 6e 63 2e 20 41 6c | 6c 20 52 69 67 68 74 73 | Inc. Al|l Rights|
|00000440| 20 52 65 73 65 72 76 65 | 64 2e 0a 20 2a 0a 20 2a | Reserve|d.. *. *|
|00000450| 20 53 75 6e 20 67 72 61 | 6e 74 73 20 79 6f 75 20 | Sun gra|nts you |
|00000460| 28 22 4c 69 63 65 6e 73 | 65 65 22 29 20 61 20 6e |("Licens|ee") a n|
|00000470| 6f 6e 2d 65 78 63 6c 75 | 73 69 76 65 2c 20 72 6f |on-exclu|sive, ro|
|00000480| 79 61 6c 74 79 20 66 72 | 65 65 2c 20 6c 69 63 65 |yalty fr|ee, lice|
|00000490| 6e 73 65 20 74 6f 20 75 | 73 65 2c 0a 20 2a 20 6d |nse to u|se,. * m|
|000004a0| 6f 64 69 66 79 20 61 6e | 64 20 72 65 64 69 73 74 |odify an|d redist|
|000004b0| 72 69 62 75 74 65 20 74 | 68 69 73 20 73 6f 66 74 |ribute t|his soft|
|000004c0| 77 61 72 65 20 69 6e 20 | 73 6f 75 72 63 65 20 61 |ware in |source a|
|000004d0| 6e 64 20 62 69 6e 61 72 | 79 20 63 6f 64 65 20 66 |nd binar|y code f|
|000004e0| 6f 72 6d 2c 0a 20 2a 20 | 70 72 6f 76 69 64 65 64 |orm,. * |provided|
|000004f0| 20 74 68 61 74 20 69 29 | 20 74 68 69 73 20 63 6f | that i)| this co|
|00000500| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00000510| 6e 64 20 6c 69 63 65 6e | 73 65 20 61 70 70 65 61 |nd licen|se appea|
|00000520| 72 20 6f 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r on all| copies |
|00000530| 6f 66 0a 20 2a 20 74 68 | 65 20 73 6f 66 74 77 61 |of. * th|e softwa|
|00000540| 72 65 3b 20 61 6e 64 20 | 69 69 29 20 4c 69 63 65 |re; and |ii) Lice|
|00000550| 6e 73 65 65 20 64 6f 65 | 73 20 6e 6f 74 20 75 74 |nsee doe|s not ut|
|00000560| 69 6c 69 7a 65 20 74 68 | 65 20 73 6f 66 74 77 61 |ilize th|e softwa|
|00000570| 72 65 20 69 6e 20 61 20 | 6d 61 6e 6e 65 72 0a 20 |re in a |manner. |
|00000580| 2a 20 77 68 69 63 68 20 | 69 73 20 64 69 73 70 61 |* which |is dispa|
|00000590| 72 61 67 69 6e 67 20 74 | 6f 20 53 75 6e 2e 0a 20 |raging t|o Sun.. |
|000005a0| 2a 0a 20 2a 20 54 68 69 | 73 20 73 6f 66 74 77 61 |*. * Thi|s softwa|
|000005b0| 72 65 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 22 |re is pr|ovided "|
|000005c0| 41 53 20 49 53 2c 22 20 | 77 69 74 68 6f 75 74 20 |AS IS," |without |
|000005d0| 61 20 77 61 72 72 61 6e | 74 79 20 6f 66 20 61 6e |a warran|ty of an|
|000005e0| 79 20 6b 69 6e 64 2e 20 | 41 4c 4c 0a 20 2a 20 45 |y kind. |ALL. * E|
|000005f0| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00000600| 44 20 43 4f 4e 44 49 54 | 49 4f 4e 53 2c 20 52 45 |D CONDIT|IONS, RE|
|00000610| 50 52 45 53 45 4e 54 41 | 54 49 4f 4e 53 20 41 4e |PRESENTA|TIONS AN|
|00000620| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00000630| 43 4c 55 44 49 4e 47 20 | 41 4e 59 0a 20 2a 20 49 |CLUDING |ANY. * I|
|00000640| 4d 50 4c 49 45 44 20 57 | 41 52 52 41 4e 54 59 20 |MPLIED W|ARRANTY |
|00000650| 4f 46 20 4d 45 52 43 48 | 41 4e 54 41 42 49 4c 49 |OF MERCH|ANTABILI|
|00000660| 54 59 2c 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 |TY, FITN|ESS FOR |
|00000670| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00000680| 50 4f 53 45 20 4f 52 0a | 20 2a 20 4e 4f 4e 2d 49 |POSE OR.| * NON-I|
|00000690| 4e 46 52 49 4e 47 45 4d | 45 4e 54 2c 20 41 52 45 |NFRINGEM|ENT, ARE|
|000006a0| 20 48 45 52 45 42 59 20 | 45 58 43 4c 55 44 45 44 | HEREBY |EXCLUDED|
|000006b0| 2e 20 53 55 4e 20 41 4e | 44 20 49 54 53 20 4c 49 |. SUN AN|D ITS LI|
|000006c0| 43 45 4e 53 4f 52 53 20 | 53 48 41 4c 4c 20 4e 4f |CENSORS |SHALL NO|
|000006d0| 54 20 42 45 0a 20 2a 20 | 4c 49 41 42 4c 45 20 46 |T BE. * |LIABLE F|
|000006e0| 4f 52 20 41 4e 59 20 44 | 41 4d 41 47 45 53 20 53 |OR ANY D|AMAGES S|
|000006f0| 55 46 46 45 52 45 44 20 | 42 59 20 4c 49 43 45 4e |UFFERED |BY LICEN|
|00000700| 53 45 45 20 41 53 20 41 | 20 52 45 53 55 4c 54 20 |SEE AS A| RESULT |
|00000710| 4f 46 20 55 53 49 4e 47 | 2c 20 4d 4f 44 49 46 59 |OF USING|, MODIFY|
|00000720| 49 4e 47 0a 20 2a 20 4f | 52 20 44 49 53 54 52 49 |ING. * O|R DISTRI|
|00000730| 42 55 54 49 4e 47 20 54 | 48 45 20 53 4f 46 54 57 |BUTING T|HE SOFTW|
|00000740| 41 52 45 20 4f 52 20 49 | 54 53 20 44 45 52 49 56 |ARE OR I|TS DERIV|
|00000750| 41 54 49 56 45 53 2e 20 | 49 4e 20 4e 4f 20 45 56 |ATIVES. |IN NO EV|
|00000760| 45 4e 54 20 57 49 4c 4c | 20 53 55 4e 20 4f 52 20 |ENT WILL| SUN OR |
|00000770| 49 54 53 0a 20 2a 20 4c | 49 43 45 4e 53 4f 52 53 |ITS. * L|ICENSORS|
|00000780| 20 42 45 20 4c 49 41 42 | 4c 45 20 46 4f 52 20 41 | BE LIAB|LE FOR A|
|00000790| 4e 59 20 4c 4f 53 54 20 | 52 45 56 45 4e 55 45 2c |NY LOST |REVENUE,|
|000007a0| 20 50 52 4f 46 49 54 20 | 4f 52 20 44 41 54 41 2c | PROFIT |OR DATA,|
|000007b0| 20 4f 52 20 46 4f 52 20 | 44 49 52 45 43 54 2c 0a | OR FOR |DIRECT,.|
|000007c0| 20 2a 20 49 4e 44 49 52 | 45 43 54 2c 20 53 50 45 | * INDIR|ECT, SPE|
|000007d0| 43 49 41 4c 2c 20 43 4f | 4e 53 45 51 55 45 4e 54 |CIAL, CO|NSEQUENT|
|000007e0| 49 41 4c 2c 20 49 4e 43 | 49 44 45 4e 54 41 4c 20 |IAL, INC|IDENTAL |
|000007f0| 4f 52 20 50 55 4e 49 54 | 49 56 45 20 44 41 4d 41 |OR PUNIT|IVE DAMA|
|00000800| 47 45 53 2c 20 48 4f 57 | 45 56 45 52 0a 20 2a 20 |GES, HOW|EVER. * |
|00000810| 43 41 55 53 45 44 20 41 | 4e 44 20 52 45 47 41 52 |CAUSED A|ND REGAR|
|00000820| 44 4c 45 53 53 20 4f 46 | 20 54 48 45 20 54 48 45 |DLESS OF| THE THE|
|00000830| 4f 52 59 20 4f 46 20 4c | 49 41 42 49 4c 49 54 59 |ORY OF L|IABILITY|
|00000840| 2c 20 41 52 49 53 49 4e | 47 20 4f 55 54 20 4f 46 |, ARISIN|G OUT OF|
|00000850| 20 54 48 45 20 55 53 45 | 20 4f 46 0a 20 2a 20 4f | THE USE| OF. * O|
|00000860| 52 20 49 4e 41 42 49 4c | 49 54 59 20 54 4f 20 55 |R INABIL|ITY TO U|
|00000870| 53 45 20 53 4f 46 54 57 | 41 52 45 2c 20 45 56 45 |SE SOFTW|ARE, EVE|
|00000880| 4e 20 49 46 20 53 55 4e | 20 48 41 53 20 42 45 45 |N IF SUN| HAS BEE|
|00000890| 4e 20 41 44 56 49 53 45 | 44 20 4f 46 20 54 48 45 |N ADVISE|D OF THE|
|000008a0| 0a 20 2a 20 50 4f 53 53 | 49 42 49 4c 49 54 59 20 |. * POSS|IBILITY |
|000008b0| 4f 46 20 53 55 43 48 20 | 44 41 4d 41 47 45 53 2e |OF SUCH |DAMAGES.|
|000008c0| 0a 20 2a 0a 20 2a 20 54 | 68 69 73 20 73 6f 66 74 |. *. * T|his soft|
|000008d0| 77 61 72 65 20 69 73 20 | 6e 6f 74 20 64 65 73 69 |ware is |not desi|
|000008e0| 67 6e 65 64 20 6f 72 20 | 69 6e 74 65 6e 64 65 64 |gned or |intended|
|000008f0| 20 66 6f 72 20 75 73 65 | 20 69 6e 20 6f 6e 2d 6c | for use| in on-l|
|00000900| 69 6e 65 20 63 6f 6e 74 | 72 6f 6c 20 6f 66 0a 20 |ine cont|rol of. |
|00000910| 2a 20 61 69 72 63 72 61 | 66 74 2c 20 61 69 72 20 |* aircra|ft, air |
|00000920| 74 72 61 66 66 69 63 2c | 20 61 69 72 63 72 61 66 |traffic,| aircraf|
|00000930| 74 20 6e 61 76 69 67 61 | 74 69 6f 6e 20 6f 72 20 |t naviga|tion or |
|00000940| 61 69 72 63 72 61 66 74 | 20 63 6f 6d 6d 75 6e 69 |aircraft| communi|
|00000950| 63 61 74 69 6f 6e 73 3b | 20 6f 72 20 69 6e 0a 20 |cations;| or in. |
|00000960| 2a 20 74 68 65 20 64 65 | 73 69 67 6e 2c 20 63 6f |* the de|sign, co|
|00000970| 6e 73 74 72 75 63 74 69 | 6f 6e 2c 20 6f 70 65 72 |nstructi|on, oper|
|00000980| 61 74 69 6f 6e 20 6f 72 | 20 6d 61 69 6e 74 65 6e |ation or| mainten|
|00000990| 61 6e 63 65 20 6f 66 20 | 61 6e 79 20 6e 75 63 6c |ance of |any nucl|
|000009a0| 65 61 72 0a 20 2a 20 66 | 61 63 69 6c 69 74 79 2e |ear. * f|acility.|
|000009b0| 20 4c 69 63 65 6e 73 65 | 65 20 72 65 70 72 65 73 | License|e repres|
|000009c0| 65 6e 74 73 20 61 6e 64 | 20 77 61 72 72 61 6e 74 |ents and| warrant|
|000009d0| 73 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 6e |s that i|t will n|
|000009e0| 6f 74 20 75 73 65 20 6f | 72 0a 20 2a 20 72 65 64 |ot use o|r. * red|
|000009f0| 69 73 74 72 69 62 75 74 | 65 20 74 68 65 20 53 6f |istribut|e the So|
|00000a00| 66 74 77 61 72 65 20 66 | 6f 72 20 73 75 63 68 20 |ftware f|or such |
|00000a10| 70 75 72 70 6f 73 65 73 | 2e 0a 20 2a 2f 0a 0a 70 |purposes|.. */..p|
|00000a20| 61 63 6b 61 67 65 20 65 | 78 61 6d 70 6c 65 73 2e |ackage e|xamples.|
|00000a30| 72 6d 69 73 6f 63 66 61 | 63 3b 0a 0a 69 6d 70 6f |rmisocfa|c;..impo|
|00000a40| 72 74 20 6a 61 76 61 2e | 69 6f 2e 2a 3b 0a 69 6d |rt java.|io.*;.im|
|00000a50| 70 6f 72 74 20 6a 61 76 | 61 2e 6e 65 74 2e 2a 3b |port jav|a.net.*;|
|00000a60| 0a 69 6d 70 6f 72 74 20 | 6a 61 76 61 2e 72 6d 69 |.import |java.rmi|
|00000a70| 2e 73 65 72 76 65 72 2e | 2a 3b 0a 0a 70 75 62 6c |.server.|*;..publ|
|00000a80| 69 63 20 63 6c 61 73 73 | 20 43 6f 6d 70 72 65 73 |ic class| Compres|
|00000a90| 73 69 6f 6e 43 6c 69 65 | 6e 74 53 6f 63 6b 65 74 |sionClie|ntSocket|
|00000aa0| 46 61 63 74 6f 72 79 20 | 0a 20 20 20 20 69 6d 70 |Factory |. imp|
|00000ab0| 6c 65 6d 65 6e 74 73 20 | 52 4d 49 43 6c 69 65 6e |lements |RMIClien|
|00000ac0| 74 53 6f 63 6b 65 74 46 | 61 63 74 6f 72 79 2c 20 |tSocketF|actory, |
|00000ad0| 53 65 72 69 61 6c 69 7a | 61 62 6c 65 20 7b 0a 0a |Serializ|able {..|
|00000ae0| 20 20 20 20 70 75 62 6c | 69 63 20 53 6f 63 6b 65 | publ|ic Socke|
|00000af0| 74 20 63 72 65 61 74 65 | 53 6f 63 6b 65 74 28 53 |t create|Socket(S|
|00000b00| 74 72 69 6e 67 20 68 6f | 73 74 2c 20 69 6e 74 20 |tring ho|st, int |
|00000b10| 70 6f 72 74 29 0a 09 74 | 68 72 6f 77 73 20 49 4f |port)..t|hrows IO|
|00000b20| 45 78 63 65 70 74 69 6f | 6e 0a 20 20 20 20 7b 0a |Exceptio|n. {.|
|00000b30| 20 20 20 20 20 20 20 20 | 43 6f 6d 70 72 65 73 73 | |Compress|
|00000b40| 69 6f 6e 53 6f 63 6b 65 | 74 20 73 6f 63 6b 65 74 |ionSocke|t socket|
|00000b50| 20 3d 20 6e 65 77 20 43 | 6f 6d 70 72 65 73 73 69 | = new C|ompressi|
|00000b60| 6f 6e 53 6f 63 6b 65 74 | 28 68 6f 73 74 2c 20 70 |onSocket|(host, p|
|00000b70| 6f 72 74 29 3b 0a 09 72 | 65 74 75 72 6e 20 73 6f |ort);..r|eturn so|
|00000b80| 63 6b 65 74 3b 0a 20 20 | 20 20 7d 0a 0a 7d 0a 00 |cket;. | }..}..|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 73 6f 63 6b 65 74 73 2f | 43 6f 6d 70 72 65 73 73 |sockets/|Compress|
|00000c10| 69 6f 6e 43 6f 6e 73 74 | 61 6e 74 73 2e 6a 61 76 |ionConst|ants.jav|
|00000c20| 61 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 30 31 30 30 | 36 34 34 00 30 30 37 34 |....0100|644.0074|
|00000c70| 35 32 34 00 30 30 31 32 | 36 36 36 00 30 30 30 30 |524.0012|666.0000|
|00000c80| 30 30 30 34 31 31 36 00 | 30 36 37 30 31 32 33 32 |0004116.|06701232|
|00000c90| 34 31 32 00 30 30 32 31 | 30 32 35 00 30 00 00 00 |412.0021|025.0...|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 75 73 74 61 72 00 30 | 30 6a 76 6f 6c 70 65 00 |.ustar.0|0jvolpe.|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 6a 69 6e 69 65 61 73 |........|.jinieas|
|00000d30| 74 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |t.......|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 35 34 |........|.0000254|
|00000d50| 00 30 30 30 32 31 30 35 | 00 00 00 00 00 00 00 00 |.0002105|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00000e10| 28 63 29 20 31 39 39 38 | 2c 20 31 39 39 39 20 53 |(c) 1998|, 1999 S|
|00000e20| 75 6e 20 4d 69 63 72 6f | 73 79 73 74 65 6d 73 2c |un Micro|systems,|
|00000e30| 20 49 6e 63 2e 20 41 6c | 6c 20 52 69 67 68 74 73 | Inc. Al|l Rights|
|00000e40| 20 52 65 73 65 72 76 65 | 64 2e 0a 20 2a 0a 20 2a | Reserve|d.. *. *|
|00000e50| 20 53 75 6e 20 67 72 61 | 6e 74 73 20 79 6f 75 20 | Sun gra|nts you |
|00000e60| 28 22 4c 69 63 65 6e 73 | 65 65 22 29 20 61 20 6e |("Licens|ee") a n|
|00000e70| 6f 6e 2d 65 78 63 6c 75 | 73 69 76 65 2c 20 72 6f |on-exclu|sive, ro|
|00000e80| 79 61 6c 74 79 20 66 72 | 65 65 2c 20 6c 69 63 65 |yalty fr|ee, lice|
|00000e90| 6e 73 65 20 74 6f 20 75 | 73 65 2c 0a 20 2a 20 6d |nse to u|se,. * m|
|00000ea0| 6f 64 69 66 79 20 61 6e | 64 20 72 65 64 69 73 74 |odify an|d redist|
|00000eb0| 72 69 62 75 74 65 20 74 | 68 69 73 20 73 6f 66 74 |ribute t|his soft|
|00000ec0| 77 61 72 65 20 69 6e 20 | 73 6f 75 72 63 65 20 61 |ware in |source a|
|00000ed0| 6e 64 20 62 69 6e 61 72 | 79 20 63 6f 64 65 20 66 |nd binar|y code f|
|00000ee0| 6f 72 6d 2c 0a 20 2a 20 | 70 72 6f 76 69 64 65 64 |orm,. * |provided|
|00000ef0| 20 74 68 61 74 20 69 29 | 20 74 68 69 73 20 63 6f | that i)| this co|
|00000f00| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00000f10| 6e 64 20 6c 69 63 65 6e | 73 65 20 61 70 70 65 61 |nd licen|se appea|
|00000f20| 72 20 6f 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r on all| copies |
|00000f30| 6f 66 0a 20 2a 20 74 68 | 65 20 73 6f 66 74 77 61 |of. * th|e softwa|
|00000f40| 72 65 3b 20 61 6e 64 20 | 69 69 29 20 4c 69 63 65 |re; and |ii) Lice|
|00000f50| 6e 73 65 65 20 64 6f 65 | 73 20 6e 6f 74 20 75 74 |nsee doe|s not ut|
|00000f60| 69 6c 69 7a 65 20 74 68 | 65 20 73 6f 66 74 77 61 |ilize th|e softwa|
|00000f70| 72 65 20 69 6e 20 61 20 | 6d 61 6e 6e 65 72 0a 20 |re in a |manner. |
|00000f80| 2a 20 77 68 69 63 68 20 | 69 73 20 64 69 73 70 61 |* which |is dispa|
|00000f90| 72 61 67 69 6e 67 20 74 | 6f 20 53 75 6e 2e 0a 20 |raging t|o Sun.. |
|00000fa0| 2a 0a 20 2a 20 54 68 69 | 73 20 73 6f 66 74 77 61 |*. * Thi|s softwa|
|00000fb0| 72 65 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 22 |re is pr|ovided "|
|00000fc0| 41 53 20 49 53 2c 22 20 | 77 69 74 68 6f 75 74 20 |AS IS," |without |
|00000fd0| 61 20 77 61 72 72 61 6e | 74 79 20 6f 66 20 61 6e |a warran|ty of an|
|00000fe0| 79 20 6b 69 6e 64 2e 20 | 41 4c 4c 0a 20 2a 20 45 |y kind. |ALL. * E|
|00000ff0| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00001000| 44 20 43 4f 4e 44 49 54 | 49 4f 4e 53 2c 20 52 45 |D CONDIT|IONS, RE|
|00001010| 50 52 45 53 45 4e 54 41 | 54 49 4f 4e 53 20 41 4e |PRESENTA|TIONS AN|
|00001020| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00001030| 43 4c 55 44 49 4e 47 20 | 41 4e 59 0a 20 2a 20 49 |CLUDING |ANY. * I|
|00001040| 4d 50 4c 49 45 44 20 57 | 41 52 52 41 4e 54 59 20 |MPLIED W|ARRANTY |
|00001050| 4f 46 20 4d 45 52 43 48 | 41 4e 54 41 42 49 4c 49 |OF MERCH|ANTABILI|
|00001060| 54 59 2c 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 |TY, FITN|ESS FOR |
|00001070| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00001080| 50 4f 53 45 20 4f 52 0a | 20 2a 20 4e 4f 4e 2d 49 |POSE OR.| * NON-I|
|00001090| 4e 46 52 49 4e 47 45 4d | 45 4e 54 2c 20 41 52 45 |NFRINGEM|ENT, ARE|
|000010a0| 20 48 45 52 45 42 59 20 | 45 58 43 4c 55 44 45 44 | HEREBY |EXCLUDED|
|000010b0| 2e 20 53 55 4e 20 41 4e | 44 20 49 54 53 20 4c 49 |. SUN AN|D ITS LI|
|000010c0| 43 45 4e 53 4f 52 53 20 | 53 48 41 4c 4c 20 4e 4f |CENSORS |SHALL NO|
|000010d0| 54 20 42 45 0a 20 2a 20 | 4c 49 41 42 4c 45 20 46 |T BE. * |LIABLE F|
|000010e0| 4f 52 20 41 4e 59 20 44 | 41 4d 41 47 45 53 20 53 |OR ANY D|AMAGES S|
|000010f0| 55 46 46 45 52 45 44 20 | 42 59 20 4c 49 43 45 4e |UFFERED |BY LICEN|
|00001100| 53 45 45 20 41 53 20 41 | 20 52 45 53 55 4c 54 20 |SEE AS A| RESULT |
|00001110| 4f 46 20 55 53 49 4e 47 | 2c 20 4d 4f 44 49 46 59 |OF USING|, MODIFY|
|00001120| 49 4e 47 0a 20 2a 20 4f | 52 20 44 49 53 54 52 49 |ING. * O|R DISTRI|
|00001130| 42 55 54 49 4e 47 20 54 | 48 45 20 53 4f 46 54 57 |BUTING T|HE SOFTW|
|00001140| 41 52 45 20 4f 52 20 49 | 54 53 20 44 45 52 49 56 |ARE OR I|TS DERIV|
|00001150| 41 54 49 56 45 53 2e 20 | 49 4e 20 4e 4f 20 45 56 |ATIVES. |IN NO EV|
|00001160| 45 4e 54 20 57 49 4c 4c | 20 53 55 4e 20 4f 52 20 |ENT WILL| SUN OR |
|00001170| 49 54 53 0a 20 2a 20 4c | 49 43 45 4e 53 4f 52 53 |ITS. * L|ICENSORS|
|00001180| 20 42 45 20 4c 49 41 42 | 4c 45 20 46 4f 52 20 41 | BE LIAB|LE FOR A|
|00001190| 4e 59 20 4c 4f 53 54 20 | 52 45 56 45 4e 55 45 2c |NY LOST |REVENUE,|
|000011a0| 20 50 52 4f 46 49 54 20 | 4f 52 20 44 41 54 41 2c | PROFIT |OR DATA,|
|000011b0| 20 4f 52 20 46 4f 52 20 | 44 49 52 45 43 54 2c 0a | OR FOR |DIRECT,.|
|000011c0| 20 2a 20 49 4e 44 49 52 | 45 43 54 2c 20 53 50 45 | * INDIR|ECT, SPE|
|000011d0| 43 49 41 4c 2c 20 43 4f | 4e 53 45 51 55 45 4e 54 |CIAL, CO|NSEQUENT|
|000011e0| 49 41 4c 2c 20 49 4e 43 | 49 44 45 4e 54 41 4c 20 |IAL, INC|IDENTAL |
|000011f0| 4f 52 20 50 55 4e 49 54 | 49 56 45 20 44 41 4d 41 |OR PUNIT|IVE DAMA|
|00001200| 47 45 53 2c 20 48 4f 57 | 45 56 45 52 0a 20 2a 20 |GES, HOW|EVER. * |
|00001210| 43 41 55 53 45 44 20 41 | 4e 44 20 52 45 47 41 52 |CAUSED A|ND REGAR|
|00001220| 44 4c 45 53 53 20 4f 46 | 20 54 48 45 20 54 48 45 |DLESS OF| THE THE|
|00001230| 4f 52 59 20 4f 46 20 4c | 49 41 42 49 4c 49 54 59 |ORY OF L|IABILITY|
|00001240| 2c 20 41 52 49 53 49 4e | 47 20 4f 55 54 20 4f 46 |, ARISIN|G OUT OF|
|00001250| 20 54 48 45 20 55 53 45 | 20 4f 46 0a 20 2a 20 4f | THE USE| OF. * O|
|00001260| 52 20 49 4e 41 42 49 4c | 49 54 59 20 54 4f 20 55 |R INABIL|ITY TO U|
|00001270| 53 45 20 53 4f 46 54 57 | 41 52 45 2c 20 45 56 45 |SE SOFTW|ARE, EVE|
|00001280| 4e 20 49 46 20 53 55 4e | 20 48 41 53 20 42 45 45 |N IF SUN| HAS BEE|
|00001290| 4e 20 41 44 56 49 53 45 | 44 20 4f 46 20 54 48 45 |N ADVISE|D OF THE|
|000012a0| 0a 20 2a 20 50 4f 53 53 | 49 42 49 4c 49 54 59 20 |. * POSS|IBILITY |
|000012b0| 4f 46 20 53 55 43 48 20 | 44 41 4d 41 47 45 53 2e |OF SUCH |DAMAGES.|
|000012c0| 0a 20 2a 0a 20 2a 20 54 | 68 69 73 20 73 6f 66 74 |. *. * T|his soft|
|000012d0| 77 61 72 65 20 69 73 20 | 6e 6f 74 20 64 65 73 69 |ware is |not desi|
|000012e0| 67 6e 65 64 20 6f 72 20 | 69 6e 74 65 6e 64 65 64 |gned or |intended|
|000012f0| 20 66 6f 72 20 75 73 65 | 20 69 6e 20 6f 6e 2d 6c | for use| in on-l|
|00001300| 69 6e 65 20 63 6f 6e 74 | 72 6f 6c 20 6f 66 0a 20 |ine cont|rol of. |
|00001310| 2a 20 61 69 72 63 72 61 | 66 74 2c 20 61 69 72 20 |* aircra|ft, air |
|00001320| 74 72 61 66 66 69 63 2c | 20 61 69 72 63 72 61 66 |traffic,| aircraf|
|00001330| 74 20 6e 61 76 69 67 61 | 74 69 6f 6e 20 6f 72 20 |t naviga|tion or |
|00001340| 61 69 72 63 72 61 66 74 | 20 63 6f 6d 6d 75 6e 69 |aircraft| communi|
|00001350| 63 61 74 69 6f 6e 73 3b | 20 6f 72 20 69 6e 0a 20 |cations;| or in. |
|00001360| 2a 20 74 68 65 20 64 65 | 73 69 67 6e 2c 20 63 6f |* the de|sign, co|
|00001370| 6e 73 74 72 75 63 74 69 | 6f 6e 2c 20 6f 70 65 72 |nstructi|on, oper|
|00001380| 61 74 69 6f 6e 20 6f 72 | 20 6d 61 69 6e 74 65 6e |ation or| mainten|
|00001390| 61 6e 63 65 20 6f 66 20 | 61 6e 79 20 6e 75 63 6c |ance of |any nucl|
|000013a0| 65 61 72 0a 20 2a 20 66 | 61 63 69 6c 69 74 79 2e |ear. * f|acility.|
|000013b0| 20 4c 69 63 65 6e 73 65 | 65 20 72 65 70 72 65 73 | License|e repres|
|000013c0| 65 6e 74 73 20 61 6e 64 | 20 77 61 72 72 61 6e 74 |ents and| warrant|
|000013d0| 73 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 6e |s that i|t will n|
|000013e0| 6f 74 20 75 73 65 20 6f | 72 0a 20 2a 20 72 65 64 |ot use o|r. * red|
|000013f0| 69 73 74 72 69 62 75 74 | 65 20 74 68 65 20 53 6f |istribut|e the So|
|00001400| 66 74 77 61 72 65 20 66 | 6f 72 20 73 75 63 68 20 |ftware f|or such |
|00001410| 70 75 72 70 6f 73 65 73 | 2e 0a 20 2a 2f 0a 0a 70 |purposes|.. */..p|
|00001420| 61 63 6b 61 67 65 20 65 | 78 61 6d 70 6c 65 73 2e |ackage e|xamples.|
|00001430| 72 6d 69 73 6f 63 66 61 | 63 3b 0a 0a 69 6e 74 65 |rmisocfa|c;..inte|
|00001440| 72 66 61 63 65 20 43 6f | 6d 70 72 65 73 73 69 6f |rface Co|mpressio|
|00001450| 6e 43 6f 6e 73 74 61 6e | 74 73 20 7b 0a 20 0a 20 |nConstan|ts {. . |
|00001460| 20 20 20 2f 2a 2a 20 43 | 6f 6e 73 74 61 6e 74 73 | /** C|onstants|
|00001470| 20 66 6f 72 20 36 2d 62 | 69 74 20 63 6f 64 65 20 | for 6-b|it code |
|00001480| 76 61 6c 75 65 73 2e 20 | 2a 2f 0a 0a 20 20 20 20 |values. |*/.. |
|00001490| 2f 2a 2a 20 4e 6f 20 6f | 70 65 72 61 74 69 6f 6e |/** No o|peration|
|000014a0| 3a 20 75 73 65 64 20 74 | 6f 20 70 61 64 20 77 6f |: used t|o pad wo|
|000014b0| 72 64 73 20 6f 6e 20 66 | 6c 75 73 68 2e 20 2a 2f |rds on f|lush. */|
|000014c0| 0a 20 20 20 20 73 74 61 | 74 69 63 20 66 69 6e 61 |. sta|tic fina|
|000014d0| 6c 20 69 6e 74 20 4e 4f | 50 20 20 20 20 20 3d 20 |l int NO|P = |
|000014e0| 30 3b 20 20 0a 0a 20 20 | 20 20 2f 2a 2a 20 49 6e |0; .. | /** In|
|000014f0| 74 72 6f 64 75 63 65 73 | 20 72 61 77 20 62 79 74 |troduces| raw byt|
|00001500| 65 20 66 6f 72 6d 61 74 | 2e 20 2a 2f 0a 20 20 20 |e format|. */. |
|00001510| 20 73 74 61 74 69 63 20 | 66 69 6e 61 6c 20 69 6e | static |final in|
|00001520| 74 20 52 41 57 20 20 20 | 20 20 3d 20 31 3b 20 20 |t RAW | = 1; |
|00001530| 0a 0a 20 20 20 20 2f 2a | 2a 20 46 6f 72 6d 61 74 |.. /*|* Format|
|00001540| 20 69 6e 64 69 63 61 74 | 6f 72 20 66 6f 72 20 63 | indicat|or for c|
|00001550| 68 61 72 61 63 74 65 72 | 73 20 66 6f 75 6e 64 20 |haracter|s found |
|00001560| 69 6e 20 6c 6f 6f 6b 75 | 70 20 74 61 62 6c 65 2e |in looku|p table.|
|00001570| 20 2a 2f 0a 20 20 20 20 | 73 74 61 74 69 63 20 66 | */. |static f|
|00001580| 69 6e 61 6c 20 69 6e 74 | 20 42 41 53 45 20 20 20 |inal int| BASE |
|00001590| 20 3d 20 32 3b 20 20 0a | 0a 20 20 20 20 2f 2a 2a | = 2; .|. /**|
|000015a0| 20 41 20 63 68 61 72 61 | 63 74 65 72 27 73 20 63 | A chara|cter's c|
|000015b0| 6f 64 65 20 69 73 20 69 | 74 27 73 20 69 6e 64 65 |ode is i|t's inde|
|000015c0| 78 20 69 6e 20 74 68 65 | 20 6c 6f 6f 6b 75 70 20 |x in the| lookup |
|000015d0| 74 61 62 6c 65 2e 20 2a | 2f 0a 20 20 20 20 73 74 |table. *|/. st|
|000015e0| 61 74 69 63 20 66 69 6e | 61 6c 20 53 74 72 69 6e |atic fin|al Strin|
|000015f0| 67 20 63 6f 64 65 54 61 | 62 6c 65 20 3d 0a 20 20 |g codeTa|ble =. |
|00001600| 20 20 20 20 20 20 22 61 | 62 63 64 65 66 67 68 69 | "a|bcdefghi|
|00001610| 6a 6b 6c 6d 6e 6f 70 71 | 72 73 74 75 76 77 78 79 |jklmnopq|rstuvwxy|
|00001620| 7a 41 42 43 44 45 46 47 | 48 49 4a 4b 4c 4d 4e 4f |zABCDEFG|HIJKLMNO|
|00001630| 50 51 52 53 54 55 56 57 | 58 59 5a 20 2c 2e 21 3f |PQRSTUVW|XYZ ,.!?|
|00001640| 5c 22 27 28 29 22 3b 0a | 7d 0a 0a 0a 0a 0a 00 00 |\"'()";.|}.......|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 73 6f 63 6b 65 74 73 2f | 43 6f 6d 70 72 65 73 73 |sockets/|Compress|
|00001810| 69 6f 6e 49 6e 70 75 74 | 53 74 72 65 61 6d 2e 6a |ionInput|Stream.j|
|00001820| 61 76 61 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ava.....|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 30 31 30 30 | 36 34 34 00 30 30 37 34 |....0100|644.0074|
|00001870| 35 32 34 00 30 30 31 32 | 36 36 36 00 30 30 30 30 |524.0012|666.0000|
|00001880| 30 30 31 31 35 30 37 00 | 30 36 37 30 31 32 33 32 |0011507.|06701232|
|00001890| 34 31 32 00 30 30 32 31 | 33 32 36 00 30 00 00 00 |412.0021|326.0...|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 75 73 74 61 72 00 30 | 30 6a 76 6f 6c 70 65 00 |.ustar.0|0jvolpe.|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 6a 69 6e 69 65 61 73 |........|.jinieas|
|00001930| 74 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |t.......|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 35 34 |........|.0000254|
|00001950| 00 30 30 30 32 31 30 35 | 00 00 00 00 00 00 00 00 |.0002105|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00001a10| 28 63 29 20 31 39 39 38 | 2c 20 31 39 39 39 20 53 |(c) 1998|, 1999 S|
|00001a20| 75 6e 20 4d 69 63 72 6f | 73 79 73 74 65 6d 73 2c |un Micro|systems,|
|00001a30| 20 49 6e 63 2e 20 41 6c | 6c 20 52 69 67 68 74 73 | Inc. Al|l Rights|
|00001a40| 20 52 65 73 65 72 76 65 | 64 2e 0a 20 2a 0a 20 2a | Reserve|d.. *. *|
|00001a50| 20 53 75 6e 20 67 72 61 | 6e 74 73 20 79 6f 75 20 | Sun gra|nts you |
|00001a60| 28 22 4c 69 63 65 6e 73 | 65 65 22 29 20 61 20 6e |("Licens|ee") a n|
|00001a70| 6f 6e 2d 65 78 63 6c 75 | 73 69 76 65 2c 20 72 6f |on-exclu|sive, ro|
|00001a80| 79 61 6c 74 79 20 66 72 | 65 65 2c 20 6c 69 63 65 |yalty fr|ee, lice|
|00001a90| 6e 73 65 20 74 6f 20 75 | 73 65 2c 0a 20 2a 20 6d |nse to u|se,. * m|
|00001aa0| 6f 64 69 66 79 20 61 6e | 64 20 72 65 64 69 73 74 |odify an|d redist|
|00001ab0| 72 69 62 75 74 65 20 74 | 68 69 73 20 73 6f 66 74 |ribute t|his soft|
|00001ac0| 77 61 72 65 20 69 6e 20 | 73 6f 75 72 63 65 20 61 |ware in |source a|
|00001ad0| 6e 64 20 62 69 6e 61 72 | 79 20 63 6f 64 65 20 66 |nd binar|y code f|
|00001ae0| 6f 72 6d 2c 0a 20 2a 20 | 70 72 6f 76 69 64 65 64 |orm,. * |provided|
|00001af0| 20 74 68 61 74 20 69 29 | 20 74 68 69 73 20 63 6f | that i)| this co|
|00001b00| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00001b10| 6e 64 20 6c 69 63 65 6e | 73 65 20 61 70 70 65 61 |nd licen|se appea|
|00001b20| 72 20 6f 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r on all| copies |
|00001b30| 6f 66 0a 20 2a 20 74 68 | 65 20 73 6f 66 74 77 61 |of. * th|e softwa|
|00001b40| 72 65 3b 20 61 6e 64 20 | 69 69 29 20 4c 69 63 65 |re; and |ii) Lice|
|00001b50| 6e 73 65 65 20 64 6f 65 | 73 20 6e 6f 74 20 75 74 |nsee doe|s not ut|
|00001b60| 69 6c 69 7a 65 20 74 68 | 65 20 73 6f 66 74 77 61 |ilize th|e softwa|
|00001b70| 72 65 20 69 6e 20 61 20 | 6d 61 6e 6e 65 72 0a 20 |re in a |manner. |
|00001b80| 2a 20 77 68 69 63 68 20 | 69 73 20 64 69 73 70 61 |* which |is dispa|
|00001b90| 72 61 67 69 6e 67 20 74 | 6f 20 53 75 6e 2e 0a 20 |raging t|o Sun.. |
|00001ba0| 2a 0a 20 2a 20 54 68 69 | 73 20 73 6f 66 74 77 61 |*. * Thi|s softwa|
|00001bb0| 72 65 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 22 |re is pr|ovided "|
|00001bc0| 41 53 20 49 53 2c 22 20 | 77 69 74 68 6f 75 74 20 |AS IS," |without |
|00001bd0| 61 20 77 61 72 72 61 6e | 74 79 20 6f 66 20 61 6e |a warran|ty of an|
|00001be0| 79 20 6b 69 6e 64 2e 20 | 41 4c 4c 0a 20 2a 20 45 |y kind. |ALL. * E|
|00001bf0| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00001c00| 44 20 43 4f 4e 44 49 54 | 49 4f 4e 53 2c 20 52 45 |D CONDIT|IONS, RE|
|00001c10| 50 52 45 53 45 4e 54 41 | 54 49 4f 4e 53 20 41 4e |PRESENTA|TIONS AN|
|00001c20| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00001c30| 43 4c 55 44 49 4e 47 20 | 41 4e 59 0a 20 2a 20 49 |CLUDING |ANY. * I|
|00001c40| 4d 50 4c 49 45 44 20 57 | 41 52 52 41 4e 54 59 20 |MPLIED W|ARRANTY |
|00001c50| 4f 46 20 4d 45 52 43 48 | 41 4e 54 41 42 49 4c 49 |OF MERCH|ANTABILI|
|00001c60| 54 59 2c 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 |TY, FITN|ESS FOR |
|00001c70| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00001c80| 50 4f 53 45 20 4f 52 0a | 20 2a 20 4e 4f 4e 2d 49 |POSE OR.| * NON-I|
|00001c90| 4e 46 52 49 4e 47 45 4d | 45 4e 54 2c 20 41 52 45 |NFRINGEM|ENT, ARE|
|00001ca0| 20 48 45 52 45 42 59 20 | 45 58 43 4c 55 44 45 44 | HEREBY |EXCLUDED|
|00001cb0| 2e 20 53 55 4e 20 41 4e | 44 20 49 54 53 20 4c 49 |. SUN AN|D ITS LI|
|00001cc0| 43 45 4e 53 4f 52 53 20 | 53 48 41 4c 4c 20 4e 4f |CENSORS |SHALL NO|
|00001cd0| 54 20 42 45 0a 20 2a 20 | 4c 49 41 42 4c 45 20 46 |T BE. * |LIABLE F|
|00001ce0| 4f 52 20 41 4e 59 20 44 | 41 4d 41 47 45 53 20 53 |OR ANY D|AMAGES S|
|00001cf0| 55 46 46 45 52 45 44 20 | 42 59 20 4c 49 43 45 4e |UFFERED |BY LICEN|
|00001d00| 53 45 45 20 41 53 20 41 | 20 52 45 53 55 4c 54 20 |SEE AS A| RESULT |
|00001d10| 4f 46 20 55 53 49 4e 47 | 2c 20 4d 4f 44 49 46 59 |OF USING|, MODIFY|
|00001d20| 49 4e 47 0a 20 2a 20 4f | 52 20 44 49 53 54 52 49 |ING. * O|R DISTRI|
|00001d30| 42 55 54 49 4e 47 20 54 | 48 45 20 53 4f 46 54 57 |BUTING T|HE SOFTW|
|00001d40| 41 52 45 20 4f 52 20 49 | 54 53 20 44 45 52 49 56 |ARE OR I|TS DERIV|
|00001d50| 41 54 49 56 45 53 2e 20 | 49 4e 20 4e 4f 20 45 56 |ATIVES. |IN NO EV|
|00001d60| 45 4e 54 20 57 49 4c 4c | 20 53 55 4e 20 4f 52 20 |ENT WILL| SUN OR |
|00001d70| 49 54 53 0a 20 2a 20 4c | 49 43 45 4e 53 4f 52 53 |ITS. * L|ICENSORS|
|00001d80| 20 42 45 20 4c 49 41 42 | 4c 45 20 46 4f 52 20 41 | BE LIAB|LE FOR A|
|00001d90| 4e 59 20 4c 4f 53 54 20 | 52 45 56 45 4e 55 45 2c |NY LOST |REVENUE,|
|00001da0| 20 50 52 4f 46 49 54 20 | 4f 52 20 44 41 54 41 2c | PROFIT |OR DATA,|
|00001db0| 20 4f 52 20 46 4f 52 20 | 44 49 52 45 43 54 2c 0a | OR FOR |DIRECT,.|
|00001dc0| 20 2a 20 49 4e 44 49 52 | 45 43 54 2c 20 53 50 45 | * INDIR|ECT, SPE|
|00001dd0| 43 49 41 4c 2c 20 43 4f | 4e 53 45 51 55 45 4e 54 |CIAL, CO|NSEQUENT|
|00001de0| 49 41 4c 2c 20 49 4e 43 | 49 44 45 4e 54 41 4c 20 |IAL, INC|IDENTAL |
|00001df0| 4f 52 20 50 55 4e 49 54 | 49 56 45 20 44 41 4d 41 |OR PUNIT|IVE DAMA|
|00001e00| 47 45 53 2c 20 48 4f 57 | 45 56 45 52 0a 20 2a 20 |GES, HOW|EVER. * |
|00001e10| 43 41 55 53 45 44 20 41 | 4e 44 20 52 45 47 41 52 |CAUSED A|ND REGAR|
|00001e20| 44 4c 45 53 53 20 4f 46 | 20 54 48 45 20 54 48 45 |DLESS OF| THE THE|
|00001e30| 4f 52 59 20 4f 46 20 4c | 49 41 42 49 4c 49 54 59 |ORY OF L|IABILITY|
|00001e40| 2c 20 41 52 49 53 49 4e | 47 20 4f 55 54 20 4f 46 |, ARISIN|G OUT OF|
|00001e50| 20 54 48 45 20 55 53 45 | 20 4f 46 0a 20 2a 20 4f | THE USE| OF. * O|
|00001e60| 52 20 49 4e 41 42 49 4c | 49 54 59 20 54 4f 20 55 |R INABIL|ITY TO U|
|00001e70| 53 45 20 53 4f 46 54 57 | 41 52 45 2c 20 45 56 45 |SE SOFTW|ARE, EVE|
|00001e80| 4e 20 49 46 20 53 55 4e | 20 48 41 53 20 42 45 45 |N IF SUN| HAS BEE|
|00001e90| 4e 20 41 44 56 49 53 45 | 44 20 4f 46 20 54 48 45 |N ADVISE|D OF THE|
|00001ea0| 0a 20 2a 20 50 4f 53 53 | 49 42 49 4c 49 54 59 20 |. * POSS|IBILITY |
|00001eb0| 4f 46 20 53 55 43 48 20 | 44 41 4d 41 47 45 53 2e |OF SUCH |DAMAGES.|
|00001ec0| 0a 20 2a 0a 20 2a 20 54 | 68 69 73 20 73 6f 66 74 |. *. * T|his soft|
|00001ed0| 77 61 72 65 20 69 73 20 | 6e 6f 74 20 64 65 73 69 |ware is |not desi|
|00001ee0| 67 6e 65 64 20 6f 72 20 | 69 6e 74 65 6e 64 65 64 |gned or |intended|
|00001ef0| 20 66 6f 72 20 75 73 65 | 20 69 6e 20 6f 6e 2d 6c | for use| in on-l|
|00001f00| 69 6e 65 20 63 6f 6e 74 | 72 6f 6c 20 6f 66 0a 20 |ine cont|rol of. |
|00001f10| 2a 20 61 69 72 63 72 61 | 66 74 2c 20 61 69 72 20 |* aircra|ft, air |
|00001f20| 74 72 61 66 66 69 63 2c | 20 61 69 72 63 72 61 66 |traffic,| aircraf|
|00001f30| 74 20 6e 61 76 69 67 61 | 74 69 6f 6e 20 6f 72 20 |t naviga|tion or |
|00001f40| 61 69 72 63 72 61 66 74 | 20 63 6f 6d 6d 75 6e 69 |aircraft| communi|
|00001f50| 63 61 74 69 6f 6e 73 3b | 20 6f 72 20 69 6e 0a 20 |cations;| or in. |
|00001f60| 2a 20 74 68 65 20 64 65 | 73 69 67 6e 2c 20 63 6f |* the de|sign, co|
|00001f70| 6e 73 74 72 75 63 74 69 | 6f 6e 2c 20 6f 70 65 72 |nstructi|on, oper|
|00001f80| 61 74 69 6f 6e 20 6f 72 | 20 6d 61 69 6e 74 65 6e |ation or| mainten|
|00001f90| 61 6e 63 65 20 6f 66 20 | 61 6e 79 20 6e 75 63 6c |ance of |any nucl|
|00001fa0| 65 61 72 0a 20 2a 20 66 | 61 63 69 6c 69 74 79 2e |ear. * f|acility.|
|00001fb0| 20 4c 69 63 65 6e 73 65 | 65 20 72 65 70 72 65 73 | License|e repres|
|00001fc0| 65 6e 74 73 20 61 6e 64 | 20 77 61 72 72 61 6e 74 |ents and| warrant|
|00001fd0| 73 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 6e |s that i|t will n|
|00001fe0| 6f 74 20 75 73 65 20 6f | 72 0a 20 2a 20 72 65 64 |ot use o|r. * red|
|00001ff0| 69 73 74 72 69 62 75 74 | 65 20 74 68 65 20 53 6f |istribut|e the So|
|00002000| 66 74 77 61 72 65 20 66 | 6f 72 20 73 75 63 68 20 |ftware f|or such |
|00002010| 70 75 72 70 6f 73 65 73 | 2e 0a 20 2a 2f 0a 0a 70 |purposes|.. */..p|
|00002020| 61 63 6b 61 67 65 20 65 | 78 61 6d 70 6c 65 73 2e |ackage e|xamples.|
|00002030| 72 6d 69 73 6f 63 66 61 | 63 3b 0a 0a 69 6d 70 6f |rmisocfa|c;..impo|
|00002040| 72 74 20 6a 61 76 61 2e | 69 6f 2e 2a 3b 0a 69 6d |rt java.|io.*;.im|
|00002050| 70 6f 72 74 20 6a 61 76 | 61 2e 6e 65 74 2e 2a 3b |port jav|a.net.*;|
|00002060| 0a 0a 63 6c 61 73 73 20 | 43 6f 6d 70 72 65 73 73 |..class |Compress|
|00002070| 69 6f 6e 49 6e 70 75 74 | 53 74 72 65 61 6d 20 65 |ionInput|Stream e|
|00002080| 78 74 65 6e 64 73 20 46 | 69 6c 74 65 72 49 6e 70 |xtends F|ilterInp|
|00002090| 75 74 53 74 72 65 61 6d | 0a 20 20 20 20 69 6d 70 |utStream|. imp|
|000020a0| 6c 65 6d 65 6e 74 73 20 | 43 6f 6d 70 72 65 73 73 |lements |Compress|
|000020b0| 69 6f 6e 43 6f 6e 73 74 | 61 6e 74 73 0a 7b 0a 20 |ionConst|ants.{. |
|000020c0| 20 20 20 2f 2a 0a 20 20 | 20 20 20 2a 20 43 6f 6e | /*. | * Con|
|000020d0| 73 74 72 75 63 74 6f 72 | 20 63 61 6c 6c 73 20 63 |structor| calls c|
|000020e0| 6f 6e 73 74 72 75 63 74 | 6f 72 20 6f 66 20 73 75 |onstruct|or of su|
|000020f0| 70 65 72 63 6c 61 73 73 | 0a 20 20 20 20 20 2a 2f |perclass|. */|
|00002100| 0a 20 20 20 20 70 75 62 | 6c 69 63 20 43 6f 6d 70 |. pub|lic Comp|
|00002110| 72 65 73 73 69 6f 6e 49 | 6e 70 75 74 53 74 72 65 |ressionI|nputStre|
|00002120| 61 6d 28 49 6e 70 75 74 | 53 74 72 65 61 6d 20 69 |am(Input|Stream i|
|00002130| 6e 29 20 7b 0a 20 20 20 | 20 20 20 20 20 73 75 70 |n) {. | sup|
|00002140| 65 72 28 69 6e 29 3b 0a | 20 20 20 20 7d 0a 20 0a |er(in);.| }. .|
|00002150| 20 20 20 20 2f 2a 20 0a | 20 20 20 20 20 2a 20 42 | /* .| * B|
|00002160| 75 66 66 65 72 20 6f 66 | 20 75 6e 70 61 63 6b 65 |uffer of| unpacke|
|00002170| 64 20 36 2d 62 69 74 20 | 63 6f 64 65 73 20 0a 20 |d 6-bit |codes . |
|00002180| 20 20 20 20 2a 20 66 72 | 6f 6d 20 6c 61 73 74 20 | * fr|om last |
|00002190| 33 32 20 62 69 74 73 20 | 72 65 61 64 2e 0a 20 20 |32 bits |read.. |
|000021a0| 20 20 20 2a 2f 0a 20 20 | 20 20 69 6e 74 20 62 75 | */. | int bu|
|000021b0| 66 5b 5d 20 3d 20 6e 65 | 77 20 69 6e 74 5b 35 5d |f[] = ne|w int[5]|
|000021c0| 3b 0a 20 0a 20 20 20 20 | 2f 2a 0a 20 20 20 20 20 |;. . |/*. |
|000021d0| 2a 20 50 6f 73 69 74 69 | 6f 6e 20 6f 66 20 6e 65 |* Positi|on of ne|
|000021e0| 78 74 20 63 6f 64 65 20 | 74 6f 20 72 65 61 64 20 |xt code |to read |
|000021f0| 69 6e 20 62 75 66 66 65 | 72 20 28 35 20 73 69 67 |in buffe|r (5 sig|
|00002200| 6e 69 66 69 65 73 20 65 | 6e 64 29 2e 20 0a 20 20 |nifies e|nd). . |
|00002210| 20 20 20 2a 2f 20 0a 20 | 20 20 20 69 6e 74 20 62 | */ . | int b|
|00002220| 75 66 50 6f 73 20 3d 20 | 35 3b 0a 20 0a 20 20 20 |ufPos = |5;. . |
|00002230| 20 2f 2a 0a 20 20 20 20 | 20 2a 20 52 65 61 64 73 | /*. | * Reads|
|00002240| 20 69 6e 20 66 6f 72 6d | 61 74 20 63 6f 64 65 20 | in form|at code |
|00002250| 61 6e 64 20 64 65 63 6f | 6d 70 72 65 73 73 65 73 |and deco|mpresses|
|00002260| 20 63 68 61 72 61 63 74 | 65 72 20 61 63 63 6f 72 | charact|er accor|
|00002270| 64 69 6e 67 6c 79 2e 0a | 20 20 20 20 20 2a 2f 0a |dingly..| */.|
|00002280| 0a 20 20 20 20 70 75 62 | 6c 69 63 20 69 6e 74 20 |. pub|lic int |
|00002290| 72 65 61 64 28 29 20 74 | 68 72 6f 77 73 20 49 4f |read() t|hrows IO|
|000022a0| 45 78 63 65 70 74 69 6f | 6e 20 7b 0a 20 20 20 20 |Exceptio|n {. |
|000022b0| 20 20 20 20 74 72 79 20 | 7b 0a 20 20 20 20 20 20 | try |{. |
|000022c0| 20 20 20 20 20 20 69 6e | 74 20 63 6f 64 65 3b 0a | in|t code;.|
|000022d0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 20 |. | // |
|000022e0| 52 65 61 64 20 69 6e 20 | 61 6e 64 20 69 67 6e 6f |Read in |and igno|
|000022f0| 72 65 20 65 6d 70 74 79 | 20 62 79 74 65 73 20 28 |re empty| bytes (|
|00002300| 4e 4f 50 27 73 29 20 61 | 73 20 6c 6f 6e 67 20 61 |NOP's) a|s long a|
|00002310| 73 20 74 68 65 79 0a 20 | 20 20 20 20 20 20 20 20 |s they. | |
|00002320| 20 20 20 2f 2f 20 61 72 | 72 69 76 65 2e 20 0a 20 | // ar|rive. . |
|00002330| 20 20 20 20 20 20 20 20 | 20 20 20 64 6f 20 7b 0a | | do {.|
|00002340| 09 20 20 20 20 20 20 63 | 6f 64 65 20 3d 20 72 65 |. c|ode = re|
|00002350| 61 64 43 6f 64 65 28 29 | 3b 0a 09 20 20 20 20 7d |adCode()|;.. }|
|00002360| 20 77 68 69 6c 65 20 28 | 63 6f 64 65 20 3d 3d 20 | while (|code == |
|00002370| 4e 4f 50 29 3b 20 20 20 | 20 20 20 0a 20 0a 20 20 |NOP); | . . |
|00002380| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 63 6f | | if (co|
|00002390| 64 65 20 3e 3d 20 42 41 | 53 45 29 20 7b 0a 20 20 |de >= BA|SE) {. |
|000023a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2f | | //|
|000023b0| 20 52 65 74 72 69 65 76 | 65 20 69 6e 64 65 78 20 | Retriev|e index |
|000023c0| 6f 66 20 63 68 61 72 61 | 63 74 65 72 20 69 6e 20 |of chara|cter in |
|000023d0| 63 6f 64 65 54 61 62 6c | 65 20 69 66 20 74 68 65 |codeTabl|e if the|
|000023e0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000023f0| 20 2f 2f 20 63 6f 64 65 | 20 69 73 20 69 6e 20 74 | // code| is in t|
|00002400| 68 65 20 63 6f 72 72 65 | 63 74 20 72 61 6e 67 65 |he corre|ct range|
|00002410| 2e 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00002420| 20 20 72 65 74 75 72 6e | 20 63 6f 64 65 54 61 62 | return| codeTab|
|00002430| 6c 65 2e 63 68 61 72 41 | 74 28 63 6f 64 65 20 2d |le.charA|t(code -|
|00002440| 20 42 41 53 45 29 3b 0a | 20 20 20 20 20 20 20 20 | BASE);.| |
|00002450| 20 20 20 20 7d 20 65 6c | 73 65 20 69 66 20 28 63 | } el|se if (c|
|00002460| 6f 64 65 20 3d 3d 20 52 | 41 57 29 20 7b 0a 20 20 |ode == R|AW) {. |
|00002470| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2f | | //|
|00002480| 20 72 65 61 64 20 69 6e | 20 74 68 65 20 6c 6f 77 | read in| the low|
|00002490| 65 72 20 34 20 62 69 74 | 73 20 61 6e 64 20 74 68 |er 4 bit|s and th|
|000024a0| 65 20 68 69 67 68 65 72 | 20 34 20 62 69 74 73 2c |e higher| 4 bits,|
|000024b0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000024c0| 20 2f 2f 20 61 6e 64 20 | 72 65 74 75 72 6e 20 74 | // and |return t|
|000024d0| 68 65 20 72 65 63 6f 6e | 73 74 72 75 63 74 65 64 |he recon|structed|
|000024e0| 20 63 68 61 72 61 63 74 | 65 72 0a 20 20 20 20 20 | charact|er. |
|000024f0| 20 20 20 20 20 20 20 20 | 20 20 20 69 6e 74 20 68 | | int h|
|00002500| 69 67 68 20 3d 20 72 65 | 61 64 43 6f 64 65 28 29 |igh = re|adCode()|
|00002510| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00002520| 20 20 69 6e 74 20 6c 6f | 77 20 3d 20 72 65 61 64 | int lo|w = read|
|00002530| 43 6f 64 65 28 29 3b 0a | 20 20 20 20 20 20 20 20 |Code();.| |
|00002540| 20 20 20 20 20 20 20 20 | 72 65 74 75 72 6e 20 28 | |return (|
|00002550| 68 69 67 68 20 3c 3c 20 | 34 29 20 7c 20 6c 6f 77 |high << |4) | low|
|00002560| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 7d 20 |;. | } |
|00002570| 65 6c 73 65 20 0a 20 20 | 20 20 20 20 20 20 20 20 |else . | |
|00002580| 20 20 20 20 20 20 74 68 | 72 6f 77 20 6e 65 77 20 | th|row new |
|00002590| 49 4f 45 78 63 65 70 74 | 69 6f 6e 28 22 75 6e 6b |IOExcept|ion("unk|
|000025a0| 6e 6f 77 6e 20 63 6f 6d | 70 72 65 73 73 69 6f 6e |nown com|pression|
|000025b0| 20 63 6f 64 65 3a 20 22 | 20 2b 20 63 6f 64 65 29 | code: "| + code)|
|000025c0| 3b 0a 20 20 20 20 20 20 | 20 20 7d 20 63 61 74 63 |;. | } catc|
|000025d0| 68 20 28 45 4f 46 45 78 | 63 65 70 74 69 6f 6e 20 |h (EOFEx|ception |
|000025e0| 65 29 20 7b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |e) {. | |
|000025f0| 20 2f 2f 20 52 65 74 75 | 72 6e 20 74 68 65 20 65 | // Retu|rn the e|
|00002600| 6e 64 20 6f 66 20 66 69 | 6c 65 20 63 6f 64 65 0a |nd of fi|le code.|
|00002610| 20 20 20 20 20 20 20 20 | 20 20 20 20 72 65 74 75 | | retu|
|00002620| 72 6e 20 2d 31 3b 0a 20 | 20 20 20 20 20 20 20 7d |rn -1;. | }|
|00002630| 0a 20 20 20 20 7d 0a 20 | 0a 20 20 20 20 2f 2a 20 |. }. |. /* |
|00002640| 0a 20 20 20 20 20 2a 20 | 54 68 69 73 20 6d 65 74 |. * |This met|
|00002650| 68 6f 64 20 72 65 61 64 | 73 20 75 70 20 74 6f 20 |hod read|s up to |
|00002660| 6c 65 6e 20 62 79 74 65 | 73 20 66 72 6f 6d 20 74 |len byte|s from t|
|00002670| 68 65 20 69 6e 70 75 74 | 20 73 74 72 65 61 6d 2e |he input| stream.|
|00002680| 20 0a 20 20 20 20 20 2a | 20 52 65 74 75 72 6e 73 | . *| Returns|
|00002690| 20 69 66 20 72 65 61 64 | 20 62 6c 6f 63 6b 73 20 | if read| blocks |
|000026a0| 62 65 66 6f 72 65 20 6c | 65 6e 20 62 79 74 65 73 |before l|en bytes|
|000026b0| 20 61 72 65 20 72 65 61 | 64 2e 0a 20 20 20 20 20 | are rea|d.. |
|000026c0| 2a 2f 20 0a 20 20 20 20 | 70 75 62 6c 69 63 20 69 |*/ . |public i|
|000026d0| 6e 74 20 72 65 61 64 28 | 62 79 74 65 20 62 5b 5d |nt read(|byte b[]|
|000026e0| 2c 20 69 6e 74 20 6f 66 | 66 2c 20 69 6e 74 20 6c |, int of|f, int l|
|000026f0| 65 6e 29 20 74 68 72 6f | 77 73 20 49 4f 45 78 63 |en) thro|ws IOExc|
|00002700| 65 70 74 69 6f 6e 20 7b | 0a 0a 09 69 66 20 28 6c |eption {|...if (l|
|00002710| 65 6e 20 3c 3d 20 30 29 | 20 7b 0a 09 20 20 20 20 |en <= 0)| {.. |
|00002720| 72 65 74 75 72 6e 20 30 | 3b 0a 09 7d 0a 0a 09 69 |return 0|;..}...i|
|00002730| 6e 74 20 63 20 3d 20 72 | 65 61 64 28 29 3b 0a 09 |nt c = r|ead();..|
|00002740| 69 66 20 28 63 20 3d 3d | 20 2d 31 29 20 7b 0a 09 |if (c ==| -1) {..|
|00002750| 20 20 20 20 72 65 74 75 | 72 6e 20 2d 31 3b 0a 09 | retu|rn -1;..|
|00002760| 7d 0a 09 62 5b 6f 66 66 | 5d 20 3d 20 28 62 79 74 |}..b[off|] = (byt|
|00002770| 65 29 63 3b 0a 0a 09 69 | 6e 74 20 69 20 3d 20 31 |e)c;...i|nt i = 1|
|00002780| 3b 0a 20 20 20 20 20 20 | 20 20 2f 2f 20 54 72 79 |;. | // Try|
|00002790| 20 74 6f 20 72 65 61 64 | 20 75 70 20 74 6f 20 6c | to read| up to l|
|000027a0| 65 6e 20 62 79 74 65 73 | 20 6f 72 20 75 6e 74 69 |en bytes| or unti|
|000027b0| 6c 20 6e 6f 0a 20 20 20 | 20 20 20 20 20 2f 2f 20 |l no. | // |
|000027c0| 6d 6f 72 65 20 62 79 74 | 65 73 20 63 61 6e 20 62 |more byt|es can b|
|000027d0| 65 20 72 65 61 64 20 77 | 69 74 68 6f 75 74 20 62 |e read w|ithout b|
|000027e0| 6c 6f 63 6b 69 6e 67 2e | 0a 20 20 20 20 20 20 20 |locking.|. |
|000027f0| 09 74 72 79 20 7b 0a 09 | 09 66 6f 72 20 28 3b 20 |.try {..|.for (; |
|00002800| 28 69 20 3c 20 6c 65 6e | 29 20 26 26 20 28 69 6e |(i < len|) && (in|
|00002810| 2e 61 76 61 69 6c 61 62 | 6c 65 28 29 20 3e 20 30 |.availab|le() > 0|
|00002820| 29 3b 20 69 2b 2b 29 20 | 7b 0a 09 09 63 20 3d 20 |); i++) |{...c = |
|00002830| 72 65 61 64 28 29 3b 0a | 09 09 69 66 20 28 63 20 |read();.|..if (c |
|00002840| 3d 3d 20 2d 31 29 20 7b | 0a 09 09 20 20 20 20 62 |== -1) {|... b|
|00002850| 72 65 61 6b 3b 0a 09 09 | 7d 0a 09 09 69 66 20 28 |reak;...|}...if (|
|00002860| 62 20 21 3d 20 6e 75 6c | 6c 29 20 7b 0a 09 09 20 |b != nul|l) {... |
|00002870| 20 20 20 62 5b 6f 66 66 | 20 2b 20 69 5d 20 3d 20 | b[off| + i] = |
|00002880| 28 62 79 74 65 29 63 3b | 0a 09 09 7d 0a 09 20 20 |(byte)c;|...}.. |
|00002890| 20 20 7d 0a 09 7d 20 63 | 61 74 63 68 20 28 49 4f | }..} c|atch (IO|
|000028a0| 45 78 63 65 70 74 69 6f | 6e 20 65 65 29 20 7b 0a |Exceptio|n ee) {.|
|000028b0| 09 7d 0a 09 72 65 74 75 | 72 6e 20 69 3b 0a 20 20 |.}..retu|rn i;. |
|000028c0| 20 20 7d 0a 0a 20 20 20 | 20 2f 2a 0a 20 20 20 20 | }.. | /*. |
|000028d0| 20 2a 20 49 66 20 74 68 | 65 72 65 20 69 73 20 6e | * If th|ere is n|
|000028e0| 6f 20 6d 6f 72 65 20 64 | 61 74 61 20 74 6f 20 64 |o more d|ata to d|
|000028f0| 65 63 6f 64 65 20 6c 65 | 66 74 20 69 6e 20 62 75 |ecode le|ft in bu|
|00002900| 66 2c 20 72 65 61 64 20 | 74 68 65 0a 20 20 20 20 |f, read |the. |
|00002910| 20 2a 20 6e 65 78 74 20 | 66 6f 75 72 20 62 79 74 | * next |four byt|
|00002920| 65 73 20 66 72 6f 6d 20 | 74 68 65 20 77 69 72 65 |es from |the wire|
|00002930| 2e 20 54 68 65 6e 20 73 | 74 6f 72 65 20 65 61 63 |. Then s|tore eac|
|00002940| 68 20 67 72 6f 75 70 20 | 6f 66 20 36 0a 20 20 20 |h group |of 6. |
|00002950| 20 20 2a 20 62 69 74 73 | 20 69 6e 20 61 6e 20 65 | * bits| in an e|
|00002960| 6c 65 6d 65 6e 74 20 6f | 66 20 62 75 66 2e 20 20 |lement o|f buf. |
|00002970| 52 65 74 75 72 6e 20 6f | 6e 65 20 65 6c 65 6d 65 |Return o|ne eleme|
|00002980| 6e 74 20 6f 66 20 62 75 | 66 2e 0a 20 20 20 20 20 |nt of bu|f.. |
|00002990| 2a 2f 0a 20 20 20 20 70 | 72 69 76 61 74 65 20 69 |*/. p|rivate i|
|000029a0| 6e 74 20 72 65 61 64 43 | 6f 64 65 28 29 20 74 68 |nt readC|ode() th|
|000029b0| 72 6f 77 73 20 49 4f 45 | 78 63 65 70 74 69 6f 6e |rows IOE|xception|
|000029c0| 20 7b 0a 20 20 20 20 20 | 20 20 20 2f 2f 20 41 73 | {. | // As|
|000029d0| 20 73 6f 6f 6e 20 61 73 | 20 61 6c 6c 20 74 68 65 | soon as| all the|
|000029e0| 20 64 61 74 61 20 69 6e | 20 62 75 66 20 68 61 73 | data in| buf has|
|000029f0| 20 62 65 65 6e 20 72 65 | 61 64 0a 20 20 20 20 20 | been re|ad. |
|00002a00| 20 20 20 2f 2f 20 28 77 | 68 65 6e 20 62 75 66 50 | // (w|hen bufP|
|00002a10| 6f 73 20 3d 3d 20 35 29 | 20 72 65 61 64 20 69 6e |os == 5)| read in|
|00002a20| 20 61 6e 6f 74 68 65 72 | 20 66 6f 75 72 20 62 79 | another| four by|
|00002a30| 74 65 73 2e 0a 20 20 20 | 20 20 20 20 20 69 66 20 |tes.. | if |
|00002a40| 28 62 75 66 50 6f 73 20 | 3d 3d 20 35 29 20 7b 0a |(bufPos |== 5) {.|
|00002a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 6e 74 20 | | int |
|00002a60| 62 31 20 3d 20 69 6e 2e | 72 65 61 64 28 29 3b 0a |b1 = in.|read();.|
|00002a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 6e 74 20 | | int |
|00002a80| 62 32 20 3d 20 69 6e 2e | 72 65 61 64 28 29 3b 0a |b2 = in.|read();.|
|00002a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 6e 74 20 | | int |
|00002aa0| 62 33 20 3d 20 69 6e 2e | 72 65 61 64 28 29 3b 0a |b3 = in.|read();.|
|00002ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 6e 74 20 | | int |
|00002ac0| 62 34 20 3d 20 69 6e 2e | 72 65 61 64 28 29 3b 0a |b4 = in.|read();.|
|00002ad0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 20 |. | // |
|00002ae0| 6d 61 6b 65 20 73 75 72 | 65 20 6e 6f 6e 65 20 6f |make sur|e none o|
|00002af0| 66 20 74 68 65 20 62 79 | 74 65 73 20 73 69 67 6e |f the by|tes sign|
|00002b00| 69 66 79 20 74 68 65 0a | 20 20 20 20 20 20 20 20 |ify the.| |
|00002b10| 20 20 20 20 2f 2f 20 65 | 6e 64 20 6f 66 20 74 68 | // e|nd of th|
|00002b20| 65 20 64 61 74 61 20 69 | 6e 20 74 68 65 20 73 74 |e data i|n the st|
|00002b30| 72 65 61 6d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ream. | |
|00002b40| 20 69 66 20 28 28 62 31 | 20 7c 20 62 32 20 7c 20 | if ((b1| | b2 | |
|00002b50| 62 33 20 7c 20 62 34 29 | 20 3c 20 30 29 20 7b 0a |b3 | b4)| < 0) {.|
|00002b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b70| 74 68 72 6f 77 20 6e 65 | 77 20 45 4f 46 45 78 63 |throw ne|w EOFExc|
|00002b80| 65 70 74 69 6f 6e 28 29 | 3b 0a 20 20 20 20 20 20 |eption()|;. |
|00002b90| 20 20 20 20 20 20 7d 0a | 20 20 20 20 20 20 20 20 | }.| |
|00002ba0| 20 20 20 20 2f 2f 20 41 | 73 73 69 67 6e 20 65 61 | // A|ssign ea|
|00002bb0| 63 68 20 67 72 6f 75 70 | 20 6f 66 20 36 20 62 69 |ch group| of 6 bi|
|00002bc0| 74 73 20 74 6f 20 61 6e | 20 65 6c 65 6d 65 6e 74 |ts to an| element|
|00002bd0| 20 6f 66 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | of. | |
|00002be0| 2f 2f 20 62 75 66 0a 20 | 20 20 20 20 20 20 20 20 |// buf. | |
|00002bf0| 20 20 20 69 6e 74 20 70 | 61 63 6b 20 3d 20 28 62 | int p|ack = (b|
|00002c00| 31 20 3c 3c 20 32 34 29 | 20 7c 20 28 62 32 20 3c |1 << 24)| | (b2 <|
|00002c10| 3c 20 31 36 29 20 7c 20 | 28 62 33 20 3c 3c 20 38 |< 16) | |(b3 << 8|
|00002c20| 29 20 7c 20 62 34 3b 0a | 20 20 20 20 20 20 20 20 |) | b4;.| |
|00002c30| 20 20 20 20 62 75 66 5b | 30 5d 20 3d 20 28 70 61 | buf[|0] = (pa|
|00002c40| 63 6b 20 3e 3e 3e 20 32 | 34 29 20 26 20 30 78 33 |ck >>> 2|4) & 0x3|
|00002c50| 46 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 62 |F;. | b|
|00002c60| 75 66 5b 31 5d 20 3d 20 | 28 70 61 63 6b 20 3e 3e |uf[1] = |(pack >>|
|00002c70| 3e 20 31 38 29 20 26 20 | 30 78 33 46 3b 0a 20 20 |> 18) & |0x3F;. |
|00002c80| 20 20 20 20 20 20 20 20 | 20 20 62 75 66 5b 32 5d | | buf[2]|
|00002c90| 20 3d 20 28 70 61 63 6b | 20 3e 3e 3e 20 31 32 29 | = (pack| >>> 12)|
|00002ca0| 20 26 20 30 78 33 46 3b | 0a 20 20 20 20 20 20 20 | & 0x3F;|. |
|00002cb0| 20 20 20 20 20 62 75 66 | 5b 33 5d 20 3d 20 28 70 | buf|[3] = (p|
|00002cc0| 61 63 6b 20 3e 3e 3e 20 | 20 36 29 20 26 20 30 78 |ack >>> | 6) & 0x|
|00002cd0| 33 46 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |3F;. | |
|00002ce0| 62 75 66 5b 34 5d 20 3d | 20 28 70 61 63 6b 20 3e |buf[4] =| (pack >|
|00002cf0| 3e 3e 20 20 30 29 20 26 | 20 30 78 33 46 3b 0a 20 |>> 0) &| 0x3F;. |
|00002d00| 20 20 20 20 20 20 20 20 | 20 20 20 62 75 66 50 6f | | bufPo|
|00002d10| 73 20 3d 20 30 3b 0a 20 | 20 20 20 20 20 20 20 7d |s = 0;. | }|
|00002d20| 0a 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 |. | return |
|00002d30| 62 75 66 5b 62 75 66 50 | 6f 73 2b 2b 5d 3b 0a 20 |buf[bufP|os++];. |
|00002d40| 20 20 20 7d 0a 7d 0a 74 | 20 63 6f 6d 6d 75 6e 69 | }.}.t| communi|
|00002d50| 63 61 74 69 6f 6e 73 3b | 20 6f 72 20 69 6e 0a 20 |cations;| or in. |
|00002d60| 2a 20 74 68 65 20 64 65 | 73 69 67 6e 2c 20 63 6f |* the de|sign, co|
|00002d70| 6e 73 74 72 75 63 74 69 | 6f 6e 2c 20 6f 70 65 72 |nstructi|on, oper|
|00002d80| 61 74 69 6f 6e 20 6f 72 | 20 6d 61 69 6e 74 65 6e |ation or| mainten|
|00002d90| 61 6e 63 65 20 6f 66 20 | 61 6e 79 20 6e 75 63 6c |ance of |any nucl|
|00002da0| 65 61 72 0a 20 2a 20 66 | 61 63 69 6c 69 74 79 2e |ear. * f|acility.|
|00002db0| 20 4c 69 63 65 6e 73 65 | 65 20 72 65 70 72 65 73 | License|e repres|
|00002dc0| 65 6e 74 73 20 61 6e 64 | 20 77 61 72 72 61 6e 74 |ents and| warrant|
|00002dd0| 73 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 6e |s that i|t will n|
|00002de0| 6f 74 20 75 73 65 20 6f | 72 0a 20 2a 20 72 65 64 |ot use o|r. * red|
|00002df0| 69 73 74 72 69 62 75 74 | 65 20 74 68 65 20 53 6f |istribut|e the So|
|00002e00| 73 6f 63 6b 65 74 73 2f | 43 6f 6d 70 72 65 73 73 |sockets/|Compress|
|00002e10| 69 6f 6e 4f 75 74 70 75 | 74 53 74 72 65 61 6d 2e |ionOutpu|tStream.|
|00002e20| 6a 61 76 61 00 00 00 00 | 00 00 00 00 00 00 00 00 |java....|........|
|00002e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 30 31 30 30 | 36 34 34 00 30 30 37 34 |....0100|644.0074|
|00002e70| 35 32 34 00 30 30 31 32 | 36 36 36 00 30 30 30 30 |524.0012|666.0000|
|00002e80| 30 30 31 31 30 35 34 00 | 30 36 37 30 31 32 33 32 |0011054.|06701232|
|00002e90| 34 31 32 00 30 30 32 31 | 35 32 34 00 30 00 00 00 |412.0021|524.0...|
|00002ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f00| 00 75 73 74 61 72 00 30 | 30 6a 76 6f 6c 70 65 00 |.ustar.0|0jvolpe.|
|00002f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f20| 00 00 00 00 00 00 00 00 | 00 6a 69 6e 69 65 61 73 |........|.jinieas|
|00002f30| 74 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |t.......|........|
|00002f40| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 35 34 |........|.0000254|
|00002f50| 00 30 30 30 32 31 30 35 | 00 00 00 00 00 00 00 00 |.0002105|........|
|00002f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003000| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00003010| 28 63 29 20 31 39 39 38 | 2c 20 31 39 39 39 20 53 |(c) 1998|, 1999 S|
|00003020| 75 6e 20 4d 69 63 72 6f | 73 79 73 74 65 6d 73 2c |un Micro|systems,|
|00003030| 20 49 6e 63 2e 20 41 6c | 6c 20 52 69 67 68 74 73 | Inc. Al|l Rights|
|00003040| 20 52 65 73 65 72 76 65 | 64 2e 0a 20 2a 0a 20 2a | Reserve|d.. *. *|
|00003050| 20 53 75 6e 20 67 72 61 | 6e 74 73 20 79 6f 75 20 | Sun gra|nts you |
|00003060| 28 22 4c 69 63 65 6e 73 | 65 65 22 29 20 61 20 6e |("Licens|ee") a n|
|00003070| 6f 6e 2d 65 78 63 6c 75 | 73 69 76 65 2c 20 72 6f |on-exclu|sive, ro|
|00003080| 79 61 6c 74 79 20 66 72 | 65 65 2c 20 6c 69 63 65 |yalty fr|ee, lice|
|00003090| 6e 73 65 20 74 6f 20 75 | 73 65 2c 0a 20 2a 20 6d |nse to u|se,. * m|
|000030a0| 6f 64 69 66 79 20 61 6e | 64 20 72 65 64 69 73 74 |odify an|d redist|
|000030b0| 72 69 62 75 74 65 20 74 | 68 69 73 20 73 6f 66 74 |ribute t|his soft|
|000030c0| 77 61 72 65 20 69 6e 20 | 73 6f 75 72 63 65 20 61 |ware in |source a|
|000030d0| 6e 64 20 62 69 6e 61 72 | 79 20 63 6f 64 65 20 66 |nd binar|y code f|
|000030e0| 6f 72 6d 2c 0a 20 2a 20 | 70 72 6f 76 69 64 65 64 |orm,. * |provided|
|000030f0| 20 74 68 61 74 20 69 29 | 20 74 68 69 73 20 63 6f | that i)| this co|
|00003100| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00003110| 6e 64 20 6c 69 63 65 6e | 73 65 20 61 70 70 65 61 |nd licen|se appea|
|00003120| 72 20 6f 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r on all| copies |
|00003130| 6f 66 0a 20 2a 20 74 68 | 65 20 73 6f 66 74 77 61 |of. * th|e softwa|
|00003140| 72 65 3b 20 61 6e 64 20 | 69 69 29 20 4c 69 63 65 |re; and |ii) Lice|
|00003150| 6e 73 65 65 20 64 6f 65 | 73 20 6e 6f 74 20 75 74 |nsee doe|s not ut|
|00003160| 69 6c 69 7a 65 20 74 68 | 65 20 73 6f 66 74 77 61 |ilize th|e softwa|
|00003170| 72 65 20 69 6e 20 61 20 | 6d 61 6e 6e 65 72 0a 20 |re in a |manner. |
|00003180| 2a 20 77 68 69 63 68 20 | 69 73 20 64 69 73 70 61 |* which |is dispa|
|00003190| 72 61 67 69 6e 67 20 74 | 6f 20 53 75 6e 2e 0a 20 |raging t|o Sun.. |
|000031a0| 2a 0a 20 2a 20 54 68 69 | 73 20 73 6f 66 74 77 61 |*. * Thi|s softwa|
|000031b0| 72 65 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 22 |re is pr|ovided "|
|000031c0| 41 53 20 49 53 2c 22 20 | 77 69 74 68 6f 75 74 20 |AS IS," |without |
|000031d0| 61 20 77 61 72 72 61 6e | 74 79 20 6f 66 20 61 6e |a warran|ty of an|
|000031e0| 79 20 6b 69 6e 64 2e 20 | 41 4c 4c 0a 20 2a 20 45 |y kind. |ALL. * E|
|000031f0| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00003200| 44 20 43 4f 4e 44 49 54 | 49 4f 4e 53 2c 20 52 45 |D CONDIT|IONS, RE|
|00003210| 50 52 45 53 45 4e 54 41 | 54 49 4f 4e 53 20 41 4e |PRESENTA|TIONS AN|
|00003220| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00003230| 43 4c 55 44 49 4e 47 20 | 41 4e 59 0a 20 2a 20 49 |CLUDING |ANY. * I|
|00003240| 4d 50 4c 49 45 44 20 57 | 41 52 52 41 4e 54 59 20 |MPLIED W|ARRANTY |
|00003250| 4f 46 20 4d 45 52 43 48 | 41 4e 54 41 42 49 4c 49 |OF MERCH|ANTABILI|
|00003260| 54 59 2c 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 |TY, FITN|ESS FOR |
|00003270| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00003280| 50 4f 53 45 20 4f 52 0a | 20 2a 20 4e 4f 4e 2d 49 |POSE OR.| * NON-I|
|00003290| 4e 46 52 49 4e 47 45 4d | 45 4e 54 2c 20 41 52 45 |NFRINGEM|ENT, ARE|
|000032a0| 20 48 45 52 45 42 59 20 | 45 58 43 4c 55 44 45 44 | HEREBY |EXCLUDED|
|000032b0| 2e 20 53 55 4e 20 41 4e | 44 20 49 54 53 20 4c 49 |. SUN AN|D ITS LI|
|000032c0| 43 45 4e 53 4f 52 53 20 | 53 48 41 4c 4c 20 4e 4f |CENSORS |SHALL NO|
|000032d0| 54 20 42 45 0a 20 2a 20 | 4c 49 41 42 4c 45 20 46 |T BE. * |LIABLE F|
|000032e0| 4f 52 20 41 4e 59 20 44 | 41 4d 41 47 45 53 20 53 |OR ANY D|AMAGES S|
|000032f0| 55 46 46 45 52 45 44 20 | 42 59 20 4c 49 43 45 4e |UFFERED |BY LICEN|
|00003300| 53 45 45 20 41 53 20 41 | 20 52 45 53 55 4c 54 20 |SEE AS A| RESULT |
|00003310| 4f 46 20 55 53 49 4e 47 | 2c 20 4d 4f 44 49 46 59 |OF USING|, MODIFY|
|00003320| 49 4e 47 0a 20 2a 20 4f | 52 20 44 49 53 54 52 49 |ING. * O|R DISTRI|
|00003330| 42 55 54 49 4e 47 20 54 | 48 45 20 53 4f 46 54 57 |BUTING T|HE SOFTW|
|00003340| 41 52 45 20 4f 52 20 49 | 54 53 20 44 45 52 49 56 |ARE OR I|TS DERIV|
|00003350| 41 54 49 56 45 53 2e 20 | 49 4e 20 4e 4f 20 45 56 |ATIVES. |IN NO EV|
|00003360| 45 4e 54 20 57 49 4c 4c | 20 53 55 4e 20 4f 52 20 |ENT WILL| SUN OR |
|00003370| 49 54 53 0a 20 2a 20 4c | 49 43 45 4e 53 4f 52 53 |ITS. * L|ICENSORS|
|00003380| 20 42 45 20 4c 49 41 42 | 4c 45 20 46 4f 52 20 41 | BE LIAB|LE FOR A|
|00003390| 4e 59 20 4c 4f 53 54 20 | 52 45 56 45 4e 55 45 2c |NY LOST |REVENUE,|
|000033a0| 20 50 52 4f 46 49 54 20 | 4f 52 20 44 41 54 41 2c | PROFIT |OR DATA,|
|000033b0| 20 4f 52 20 46 4f 52 20 | 44 49 52 45 43 54 2c 0a | OR FOR |DIRECT,.|
|000033c0| 20 2a 20 49 4e 44 49 52 | 45 43 54 2c 20 53 50 45 | * INDIR|ECT, SPE|
|000033d0| 43 49 41 4c 2c 20 43 4f | 4e 53 45 51 55 45 4e 54 |CIAL, CO|NSEQUENT|
|000033e0| 49 41 4c 2c 20 49 4e 43 | 49 44 45 4e 54 41 4c 20 |IAL, INC|IDENTAL |
|000033f0| 4f 52 20 50 55 4e 49 54 | 49 56 45 20 44 41 4d 41 |OR PUNIT|IVE DAMA|
|00003400| 47 45 53 2c 20 48 4f 57 | 45 56 45 52 0a 20 2a 20 |GES, HOW|EVER. * |
|00003410| 43 41 55 53 45 44 20 41 | 4e 44 20 52 45 47 41 52 |CAUSED A|ND REGAR|
|00003420| 44 4c 45 53 53 20 4f 46 | 20 54 48 45 20 54 48 45 |DLESS OF| THE THE|
|00003430| 4f 52 59 20 4f 46 20 4c | 49 41 42 49 4c 49 54 59 |ORY OF L|IABILITY|
|00003440| 2c 20 41 52 49 53 49 4e | 47 20 4f 55 54 20 4f 46 |, ARISIN|G OUT OF|
|00003450| 20 54 48 45 20 55 53 45 | 20 4f 46 0a 20 2a 20 4f | THE USE| OF. * O|
|00003460| 52 20 49 4e 41 42 49 4c | 49 54 59 20 54 4f 20 55 |R INABIL|ITY TO U|
|00003470| 53 45 20 53 4f 46 54 57 | 41 52 45 2c 20 45 56 45 |SE SOFTW|ARE, EVE|
|00003480| 4e 20 49 46 20 53 55 4e | 20 48 41 53 20 42 45 45 |N IF SUN| HAS BEE|
|00003490| 4e 20 41 44 56 49 53 45 | 44 20 4f 46 20 54 48 45 |N ADVISE|D OF THE|
|000034a0| 0a 20 2a 20 50 4f 53 53 | 49 42 49 4c 49 54 59 20 |. * POSS|IBILITY |
|000034b0| 4f 46 20 53 55 43 48 20 | 44 41 4d 41 47 45 53 2e |OF SUCH |DAMAGES.|
|000034c0| 0a 20 2a 0a 20 2a 20 54 | 68 69 73 20 73 6f 66 74 |. *. * T|his soft|
|000034d0| 77 61 72 65 20 69 73 20 | 6e 6f 74 20 64 65 73 69 |ware is |not desi|
|000034e0| 67 6e 65 64 20 6f 72 20 | 69 6e 74 65 6e 64 65 64 |gned or |intended|
|000034f0| 20 66 6f 72 20 75 73 65 | 20 69 6e 20 6f 6e 2d 6c | for use| in on-l|
|00003500| 69 6e 65 20 63 6f 6e 74 | 72 6f 6c 20 6f 66 0a 20 |ine cont|rol of. |
|00003510| 2a 20 61 69 72 63 72 61 | 66 74 2c 20 61 69 72 20 |* aircra|ft, air |
|00003520| 74 72 61 66 66 69 63 2c | 20 61 69 72 63 72 61 66 |traffic,| aircraf|
|00003530| 74 20 6e 61 76 69 67 61 | 74 69 6f 6e 20 6f 72 20 |t naviga|tion or |
|00003540| 61 69 72 63 72 61 66 74 | 20 63 6f 6d 6d 75 6e 69 |aircraft| communi|
|00003550| 63 61 74 69 6f 6e 73 3b | 20 6f 72 20 69 6e 0a 20 |cations;| or in. |
|00003560| 2a 20 74 68 65 20 64 65 | 73 69 67 6e 2c 20 63 6f |* the de|sign, co|
|00003570| 6e 73 74 72 75 63 74 69 | 6f 6e 2c 20 6f 70 65 72 |nstructi|on, oper|
|00003580| 61 74 69 6f 6e 20 6f 72 | 20 6d 61 69 6e 74 65 6e |ation or| mainten|
|00003590| 61 6e 63 65 20 6f 66 20 | 61 6e 79 20 6e 75 63 6c |ance of |any nucl|
|000035a0| 65 61 72 0a 20 2a 20 66 | 61 63 69 6c 69 74 79 2e |ear. * f|acility.|
|000035b0| 20 4c 69 63 65 6e 73 65 | 65 20 72 65 70 72 65 73 | License|e repres|
|000035c0| 65 6e 74 73 20 61 6e 64 | 20 77 61 72 72 61 6e 74 |ents and| warrant|
|000035d0| 73 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 6e |s that i|t will n|
|000035e0| 6f 74 20 75 73 65 20 6f | 72 0a 20 2a 20 72 65 64 |ot use o|r. * red|
|000035f0| 69 73 74 72 69 62 75 74 | 65 20 74 68 65 20 53 6f |istribut|e the So|
|00003600| 66 74 77 61 72 65 20 66 | 6f 72 20 73 75 63 68 20 |ftware f|or such |
|00003610| 70 75 72 70 6f 73 65 73 | 2e 0a 20 2a 2f 0a 0a 70 |purposes|.. */..p|
|00003620| 61 63 6b 61 67 65 20 65 | 78 61 6d 70 6c 65 73 2e |ackage e|xamples.|
|00003630| 72 6d 69 73 6f 63 66 61 | 63 3b 0a 0a 69 6d 70 6f |rmisocfa|c;..impo|
|00003640| 72 74 20 6a 61 76 61 2e | 69 6f 2e 2a 3b 0a 20 0a |rt java.|io.*;. .|
|00003650| 63 6c 61 73 73 20 43 6f | 6d 70 72 65 73 73 69 6f |class Co|mpressio|
|00003660| 6e 4f 75 74 70 75 74 53 | 74 72 65 61 6d 20 65 78 |nOutputS|tream ex|
|00003670| 74 65 6e 64 73 20 46 69 | 6c 74 65 72 4f 75 74 70 |tends Fi|lterOutp|
|00003680| 75 74 53 74 72 65 61 6d | 0a 20 20 20 20 69 6d 70 |utStream|. imp|
|00003690| 6c 65 6d 65 6e 74 73 20 | 43 6f 6d 70 72 65 73 73 |lements |Compress|
|000036a0| 69 6f 6e 43 6f 6e 73 74 | 61 6e 74 73 0a 7b 0a 0a |ionConst|ants.{..|
|000036b0| 20 20 20 20 2f 2a 0a 20 | 20 20 20 20 2a 20 43 6f | /*. | * Co|
|000036c0| 6e 73 74 72 75 63 74 6f | 72 20 63 61 6c 6c 73 20 |nstructo|r calls |
|000036d0| 63 6f 6e 73 74 72 75 63 | 74 6f 72 20 6f 66 20 73 |construc|tor of s|
|000036e0| 75 70 65 72 63 6c 61 73 | 73 2e 0a 20 20 20 20 20 |uperclas|s.. |
|000036f0| 2a 2f 0a 20 20 20 20 70 | 75 62 6c 69 63 20 43 6f |*/. p|ublic Co|
|00003700| 6d 70 72 65 73 73 69 6f | 6e 4f 75 74 70 75 74 53 |mpressio|nOutputS|
|00003710| 74 72 65 61 6d 28 4f 75 | 74 70 75 74 53 74 72 65 |tream(Ou|tputStre|
|00003720| 61 6d 20 6f 75 74 29 20 | 7b 0a 20 20 20 20 20 20 |am out) |{. |
|00003730| 20 20 73 75 70 65 72 28 | 6f 75 74 29 3b 0a 20 20 | super(|out);. |
|00003740| 20 20 7d 0a 20 0a 20 20 | 20 20 2f 2a 20 0a 20 20 | }. . | /* . |
|00003750| 20 20 20 2a 20 42 75 66 | 66 65 72 20 6f 66 20 36 | * Buf|fer of 6|
|00003760| 2d 62 69 74 20 63 6f 64 | 65 73 20 74 6f 20 70 61 |-bit cod|es to pa|
|00003770| 63 6b 20 69 6e 74 6f 20 | 6e 65 78 74 20 33 32 2d |ck into |next 32-|
|00003780| 62 69 74 20 77 6f 72 64 | 0a 20 20 20 20 20 2a 20 |bit word|. * |
|00003790| 46 69 76 65 20 36 2d 62 | 69 74 20 63 6f 64 65 73 |Five 6-b|it codes|
|000037a0| 20 66 69 74 20 69 6e 74 | 6f 20 34 20 77 6f 72 64 | fit int|o 4 word|
|000037b0| 73 2e 20 0a 20 20 20 20 | 20 2a 2f 0a 20 20 20 20 |s. . | */. |
|000037c0| 69 6e 74 20 62 75 66 5b | 5d 20 3d 20 6e 65 77 20 |int buf[|] = new |
|000037d0| 69 6e 74 5b 35 5d 3b 0a | 20 0a 20 20 20 20 2f 2a |int[5];.| . /*|
|000037e0| 0a 20 20 20 20 20 2a 20 | 49 6e 64 65 78 20 6f 66 |. * |Index of|
|000037f0| 20 76 61 6c 69 64 20 63 | 6f 64 65 73 20 77 61 69 | valid c|odes wai|
|00003800| 74 69 6e 67 20 69 6e 20 | 62 75 66 2e 20 0a 20 20 |ting in |buf. . |
|00003810| 20 20 20 2a 2f 0a 20 20 | 20 20 69 6e 74 20 62 75 | */. | int bu|
|00003820| 66 50 6f 73 20 3d 20 30 | 3b 0a 20 0a 0a 20 20 20 |fPos = 0|;. .. |
|00003830| 20 2f 2a 20 20 0a 20 20 | 20 20 20 2a 20 54 68 69 | /* . | * Thi|
|00003840| 73 20 6d 65 74 68 6f 64 | 20 77 72 69 74 65 73 20 |s method| writes |
|00003850| 6f 6e 65 20 62 79 74 65 | 20 74 6f 20 74 68 65 20 |one byte| to the |
|00003860| 73 6f 63 6b 65 74 20 73 | 74 72 65 61 6d 2e 20 0a |socket s|tream. .|
|00003870| 20 20 20 20 20 2a 2f 20 | 0a 20 20 20 20 70 75 62 | */ |. pub|
|00003880| 6c 69 63 20 76 6f 69 64 | 20 77 72 69 74 65 28 69 |lic void| write(i|
|00003890| 6e 74 20 62 29 20 74 68 | 72 6f 77 73 20 49 4f 45 |nt b) th|rows IOE|
|000038a0| 78 63 65 70 74 69 6f 6e | 20 7b 0a 20 20 20 20 20 |xception| {. |
|000038b0| 20 20 20 2f 2f 20 66 6f | 72 63 65 20 61 72 67 75 | // fo|rce argu|
|000038c0| 6d 65 6e 74 20 74 6f 20 | 6f 6e 65 20 62 79 74 65 |ment to |one byte|
|000038d0| 0a 20 20 20 20 20 20 20 | 20 62 20 26 3d 20 30 78 |. | b &= 0x|
|000038e0| 46 46 3b 20 20 0a 0a 20 | 20 20 20 20 20 20 20 2f |FF; .. | /|
|000038f0| 2f 20 4c 6f 6f 6b 20 75 | 70 20 70 6f 73 20 69 6e |/ Look u|p pos in|
|00003900| 20 63 6f 64 65 54 61 62 | 6c 65 20 74 6f 20 67 65 | codeTab|le to ge|
|00003910| 74 20 69 74 73 20 65 6e | 63 6f 64 69 6e 67 2e 20 |t its en|coding. |
|00003920| 0a 20 20 20 20 20 20 20 | 20 69 6e 74 20 70 6f 73 |. | int pos|
|00003930| 20 3d 20 63 6f 64 65 54 | 61 62 6c 65 2e 69 6e 64 | = codeT|able.ind|
|00003940| 65 78 4f 66 28 28 63 68 | 61 72 29 62 29 3b 0a 0a |exOf((ch|ar)b);..|
|00003950| 20 20 20 20 20 20 20 20 | 69 66 20 28 70 6f 73 20 | |if (pos |
|00003960| 21 3d 20 2d 31 29 7b 0a | 20 20 20 20 20 20 20 20 |!= -1){.| |
|00003970| 20 20 20 20 2f 2f 20 49 | 66 20 70 6f 73 20 69 73 | // I|f pos is|
|00003980| 20 69 6e 20 74 68 65 20 | 63 6f 64 65 54 61 62 6c | in the |codeTabl|
|00003990| 65 2c 20 77 72 69 74 65 | 20 42 41 53 45 20 2b 20 |e, write| BASE + |
|000039a0| 70 6f 73 20 69 6e 74 6f | 20 62 75 66 2e 20 0a 20 |pos into| buf. . |
|000039b0| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2f 20 42 79 | | // By|
|000039c0| 20 61 64 64 69 6e 67 20 | 42 41 53 45 20 74 6f 20 | adding |BASE to |
|000039d0| 70 6f 73 2c 20 77 65 20 | 6b 6e 6f 77 20 74 68 61 |pos, we |know tha|
|000039e0| 74 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 73 |t the ch|aracters|
|000039f0| 20 69 6e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | in. | |
|00003a00| 2f 2f 20 74 68 65 20 63 | 6f 64 65 54 61 62 6c 65 |// the c|odeTable|
|00003a10| 20 77 69 6c 6c 20 61 6c | 77 61 79 73 20 68 61 76 | will al|ways hav|
|00003a20| 65 20 61 20 63 6f 64 65 | 20 62 65 74 77 65 65 6e |e a code| between|
|00003a30| 20 32 20 61 6e 64 20 36 | 33 0a 20 20 20 20 20 20 | 2 and 6|3. |
|00003a40| 20 20 20 20 20 20 2f 2f | 20 69 6e 63 6c 75 73 69 | //| inclusi|
|00003a50| 76 65 2e 20 54 68 69 73 | 20 61 6c 6c 6f 77 73 20 |ve. This| allows |
|00003a60| 75 73 20 74 6f 20 75 73 | 65 20 52 41 57 20 28 52 |us to us|e RAW (R|
|00003a70| 41 57 20 69 73 20 65 71 | 75 61 6c 20 74 6f 0a 20 |AW is eq|ual to. |
|00003a80| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2f 20 31 29 | | // 1)|
|00003a90| 20 74 6f 20 73 69 67 6e | 69 66 79 20 74 68 61 74 | to sign|ify that|
|00003aa0| 20 74 68 65 20 6e 65 78 | 74 20 74 77 6f 20 67 72 | the nex|t two gr|
|00003ab0| 6f 75 70 73 20 6f 66 20 | 36 2d 62 69 74 73 20 61 |oups of |6-bits a|
|00003ac0| 72 65 20 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |re . | |
|00003ad0| 2f 2f 20 6e 65 63 65 73 | 73 61 72 79 20 66 6f 72 |// neces|sary for|
|00003ae0| 20 64 65 63 6f 6d 70 72 | 65 73 73 69 6f 6e 20 6f | decompr|ession o|
|00003af0| 66 20 74 68 65 20 6e 65 | 78 74 20 63 68 61 72 61 |f the ne|xt chara|
|00003b00| 63 74 65 72 2e 0a 09 20 | 20 20 20 0a 20 20 20 20 |cter... | . |
|00003b10| 20 20 20 20 20 20 20 20 | 77 72 69 74 65 43 6f 64 | |writeCod|
|00003b20| 65 28 42 41 53 45 20 2b | 20 70 6f 73 29 3b 0a 20 |e(BASE +| pos);. |
|00003b30| 20 20 20 20 20 20 20 7d | 20 65 6c 73 65 20 7b 0a | }| else {.|
|00003b40| 20 20 20 20 20 20 20 20 | 20 20 20 20 2f 2f 20 4f | | // O|
|00003b50| 74 68 65 72 77 69 73 65 | 2c 20 77 72 69 74 65 20 |therwise|, write |
|00003b60| 52 41 57 20 69 6e 74 6f | 20 62 75 66 20 74 6f 20 |RAW into| buf to |
|00003b70| 73 69 67 6e 69 66 79 20 | 74 68 61 74 20 74 68 65 |signify |that the|
|00003b80| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 20 |. | // |
|00003b90| 43 68 61 72 61 63 74 65 | 72 20 69 73 20 62 65 69 |Characte|r is bei|
|00003ba0| 6e 67 20 73 65 6e 74 20 | 69 6e 20 31 32 20 62 69 |ng sent |in 12 bi|
|00003bb0| 74 73 2e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ts.. | |
|00003bc0| 77 72 69 74 65 43 6f 64 | 65 28 52 41 57 29 3b 0a |writeCod|e(RAW);.|
|00003bd0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 20 |. | // |
|00003be0| 57 72 69 74 65 20 74 68 | 65 20 6c 61 73 74 20 34 |Write th|e last 4|
|00003bf0| 20 62 69 74 73 20 6f 66 | 20 62 20 69 6e 74 6f 20 | bits of| b into |
|00003c00| 74 68 65 20 62 75 66 2e | 0a 20 20 20 20 20 20 20 |the buf.|. |
|00003c10| 20 20 20 20 20 77 72 69 | 74 65 43 6f 64 65 28 62 | wri|teCode(b|
|00003c20| 20 3e 3e 20 34 29 3b 0a | 0a 20 20 20 20 20 20 20 | >> 4);.|. |
|00003c30| 20 20 20 20 20 2f 2f 20 | 54 72 75 6e 63 61 74 65 | // |Truncate|
|00003c40| 20 62 20 74 6f 20 63 6f | 6e 74 61 69 6e 20 64 61 | b to co|ntain da|
|00003c50| 74 61 20 69 6e 20 6f 6e | 6c 79 20 74 68 65 20 66 |ta in on|ly the f|
|00003c60| 69 72 73 74 20 34 20 62 | 69 74 73 2c 20 0a 20 20 |irst 4 b|its, . |
|00003c70| 20 20 20 20 20 20 20 20 | 20 20 2f 2f 20 61 6e 64 | | // and|
|00003c80| 20 77 72 69 74 65 20 74 | 68 65 20 66 69 72 73 74 | write t|he first|
|00003c90| 20 34 20 62 69 74 73 20 | 6f 66 20 62 20 69 6e 74 | 4 bits |of b int|
|00003ca0| 6f 20 62 75 66 2e 0a 20 | 20 20 20 20 20 20 20 20 |o buf.. | |
|00003cb0| 20 20 20 77 72 69 74 65 | 43 6f 64 65 28 62 20 26 | write|Code(b &|
|00003cc0| 20 30 78 46 29 3b 0a 20 | 20 20 20 20 20 20 20 7d | 0xF);. | }|
|00003cd0| 0a 20 20 20 20 7d 0a 20 | 0a 20 20 20 20 2f 2a 20 |. }. |. /* |
|00003ce0| 0a 20 20 20 20 20 2a 20 | 54 68 69 73 20 6d 65 74 |. * |This met|
|00003cf0| 68 6f 64 20 77 72 69 74 | 65 73 20 75 70 20 74 6f |hod writ|es up to|
|00003d00| 20 6c 65 6e 20 62 79 74 | 65 73 20 74 6f 20 74 68 | len byt|es to th|
|00003d10| 65 20 73 6f 63 6b 65 74 | 20 73 74 72 65 61 6d 2e |e socket| stream.|
|00003d20| 20 0a 20 20 20 20 20 2a | 2f 0a 20 20 20 20 70 75 | . *|/. pu|
|00003d30| 62 6c 69 63 20 76 6f 69 | 64 20 77 72 69 74 65 28 |blic voi|d write(|
|00003d40| 62 79 74 65 20 62 5b 5d | 2c 20 69 6e 74 20 6f 66 |byte b[]|, int of|
|00003d50| 66 2c 20 69 6e 74 20 6c | 65 6e 29 20 74 68 72 6f |f, int l|en) thro|
|00003d60| 77 73 20 49 4f 45 78 63 | 65 70 74 69 6f 6e 20 7b |ws IOExc|eption {|
|00003d70| 0a 20 20 20 20 20 20 20 | 20 2f 2a 0a 20 20 20 20 |. | /*. |
|00003d80| 20 20 20 20 20 2a 20 54 | 68 69 73 20 69 6d 70 6c | * T|his impl|
|00003d90| 65 6d 65 6e 74 61 74 69 | 6f 6e 20 69 73 20 71 75 |ementati|on is qu|
|00003da0| 69 74 65 20 69 6e 65 66 | 66 69 63 69 65 6e 74 20 |ite inef|ficient |
|00003db0| 62 65 63 61 75 73 65 20 | 69 74 20 68 61 73 20 74 |because |it has t|
|00003dc0| 6f 0a 20 20 20 20 20 20 | 20 20 20 2a 20 63 61 6c |o. | * cal|
|00003dd0| 6c 20 74 68 65 20 6f 74 | 68 65 72 20 77 72 69 74 |l the ot|her writ|
|00003de0| 65 20 6d 65 74 68 6f 64 | 20 66 6f 72 20 65 76 65 |e method| for eve|
|00003df0| 72 79 20 62 79 74 65 20 | 69 6e 20 74 68 65 20 61 |ry byte |in the a|
|00003e00| 72 72 61 79 2e 20 20 49 | 74 0a 20 20 20 20 20 20 |rray. I|t. |
|00003e10| 20 20 20 2a 20 63 6f 75 | 6c 64 20 62 65 20 6f 70 | * cou|ld be op|
|00003e20| 74 69 6d 69 7a 65 64 20 | 66 6f 72 20 70 65 72 66 |timized |for perf|
|00003e30| 6f 72 6d 61 6e 63 65 20 | 62 79 20 64 6f 69 6e 67 |ormance |by doing|
|00003e40| 20 61 6c 6c 20 74 68 65 | 20 70 72 6f 63 65 73 73 | all the| process|
|00003e50| 69 6e 67 0a 20 20 20 20 | 20 20 20 20 20 2a 20 69 |ing. | * i|
|00003e60| 6e 20 74 68 69 73 20 6d | 65 74 68 6f 64 2e 0a 20 |n this m|ethod.. |
|00003e70| 20 20 20 20 20 20 20 20 | 2a 2f 0a 20 20 20 20 20 | |*/. |
|00003e80| 20 20 20 66 6f 72 20 28 | 69 6e 74 20 69 20 3d 20 | for (|int i = |
|00003e90| 30 3b 20 69 20 3c 20 6c | 65 6e 3b 20 69 2b 2b 29 |0; i < l|en; i++)|
|00003ea0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 77 72 69 |. | wri|
|00003eb0| 74 65 28 62 5b 6f 66 66 | 20 2b 20 69 5d 29 3b 0a |te(b[off| + i]);.|
|00003ec0| 20 20 20 20 7d 0a 20 0a | 0a 20 20 20 2f 2a 20 0a | }. .|. /* .|
|00003ed0| 20 20 20 20 2a 20 43 6c | 65 61 72 73 20 62 75 66 | * Cl|ears buf|
|00003ee0| 66 65 72 20 6f 66 20 61 | 6c 6c 20 64 61 74 61 20 |fer of a|ll data |
|00003ef0| 28 7a 65 72 6f 65 73 20 | 69 74 20 6f 75 74 29 2e |(zeroes |it out).|
|00003f00| 20 0a 20 20 20 20 2a 2f | 20 0a 20 20 70 75 62 6c | . */| . publ|
|00003f10| 69 63 20 76 6f 69 64 20 | 66 6c 75 73 68 28 29 20 |ic void |flush() |
|00003f20| 74 68 72 6f 77 73 20 49 | 4f 45 78 63 65 70 74 69 |throws I|OExcepti|
|00003f30| 6f 6e 20 7b 0a 20 20 20 | 20 77 68 69 6c 65 20 28 |on {. | while (|
|00003f40| 62 75 66 50 6f 73 20 3e | 20 30 29 0a 20 20 20 20 |bufPos >| 0). |
|00003f50| 20 20 77 72 69 74 65 43 | 6f 64 65 28 4e 4f 50 29 | writeC|ode(NOP)|
|00003f60| 3b 0a 20 20 7d 0a 20 0a | 20 20 20 20 2f 2a 20 0a |;. }. .| /* .|
|00003f70| 20 20 20 20 20 2a 20 54 | 68 69 73 20 6d 65 74 68 | * T|his meth|
|00003f80| 6f 64 20 61 63 74 75 61 | 6c 6c 79 20 70 75 74 73 |od actua|lly puts|
|00003f90| 20 74 68 65 20 64 61 74 | 61 20 69 6e 74 6f 20 74 | the dat|a into t|
|00003fa0| 68 65 20 6f 75 74 70 75 | 74 20 73 74 72 65 61 6d |he outpu|t stream|
|00003fb0| 20 61 66 74 65 72 0a 20 | 20 20 20 20 2a 20 70 61 | after. | * pa|
|00003fc0| 63 6b 69 6e 67 20 74 68 | 65 20 64 61 74 61 20 66 |cking th|e data f|
|00003fd0| 72 6f 6d 20 61 6c 6c 20 | 35 20 62 79 74 65 73 20 |rom all |5 bytes |
|00003fe0| 69 6e 20 62 75 66 20 69 | 6e 74 6f 20 6f 6e 65 20 |in buf i|nto one |
|00003ff0| 77 6f 72 64 2e 0a 20 20 | 20 20 20 2a 20 52 65 6d |word.. | * Rem|
|00004000| 65 6d 62 65 72 2c 20 65 | 61 63 68 20 62 79 74 65 |ember, e|ach byte|
|00004010| 20 68 61 73 2c 20 61 74 | 20 6d 6f 73 74 2c 20 36 | has, at| most, 6|
|00004020| 20 73 69 67 6e 69 66 69 | 63 61 6e 74 20 62 69 74 | signifi|cant bit|
|00004030| 73 2e 0a 20 20 20 20 20 | 2a 2f 0a 20 20 20 20 70 |s.. |*/. p|
|00004040| 72 69 76 61 74 65 20 76 | 6f 69 64 20 77 72 69 74 |rivate v|oid writ|
|00004050| 65 43 6f 64 65 28 69 6e | 74 20 63 29 20 74 68 72 |eCode(in|t c) thr|
|00004060| 6f 77 73 20 49 4f 45 78 | 63 65 70 74 69 6f 6e 20 |ows IOEx|ception |
|00004070| 7b 0a 20 20 20 20 20 20 | 20 20 62 75 66 5b 62 75 |{. | buf[bu|
|00004080| 66 50 6f 73 2b 2b 5d 20 | 3d 20 63 3b 0a 20 20 20 |fPos++] |= c;. |
|00004090| 20 20 20 20 20 69 66 20 | 28 62 75 66 50 6f 73 20 | if |(bufPos |
|000040a0| 3d 3d 20 35 29 20 7b 20 | 20 20 20 20 20 2f 2f 20 |== 5) { | // |
|000040b0| 77 72 69 74 65 20 6e 65 | 78 74 20 77 6f 72 64 20 |write ne|xt word |
|000040c0| 77 68 65 6e 20 77 65 20 | 68 61 76 65 20 35 20 63 |when we |have 5 c|
|000040d0| 6f 64 65 73 0a 20 20 20 | 20 20 20 20 20 20 20 20 |odes. | |
|000040e0| 20 69 6e 74 20 70 61 63 | 6b 20 3d 20 28 62 75 66 | int pac|k = (buf|
|000040f0| 5b 30 5d 20 3c 3c 20 32 | 34 29 20 7c 20 28 62 75 |[0] << 2|4) | (bu|
|00004100| 66 5b 31 5d 20 3c 3c 20 | 31 38 29 20 7c 20 28 62 |f[1] << |18) | (b|
|00004110| 75 66 5b 32 5d 20 3c 3c | 20 31 32 29 20 7c 0a 20 |uf[2] <<| 12) |. |
|00004120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004130| 20 20 20 20 20 20 28 62 | 75 66 5b 33 5d 20 3c 3c | (b|uf[3] <<|
|00004140| 20 36 29 20 7c 20 62 75 | 66 5b 34 5d 3b 0a 20 20 | 6) | bu|f[4];. |
|00004150| 20 20 20 20 20 20 20 20 | 20 20 6f 75 74 2e 77 72 | | out.wr|
|00004160| 69 74 65 28 28 70 61 63 | 6b 20 3e 3e 3e 20 32 34 |ite((pac|k >>> 24|
|00004170| 29 20 26 20 30 78 46 46 | 29 3b 0a 20 20 20 20 20 |) & 0xFF|);. |
|00004180| 20 20 20 20 20 20 20 6f | 75 74 2e 77 72 69 74 65 | o|ut.write|
|00004190| 28 28 70 61 63 6b 20 3e | 3e 3e 20 31 36 29 20 26 |((pack >|>> 16) &|
|000041a0| 20 30 78 46 46 29 3b 0a | 20 20 20 20 20 20 20 20 | 0xFF);.| |
|000041b0| 20 20 20 20 6f 75 74 2e | 77 72 69 74 65 28 28 70 | out.|write((p|
|000041c0| 61 63 6b 20 3e 3e 3e 20 | 38 29 20 20 26 20 30 78 |ack >>> |8) & 0x|
|000041d0| 46 46 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |FF);. | |
|000041e0| 20 6f 75 74 2e 77 72 69 | 74 65 28 28 70 61 63 6b | out.wri|te((pack|
|000041f0| 20 3e 3e 3e 20 30 29 20 | 20 26 20 30 78 46 46 29 | >>> 0) | & 0xFF)|
|00004200| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 62 75 |;. | bu|
|00004210| 66 50 6f 73 20 3d 20 30 | 3b 0a 20 20 20 20 20 20 |fPos = 0|;. |
|00004220| 20 20 7d 0a 20 20 20 20 | 7d 0a 7d 0a 00 00 00 00 | }. |}.}.....|
|00004230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004400| 73 6f 63 6b 65 74 73 2f | 43 6f 6d 70 72 65 73 73 |sockets/|Compress|
|00004410| 69 6f 6e 53 65 72 76 65 | 72 53 6f 63 6b 65 74 2e |ionServe|rSocket.|
|00004420| 6a 61 76 61 00 00 00 00 | 00 00 00 00 00 00 00 00 |java....|........|
|00004430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004460| 00 00 00 00 30 31 30 30 | 36 34 34 00 30 30 37 34 |....0100|644.0074|
|00004470| 35 32 34 00 30 30 31 32 | 36 36 36 00 30 30 30 30 |524.0012|666.0000|
|00004480| 30 30 30 33 36 30 35 00 | 30 36 37 30 31 32 33 32 |0003605.|06701232|
|00004490| 34 31 34 00 30 30 32 31 | 34 37 34 00 30 00 00 00 |414.0021|474.0...|
|000044a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004500| 00 75 73 74 61 72 00 30 | 30 6a 76 6f 6c 70 65 00 |.ustar.0|0jvolpe.|
|00004510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004520| 00 00 00 00 00 00 00 00 | 00 6a 69 6e 69 65 61 73 |........|.jinieas|
|00004530| 74 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |t.......|........|
|00004540| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 35 34 |........|.0000254|
|00004550| 00 30 30 30 32 31 30 35 | 00 00 00 00 00 00 00 00 |.0002105|........|
|00004560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004600| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00004610| 28 63 29 20 31 39 39 38 | 2c 20 31 39 39 39 20 53 |(c) 1998|, 1999 S|
|00004620| 75 6e 20 4d 69 63 72 6f | 73 79 73 74 65 6d 73 2c |un Micro|systems,|
|00004630| 20 49 6e 63 2e 20 41 6c | 6c 20 52 69 67 68 74 73 | Inc. Al|l Rights|
|00004640| 20 52 65 73 65 72 76 65 | 64 2e 0a 20 2a 0a 20 2a | Reserve|d.. *. *|
|00004650| 20 53 75 6e 20 67 72 61 | 6e 74 73 20 79 6f 75 20 | Sun gra|nts you |
|00004660| 28 22 4c 69 63 65 6e 73 | 65 65 22 29 20 61 20 6e |("Licens|ee") a n|
|00004670| 6f 6e 2d 65 78 63 6c 75 | 73 69 76 65 2c 20 72 6f |on-exclu|sive, ro|
|00004680| 79 61 6c 74 79 20 66 72 | 65 65 2c 20 6c 69 63 65 |yalty fr|ee, lice|
|00004690| 6e 73 65 20 74 6f 20 75 | 73 65 2c 0a 20 2a 20 6d |nse to u|se,. * m|
|000046a0| 6f 64 69 66 79 20 61 6e | 64 20 72 65 64 69 73 74 |odify an|d redist|
|000046b0| 72 69 62 75 74 65 20 74 | 68 69 73 20 73 6f 66 74 |ribute t|his soft|
|000046c0| 77 61 72 65 20 69 6e 20 | 73 6f 75 72 63 65 20 61 |ware in |source a|
|000046d0| 6e 64 20 62 69 6e 61 72 | 79 20 63 6f 64 65 20 66 |nd binar|y code f|
|000046e0| 6f 72 6d 2c 0a 20 2a 20 | 70 72 6f 76 69 64 65 64 |orm,. * |provided|
|000046f0| 20 74 68 61 74 20 69 29 | 20 74 68 69 73 20 63 6f | that i)| this co|
|00004700| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00004710| 6e 64 20 6c 69 63 65 6e | 73 65 20 61 70 70 65 61 |nd licen|se appea|
|00004720| 72 20 6f 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r on all| copies |
|00004730| 6f 66 0a 20 2a 20 74 68 | 65 20 73 6f 66 74 77 61 |of. * th|e softwa|
|00004740| 72 65 3b 20 61 6e 64 20 | 69 69 29 20 4c 69 63 65 |re; and |ii) Lice|
|00004750| 6e 73 65 65 20 64 6f 65 | 73 20 6e 6f 74 20 75 74 |nsee doe|s not ut|
|00004760| 69 6c 69 7a 65 20 74 68 | 65 20 73 6f 66 74 77 61 |ilize th|e softwa|
|00004770| 72 65 20 69 6e 20 61 20 | 6d 61 6e 6e 65 72 0a 20 |re in a |manner. |
|00004780| 2a 20 77 68 69 63 68 20 | 69 73 20 64 69 73 70 61 |* which |is dispa|
|00004790| 72 61 67 69 6e 67 20 74 | 6f 20 53 75 6e 2e 0a 20 |raging t|o Sun.. |
|000047a0| 2a 0a 20 2a 20 54 68 69 | 73 20 73 6f 66 74 77 61 |*. * Thi|s softwa|
|000047b0| 72 65 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 22 |re is pr|ovided "|
|000047c0| 41 53 20 49 53 2c 22 20 | 77 69 74 68 6f 75 74 20 |AS IS," |without |
|000047d0| 61 20 77 61 72 72 61 6e | 74 79 20 6f 66 20 61 6e |a warran|ty of an|
|000047e0| 79 20 6b 69 6e 64 2e 20 | 41 4c 4c 0a 20 2a 20 45 |y kind. |ALL. * E|
|000047f0| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00004800| 44 20 43 4f 4e 44 49 54 | 49 4f 4e 53 2c 20 52 45 |D CONDIT|IONS, RE|
|00004810| 50 52 45 53 45 4e 54 41 | 54 49 4f 4e 53 20 41 4e |PRESENTA|TIONS AN|
|00004820| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00004830| 43 4c 55 44 49 4e 47 20 | 41 4e 59 0a 20 2a 20 49 |CLUDING |ANY. * I|
|00004840| 4d 50 4c 49 45 44 20 57 | 41 52 52 41 4e 54 59 20 |MPLIED W|ARRANTY |
|00004850| 4f 46 20 4d 45 52 43 48 | 41 4e 54 41 42 49 4c 49 |OF MERCH|ANTABILI|
|00004860| 54 59 2c 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 |TY, FITN|ESS FOR |
|00004870| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00004880| 50 4f 53 45 20 4f 52 0a | 20 2a 20 4e 4f 4e 2d 49 |POSE OR.| * NON-I|
|00004890| 4e 46 52 49 4e 47 45 4d | 45 4e 54 2c 20 41 52 45 |NFRINGEM|ENT, ARE|
|000048a0| 20 48 45 52 45 42 59 20 | 45 58 43 4c 55 44 45 44 | HEREBY |EXCLUDED|
|000048b0| 2e 20 53 55 4e 20 41 4e | 44 20 49 54 53 20 4c 49 |. SUN AN|D ITS LI|
|000048c0| 43 45 4e 53 4f 52 53 20 | 53 48 41 4c 4c 20 4e 4f |CENSORS |SHALL NO|
|000048d0| 54 20 42 45 0a 20 2a 20 | 4c 49 41 42 4c 45 20 46 |T BE. * |LIABLE F|
|000048e0| 4f 52 20 41 4e 59 20 44 | 41 4d 41 47 45 53 20 53 |OR ANY D|AMAGES S|
|000048f0| 55 46 46 45 52 45 44 20 | 42 59 20 4c 49 43 45 4e |UFFERED |BY LICEN|
|00004900| 53 45 45 20 41 53 20 41 | 20 52 45 53 55 4c 54 20 |SEE AS A| RESULT |
|00004910| 4f 46 20 55 53 49 4e 47 | 2c 20 4d 4f 44 49 46 59 |OF USING|, MODIFY|
|00004920| 49 4e 47 0a 20 2a 20 4f | 52 20 44 49 53 54 52 49 |ING. * O|R DISTRI|
|00004930| 42 55 54 49 4e 47 20 54 | 48 45 20 53 4f 46 54 57 |BUTING T|HE SOFTW|
|00004940| 41 52 45 20 4f 52 20 49 | 54 53 20 44 45 52 49 56 |ARE OR I|TS DERIV|
|00004950| 41 54 49 56 45 53 2e 20 | 49 4e 20 4e 4f 20 45 56 |ATIVES. |IN NO EV|
|00004960| 45 4e 54 20 57 49 4c 4c | 20 53 55 4e 20 4f 52 20 |ENT WILL| SUN OR |
|00004970| 49 54 53 0a 20 2a 20 4c | 49 43 45 4e 53 4f 52 53 |ITS. * L|ICENSORS|
|00004980| 20 42 45 20 4c 49 41 42 | 4c 45 20 46 4f 52 20 41 | BE LIAB|LE FOR A|
|00004990| 4e 59 20 4c 4f 53 54 20 | 52 45 56 45 4e 55 45 2c |NY LOST |REVENUE,|
|000049a0| 20 50 52 4f 46 49 54 20 | 4f 52 20 44 41 54 41 2c | PROFIT |OR DATA,|
|000049b0| 20 4f 52 20 46 4f 52 20 | 44 49 52 45 43 54 2c 0a | OR FOR |DIRECT,.|
|000049c0| 20 2a 20 49 4e 44 49 52 | 45 43 54 2c 20 53 50 45 | * INDIR|ECT, SPE|
|000049d0| 43 49 41 4c 2c 20 43 4f | 4e 53 45 51 55 45 4e 54 |CIAL, CO|NSEQUENT|
|000049e0| 49 41 4c 2c 20 49 4e 43 | 49 44 45 4e 54 41 4c 20 |IAL, INC|IDENTAL |
|000049f0| 4f 52 20 50 55 4e 49 54 | 49 56 45 20 44 41 4d 41 |OR PUNIT|IVE DAMA|
|00004a00| 47 45 53 2c 20 48 4f 57 | 45 56 45 52 0a 20 2a 20 |GES, HOW|EVER. * |
|00004a10| 43 41 55 53 45 44 20 41 | 4e 44 20 52 45 47 41 52 |CAUSED A|ND REGAR|
|00004a20| 44 4c 45 53 53 20 4f 46 | 20 54 48 45 20 54 48 45 |DLESS OF| THE THE|
|00004a30| 4f 52 59 20 4f 46 20 4c | 49 41 42 49 4c 49 54 59 |ORY OF L|IABILITY|
|00004a40| 2c 20 41 52 49 53 49 4e | 47 20 4f 55 54 20 4f 46 |, ARISIN|G OUT OF|
|00004a50| 20 54 48 45 20 55 53 45 | 20 4f 46 0a 20 2a 20 4f | THE USE| OF. * O|
|00004a60| 52 20 49 4e 41 42 49 4c | 49 54 59 20 54 4f 20 55 |R INABIL|ITY TO U|
|00004a70| 53 45 20 53 4f 46 54 57 | 41 52 45 2c 20 45 56 45 |SE SOFTW|ARE, EVE|
|00004a80| 4e 20 49 46 20 53 55 4e | 20 48 41 53 20 42 45 45 |N IF SUN| HAS BEE|
|00004a90| 4e 20 41 44 56 49 53 45 | 44 20 4f 46 20 54 48 45 |N ADVISE|D OF THE|
|00004aa0| 0a 20 2a 20 50 4f 53 53 | 49 42 49 4c 49 54 59 20 |. * POSS|IBILITY |
|00004ab0| 4f 46 20 53 55 43 48 20 | 44 41 4d 41 47 45 53 2e |OF SUCH |DAMAGES.|
|00004ac0| 0a 20 2a 0a 20 2a 20 54 | 68 69 73 20 73 6f 66 74 |. *. * T|his soft|
|00004ad0| 77 61 72 65 20 69 73 20 | 6e 6f 74 20 64 65 73 69 |ware is |not desi|
|00004ae0| 67 6e 65 64 20 6f 72 20 | 69 6e 74 65 6e 64 65 64 |gned or |intended|
|00004af0| 20 66 6f 72 20 75 73 65 | 20 69 6e 20 6f 6e 2d 6c | for use| in on-l|
|00004b00| 69 6e 65 20 63 6f 6e 74 | 72 6f 6c 20 6f 66 0a 20 |ine cont|rol of. |
|00004b10| 2a 20 61 69 72 63 72 61 | 66 74 2c 20 61 69 72 20 |* aircra|ft, air |
|00004b20| 74 72 61 66 66 69 63 2c | 20 61 69 72 63 72 61 66 |traffic,| aircraf|
|00004b30| 74 20 6e 61 76 69 67 61 | 74 69 6f 6e 20 6f 72 20 |t naviga|tion or |
|00004b40| 61 69 72 63 72 61 66 74 | 20 63 6f 6d 6d 75 6e 69 |aircraft| communi|
|00004b50| 63 61 74 69 6f 6e 73 3b | 20 6f 72 20 69 6e 0a 20 |cations;| or in. |
|00004b60| 2a 20 74 68 65 20 64 65 | 73 69 67 6e 2c 20 63 6f |* the de|sign, co|
|00004b70| 6e 73 74 72 75 63 74 69 | 6f 6e 2c 20 6f 70 65 72 |nstructi|on, oper|
|00004b80| 61 74 69 6f 6e 20 6f 72 | 20 6d 61 69 6e 74 65 6e |ation or| mainten|
|00004b90| 61 6e 63 65 20 6f 66 20 | 61 6e 79 20 6e 75 63 6c |ance of |any nucl|
|00004ba0| 65 61 72 0a 20 2a 20 66 | 61 63 69 6c 69 74 79 2e |ear. * f|acility.|
|00004bb0| 20 4c 69 63 65 6e 73 65 | 65 20 72 65 70 72 65 73 | License|e repres|
|00004bc0| 65 6e 74 73 20 61 6e 64 | 20 77 61 72 72 61 6e 74 |ents and| warrant|
|00004bd0| 73 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 6e |s that i|t will n|
|00004be0| 6f 74 20 75 73 65 20 6f | 72 0a 20 2a 20 72 65 64 |ot use o|r. * red|
|00004bf0| 69 73 74 72 69 62 75 74 | 65 20 74 68 65 20 53 6f |istribut|e the So|
|00004c00| 66 74 77 61 72 65 20 66 | 6f 72 20 73 75 63 68 20 |ftware f|or such |
|00004c10| 70 75 72 70 6f 73 65 73 | 2e 0a 20 2a 2f 0a 0a 70 |purposes|.. */..p|
|00004c20| 61 63 6b 61 67 65 20 65 | 78 61 6d 70 6c 65 73 2e |ackage e|xamples.|
|00004c30| 72 6d 69 73 6f 63 66 61 | 63 3b 0a 0a 0a 69 6d 70 |rmisocfa|c;...imp|
|00004c40| 6f 72 74 20 6a 61 76 61 | 2e 69 6f 2e 2a 3b 0a 69 |ort java|.io.*;.i|
|00004c50| 6d 70 6f 72 74 20 6a 61 | 76 61 2e 6e 65 74 2e 2a |mport ja|va.net.*|
|00004c60| 3b 0a 20 0a 63 6c 61 73 | 73 20 43 6f 6d 70 72 65 |;. .clas|s Compre|
|00004c70| 73 73 69 6f 6e 53 65 72 | 76 65 72 53 6f 63 6b 65 |ssionSer|verSocke|
|00004c80| 74 20 65 78 74 65 6e 64 | 73 20 53 65 72 76 65 72 |t extend|s Server|
|00004c90| 53 6f 63 6b 65 74 20 7b | 0a 0a 20 20 20 20 70 75 |Socket {|.. pu|
|00004ca0| 62 6c 69 63 20 43 6f 6d | 70 72 65 73 73 69 6f 6e |blic Com|pression|
|00004cb0| 53 65 72 76 65 72 53 6f | 63 6b 65 74 28 69 6e 74 |ServerSo|cket(int|
|00004cc0| 20 70 6f 72 74 29 20 74 | 68 72 6f 77 73 20 49 4f | port) t|hrows IO|
|00004cd0| 45 78 63 65 70 74 69 6f | 6e 20 7b 0a 20 20 20 20 |Exceptio|n {. |
|00004ce0| 20 20 20 20 73 75 70 65 | 72 28 70 6f 72 74 29 3b | supe|r(port);|
|00004cf0| 0a 20 20 20 20 7d 0a 0a | 20 20 20 20 70 75 62 6c |. }..| publ|
|00004d00| 69 63 20 53 6f 63 6b 65 | 74 20 61 63 63 65 70 74 |ic Socke|t accept|
|00004d10| 28 29 20 74 68 72 6f 77 | 73 20 49 4f 45 78 63 65 |() throw|s IOExce|
|00004d20| 70 74 69 6f 6e 20 7b 0a | 20 20 20 20 20 20 20 20 |ption {.| |
|00004d30| 53 6f 63 6b 65 74 20 73 | 20 3d 20 6e 65 77 20 43 |Socket s| = new C|
|00004d40| 6f 6d 70 72 65 73 73 69 | 6f 6e 53 6f 63 6b 65 74 |ompressi|onSocket|
|00004d50| 28 29 3b 0a 20 20 20 20 | 20 20 20 20 69 6d 70 6c |();. | impl|
|00004d60| 41 63 63 65 70 74 28 73 | 29 3b 0a 20 20 20 20 20 |Accept(s|);. |
|00004d70| 20 20 20 72 65 74 75 72 | 6e 20 73 3b 0a 20 20 20 | retur|n s;. |
|00004d80| 20 7d 0a 7d 0a 00 00 00 | 00 00 00 00 00 00 00 00 | }.}....|........|
|00004d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 73 6f 63 6b 65 74 73 2f | 43 6f 6d 70 72 65 73 73 |sockets/|Compress|
|00004e10| 69 6f 6e 53 65 72 76 65 | 72 53 6f 63 6b 65 74 46 |ionServe|rSocketF|
|00004e20| 61 63 74 6f 72 79 2e 6a | 61 76 61 00 00 00 00 00 |actory.j|ava.....|
|00004e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e60| 00 00 00 00 30 31 30 30 | 34 34 34 00 30 30 37 34 |....0100|444.0074|
|00004e70| 35 32 34 00 30 30 31 32 | 36 36 36 00 30 30 30 30 |524.0012|666.0000|
|00004e80| 30 30 30 33 36 31 34 00 | 30 36 37 30 31 32 33 32 |0003614.|06701232|
|00004e90| 34 31 34 00 30 30 32 33 | 30 32 32 00 30 00 00 00 |414.0023|022.0...|
|00004ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f00| 00 75 73 74 61 72 00 30 | 30 6a 76 6f 6c 70 65 00 |.ustar.0|0jvolpe.|
|00004f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f20| 00 00 00 00 00 00 00 00 | 00 6a 69 6e 69 65 61 73 |........|.jinieas|
|00004f30| 74 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |t.......|........|
|00004f40| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 35 34 |........|.0000254|
|00004f50| 00 30 30 30 32 31 30 35 | 00 00 00 00 00 00 00 00 |.0002105|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00005010| 28 63 29 20 31 39 39 38 | 2c 20 31 39 39 39 20 53 |(c) 1998|, 1999 S|
|00005020| 75 6e 20 4d 69 63 72 6f | 73 79 73 74 65 6d 73 2c |un Micro|systems,|
|00005030| 20 49 6e 63 2e 20 41 6c | 6c 20 52 69 67 68 74 73 | Inc. Al|l Rights|
|00005040| 20 52 65 73 65 72 76 65 | 64 2e 0a 20 2a 0a 20 2a | Reserve|d.. *. *|
|00005050| 20 53 75 6e 20 67 72 61 | 6e 74 73 20 79 6f 75 20 | Sun gra|nts you |
|00005060| 28 22 4c 69 63 65 6e 73 | 65 65 22 29 20 61 20 6e |("Licens|ee") a n|
|00005070| 6f 6e 2d 65 78 63 6c 75 | 73 69 76 65 2c 20 72 6f |on-exclu|sive, ro|
|00005080| 79 61 6c 74 79 20 66 72 | 65 65 2c 20 6c 69 63 65 |yalty fr|ee, lice|
|00005090| 6e 73 65 20 74 6f 20 75 | 73 65 2c 0a 20 2a 20 6d |nse to u|se,. * m|
|000050a0| 6f 64 69 66 79 20 61 6e | 64 20 72 65 64 69 73 74 |odify an|d redist|
|000050b0| 72 69 62 75 74 65 20 74 | 68 69 73 20 73 6f 66 74 |ribute t|his soft|
|000050c0| 77 61 72 65 20 69 6e 20 | 73 6f 75 72 63 65 20 61 |ware in |source a|
|000050d0| 6e 64 20 62 69 6e 61 72 | 79 20 63 6f 64 65 20 66 |nd binar|y code f|
|000050e0| 6f 72 6d 2c 0a 20 2a 20 | 70 72 6f 76 69 64 65 64 |orm,. * |provided|
|000050f0| 20 74 68 61 74 20 69 29 | 20 74 68 69 73 20 63 6f | that i)| this co|
|00005100| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00005110| 6e 64 20 6c 69 63 65 6e | 73 65 20 61 70 70 65 61 |nd licen|se appea|
|00005120| 72 20 6f 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r on all| copies |
|00005130| 6f 66 0a 20 2a 20 74 68 | 65 20 73 6f 66 74 77 61 |of. * th|e softwa|
|00005140| 72 65 3b 20 61 6e 64 20 | 69 69 29 20 4c 69 63 65 |re; and |ii) Lice|
|00005150| 6e 73 65 65 20 64 6f 65 | 73 20 6e 6f 74 20 75 74 |nsee doe|s not ut|
|00005160| 69 6c 69 7a 65 20 74 68 | 65 20 73 6f 66 74 77 61 |ilize th|e softwa|
|00005170| 72 65 20 69 6e 20 61 20 | 6d 61 6e 6e 65 72 0a 20 |re in a |manner. |
|00005180| 2a 20 77 68 69 63 68 20 | 69 73 20 64 69 73 70 61 |* which |is dispa|
|00005190| 72 61 67 69 6e 67 20 74 | 6f 20 53 75 6e 2e 0a 20 |raging t|o Sun.. |
|000051a0| 2a 0a 20 2a 20 54 68 69 | 73 20 73 6f 66 74 77 61 |*. * Thi|s softwa|
|000051b0| 72 65 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 22 |re is pr|ovided "|
|000051c0| 41 53 20 49 53 2c 22 20 | 77 69 74 68 6f 75 74 20 |AS IS," |without |
|000051d0| 61 20 77 61 72 72 61 6e | 74 79 20 6f 66 20 61 6e |a warran|ty of an|
|000051e0| 79 20 6b 69 6e 64 2e 20 | 41 4c 4c 0a 20 2a 20 45 |y kind. |ALL. * E|
|000051f0| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00005200| 44 20 43 4f 4e 44 49 54 | 49 4f 4e 53 2c 20 52 45 |D CONDIT|IONS, RE|
|00005210| 50 52 45 53 45 4e 54 41 | 54 49 4f 4e 53 20 41 4e |PRESENTA|TIONS AN|
|00005220| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00005230| 43 4c 55 44 49 4e 47 20 | 41 4e 59 0a 20 2a 20 49 |CLUDING |ANY. * I|
|00005240| 4d 50 4c 49 45 44 20 57 | 41 52 52 41 4e 54 59 20 |MPLIED W|ARRANTY |
|00005250| 4f 46 20 4d 45 52 43 48 | 41 4e 54 41 42 49 4c 49 |OF MERCH|ANTABILI|
|00005260| 54 59 2c 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 |TY, FITN|ESS FOR |
|00005270| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00005280| 50 4f 53 45 20 4f 52 0a | 20 2a 20 4e 4f 4e 2d 49 |POSE OR.| * NON-I|
|00005290| 4e 46 52 49 4e 47 45 4d | 45 4e 54 2c 20 41 52 45 |NFRINGEM|ENT, ARE|
|000052a0| 20 48 45 52 45 42 59 20 | 45 58 43 4c 55 44 45 44 | HEREBY |EXCLUDED|
|000052b0| 2e 20 53 55 4e 20 41 4e | 44 20 49 54 53 20 4c 49 |. SUN AN|D ITS LI|
|000052c0| 43 45 4e 53 4f 52 53 20 | 53 48 41 4c 4c 20 4e 4f |CENSORS |SHALL NO|
|000052d0| 54 20 42 45 0a 20 2a 20 | 4c 49 41 42 4c 45 20 46 |T BE. * |LIABLE F|
|000052e0| 4f 52 20 41 4e 59 20 44 | 41 4d 41 47 45 53 20 53 |OR ANY D|AMAGES S|
|000052f0| 55 46 46 45 52 45 44 20 | 42 59 20 4c 49 43 45 4e |UFFERED |BY LICEN|
|00005300| 53 45 45 20 41 53 20 41 | 20 52 45 53 55 4c 54 20 |SEE AS A| RESULT |
|00005310| 4f 46 20 55 53 49 4e 47 | 2c 20 4d 4f 44 49 46 59 |OF USING|, MODIFY|
|00005320| 49 4e 47 0a 20 2a 20 4f | 52 20 44 49 53 54 52 49 |ING. * O|R DISTRI|
|00005330| 42 55 54 49 4e 47 20 54 | 48 45 20 53 4f 46 54 57 |BUTING T|HE SOFTW|
|00005340| 41 52 45 20 4f 52 20 49 | 54 53 20 44 45 52 49 56 |ARE OR I|TS DERIV|
|00005350| 41 54 49 56 45 53 2e 20 | 49 4e 20 4e 4f 20 45 56 |ATIVES. |IN NO EV|
|00005360| 45 4e 54 20 57 49 4c 4c | 20 53 55 4e 20 4f 52 20 |ENT WILL| SUN OR |
|00005370| 49 54 53 0a 20 2a 20 4c | 49 43 45 4e 53 4f 52 53 |ITS. * L|ICENSORS|
|00005380| 20 42 45 20 4c 49 41 42 | 4c 45 20 46 4f 52 20 41 | BE LIAB|LE FOR A|
|00005390| 4e 59 20 4c 4f 53 54 20 | 52 45 56 45 4e 55 45 2c |NY LOST |REVENUE,|
|000053a0| 20 50 52 4f 46 49 54 20 | 4f 52 20 44 41 54 41 2c | PROFIT |OR DATA,|
|000053b0| 20 4f 52 20 46 4f 52 20 | 44 49 52 45 43 54 2c 0a | OR FOR |DIRECT,.|
|000053c0| 20 2a 20 49 4e 44 49 52 | 45 43 54 2c 20 53 50 45 | * INDIR|ECT, SPE|
|000053d0| 43 49 41 4c 2c 20 43 4f | 4e 53 45 51 55 45 4e 54 |CIAL, CO|NSEQUENT|
|000053e0| 49 41 4c 2c 20 49 4e 43 | 49 44 45 4e 54 41 4c 20 |IAL, INC|IDENTAL |
|000053f0| 4f 52 20 50 55 4e 49 54 | 49 56 45 20 44 41 4d 41 |OR PUNIT|IVE DAMA|
|00005400| 47 45 53 2c 20 48 4f 57 | 45 56 45 52 0a 20 2a 20 |GES, HOW|EVER. * |
|00005410| 43 41 55 53 45 44 20 41 | 4e 44 20 52 45 47 41 52 |CAUSED A|ND REGAR|
|00005420| 44 4c 45 53 53 20 4f 46 | 20 54 48 45 20 54 48 45 |DLESS OF| THE THE|
|00005430| 4f 52 59 20 4f 46 20 4c | 49 41 42 49 4c 49 54 59 |ORY OF L|IABILITY|
|00005440| 2c 20 41 52 49 53 49 4e | 47 20 4f 55 54 20 4f 46 |, ARISIN|G OUT OF|
|00005450| 20 54 48 45 20 55 53 45 | 20 4f 46 0a 20 2a 20 4f | THE USE| OF. * O|
|00005460| 52 20 49 4e 41 42 49 4c | 49 54 59 20 54 4f 20 55 |R INABIL|ITY TO U|
|00005470| 53 45 20 53 4f 46 54 57 | 41 52 45 2c 20 45 56 45 |SE SOFTW|ARE, EVE|
|00005480| 4e 20 49 46 20 53 55 4e | 20 48 41 53 20 42 45 45 |N IF SUN| HAS BEE|
|00005490| 4e 20 41 44 56 49 53 45 | 44 20 4f 46 20 54 48 45 |N ADVISE|D OF THE|
|000054a0| 0a 20 2a 20 50 4f 53 53 | 49 42 49 4c 49 54 59 20 |. * POSS|IBILITY |
|000054b0| 4f 46 20 53 55 43 48 20 | 44 41 4d 41 47 45 53 2e |OF SUCH |DAMAGES.|
|000054c0| 0a 20 2a 0a 20 2a 20 54 | 68 69 73 20 73 6f 66 74 |. *. * T|his soft|
|000054d0| 77 61 72 65 20 69 73 20 | 6e 6f 74 20 64 65 73 69 |ware is |not desi|
|000054e0| 67 6e 65 64 20 6f 72 20 | 69 6e 74 65 6e 64 65 64 |gned or |intended|
|000054f0| 20 66 6f 72 20 75 73 65 | 20 69 6e 20 6f 6e 2d 6c | for use| in on-l|
|00005500| 69 6e 65 20 63 6f 6e 74 | 72 6f 6c 20 6f 66 0a 20 |ine cont|rol of. |
|00005510| 2a 20 61 69 72 63 72 61 | 66 74 2c 20 61 69 72 20 |* aircra|ft, air |
|00005520| 74 72 61 66 66 69 63 2c | 20 61 69 72 63 72 61 66 |traffic,| aircraf|
|00005530| 74 20 6e 61 76 69 67 61 | 74 69 6f 6e 20 6f 72 20 |t naviga|tion or |
|00005540| 61 69 72 63 72 61 66 74 | 20 63 6f 6d 6d 75 6e 69 |aircraft| communi|
|00005550| 63 61 74 69 6f 6e 73 3b | 20 6f 72 20 69 6e 0a 20 |cations;| or in. |
|00005560| 2a 20 74 68 65 20 64 65 | 73 69 67 6e 2c 20 63 6f |* the de|sign, co|
|00005570| 6e 73 74 72 75 63 74 69 | 6f 6e 2c 20 6f 70 65 72 |nstructi|on, oper|
|00005580| 61 74 69 6f 6e 20 6f 72 | 20 6d 61 69 6e 74 65 6e |ation or| mainten|
|00005590| 61 6e 63 65 20 6f 66 20 | 61 6e 79 20 6e 75 63 6c |ance of |any nucl|
|000055a0| 65 61 72 0a 20 2a 20 66 | 61 63 69 6c 69 74 79 2e |ear. * f|acility.|
|000055b0| 20 4c 69 63 65 6e 73 65 | 65 20 72 65 70 72 65 73 | License|e repres|
|000055c0| 65 6e 74 73 20 61 6e 64 | 20 77 61 72 72 61 6e 74 |ents and| warrant|
|000055d0| 73 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 6e |s that i|t will n|
|000055e0| 6f 74 20 75 73 65 20 6f | 72 0a 20 2a 20 72 65 64 |ot use o|r. * red|
|000055f0| 69 73 74 72 69 62 75 74 | 65 20 74 68 65 20 53 6f |istribut|e the So|
|00005600| 66 74 77 61 72 65 20 66 | 6f 72 20 73 75 63 68 20 |ftware f|or such |
|00005610| 70 75 72 70 6f 73 65 73 | 2e 0a 20 2a 2f 0a 0a 70 |purposes|.. */..p|
|00005620| 61 63 6b 61 67 65 20 65 | 78 61 6d 70 6c 65 73 2e |ackage e|xamples.|
|00005630| 72 6d 69 73 6f 63 66 61 | 63 3b 0a 0a 69 6d 70 6f |rmisocfa|c;..impo|
|00005640| 72 74 20 6a 61 76 61 2e | 69 6f 2e 2a 3b 0a 69 6d |rt java.|io.*;.im|
|00005650| 70 6f 72 74 20 6a 61 76 | 61 2e 6e 65 74 2e 2a 3b |port jav|a.net.*;|
|00005660| 0a 69 6d 70 6f 72 74 20 | 6a 61 76 61 2e 72 6d 69 |.import |java.rmi|
|00005670| 2e 73 65 72 76 65 72 2e | 2a 3b 0a 0a 70 75 62 6c |.server.|*;..publ|
|00005680| 69 63 20 63 6c 61 73 73 | 20 43 6f 6d 70 72 65 73 |ic class| Compres|
|00005690| 73 69 6f 6e 53 65 72 76 | 65 72 53 6f 63 6b 65 74 |sionServ|erSocket|
|000056a0| 46 61 63 74 6f 72 79 20 | 0a 20 20 20 20 69 6d 70 |Factory |. imp|
|000056b0| 6c 65 6d 65 6e 74 73 20 | 52 4d 49 53 65 72 76 65 |lements |RMIServe|
|000056c0| 72 53 6f 63 6b 65 74 46 | 61 63 74 6f 72 79 2c 20 |rSocketF|actory, |
|000056d0| 53 65 72 69 61 6c 69 7a | 61 62 6c 65 20 7b 0a 0a |Serializ|able {..|
|000056e0| 20 20 20 20 70 75 62 6c | 69 63 20 53 65 72 76 65 | publ|ic Serve|
|000056f0| 72 53 6f 63 6b 65 74 20 | 63 72 65 61 74 65 53 65 |rSocket |createSe|
|00005700| 72 76 65 72 53 6f 63 6b | 65 74 28 69 6e 74 20 70 |rverSock|et(int p|
|00005710| 6f 72 74 29 0a 09 74 68 | 72 6f 77 73 20 49 4f 45 |ort)..th|rows IOE|
|00005720| 78 63 65 70 74 69 6f 6e | 0a 20 20 20 20 7b 0a 09 |xception|. {..|
|00005730| 43 6f 6d 70 72 65 73 73 | 69 6f 6e 53 65 72 76 65 |Compress|ionServe|
|00005740| 72 53 6f 63 6b 65 74 20 | 73 65 72 76 65 72 20 3d |rSocket |server =|
|00005750| 20 6e 65 77 20 43 6f 6d | 70 72 65 73 73 69 6f 6e | new Com|pression|
|00005760| 53 65 72 76 65 72 53 6f | 63 6b 65 74 28 70 6f 72 |ServerSo|cket(por|
|00005770| 74 29 3b 0a 09 72 65 74 | 75 72 6e 20 73 65 72 76 |t);..ret|urn serv|
|00005780| 65 72 3b 0a 20 20 20 20 | 7d 0a 7d 0a 00 00 00 00 |er;. |}.}.....|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 73 6f 63 6b 65 74 73 2f | 43 6f 6d 70 72 65 73 73 |sockets/|Compress|
|00005810| 69 6f 6e 53 6f 63 6b 65 | 74 2e 6a 61 76 61 00 00 |ionSocke|t.java..|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 30 31 30 30 | 36 34 34 00 30 30 37 34 |....0100|644.0074|
|00005870| 35 32 34 00 30 30 31 32 | 36 36 36 00 30 30 30 30 |524.0012|666.0000|
|00005880| 30 30 30 35 34 36 37 00 | 30 36 37 30 31 32 33 32 |0005467.|06701232|
|00005890| 34 31 34 00 30 30 32 30 | 33 31 35 00 30 00 00 00 |414.0020|315.0...|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 75 73 74 61 72 00 30 | 30 6a 76 6f 6c 70 65 00 |.ustar.0|0jvolpe.|
|00005910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005920| 00 00 00 00 00 00 00 00 | 00 6a 69 6e 69 65 61 73 |........|.jinieas|
|00005930| 74 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |t.......|........|
|00005940| 00 00 00 00 00 00 00 00 | 00 30 30 30 30 32 35 34 |........|.0000254|
|00005950| 00 30 30 30 32 31 30 35 | 00 00 00 00 00 00 00 00 |.0002105|........|
|00005960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00005a10| 28 63 29 20 31 39 39 38 | 2c 20 31 39 39 39 20 53 |(c) 1998|, 1999 S|
|00005a20| 75 6e 20 4d 69 63 72 6f | 73 79 73 74 65 6d 73 2c |un Micro|systems,|
|00005a30| 20 49 6e 63 2e 20 41 6c | 6c 20 52 69 67 68 74 73 | Inc. Al|l Rights|
|00005a40| 20 52 65 73 65 72 76 65 | 64 2e 0a 20 2a 0a 20 2a | Reserve|d.. *. *|
|00005a50| 20 53 75 6e 20 67 72 61 | 6e 74 73 20 79 6f 75 20 | Sun gra|nts you |
|00005a60| 28 22 4c 69 63 65 6e 73 | 65 65 22 29 20 61 20 6e |("Licens|ee") a n|
|00005a70| 6f 6e 2d 65 78 63 6c 75 | 73 69 76 65 2c 20 72 6f |on-exclu|sive, ro|
|00005a80| 79 61 6c 74 79 20 66 72 | 65 65 2c 20 6c 69 63 65 |yalty fr|ee, lice|
|00005a90| 6e 73 65 20 74 6f 20 75 | 73 65 2c 0a 20 2a 20 6d |nse to u|se,. * m|
|00005aa0| 6f 64 69 66 79 20 61 6e | 64 20 72 65 64 69 73 74 |odify an|d redist|
|00005ab0| 72 69 62 75 74 65 20 74 | 68 69 73 20 73 6f 66 74 |ribute t|his soft|
|00005ac0| 77 61 72 65 20 69 6e 20 | 73 6f 75 72 63 65 20 61 |ware in |source a|
|00005ad0| 6e 64 20 62 69 6e 61 72 | 79 20 63 6f 64 65 20 66 |nd binar|y code f|
|00005ae0| 6f 72 6d 2c 0a 20 2a 20 | 70 72 6f 76 69 64 65 64 |orm,. * |provided|
|00005af0| 20 74 68 61 74 20 69 29 | 20 74 68 69 73 20 63 6f | that i)| this co|
|00005b00| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00005b10| 6e 64 20 6c 69 63 65 6e | 73 65 20 61 70 70 65 61 |nd licen|se appea|
|00005b20| 72 20 6f 6e 20 61 6c 6c | 20 63 6f 70 69 65 73 20 |r on all| copies |
|00005b30| 6f 66 0a 20 2a 20 74 68 | 65 20 73 6f 66 74 77 61 |of. * th|e softwa|
|00005b40| 72 65 3b 20 61 6e 64 20 | 69 69 29 20 4c 69 63 65 |re; and |ii) Lice|
|00005b50| 6e 73 65 65 20 64 6f 65 | 73 20 6e 6f 74 20 75 74 |nsee doe|s not ut|
|00005b60| 69 6c 69 7a 65 20 74 68 | 65 20 73 6f 66 74 77 61 |ilize th|e softwa|
|00005b70| 72 65 20 69 6e 20 61 20 | 6d 61 6e 6e 65 72 0a 20 |re in a |manner. |
|00005b80| 2a 20 77 68 69 63 68 20 | 69 73 20 64 69 73 70 61 |* which |is dispa|
|00005b90| 72 61 67 69 6e 67 20 74 | 6f 20 53 75 6e 2e 0a 20 |raging t|o Sun.. |
|00005ba0| 2a 0a 20 2a 20 54 68 69 | 73 20 73 6f 66 74 77 61 |*. * Thi|s softwa|
|00005bb0| 72 65 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 22 |re is pr|ovided "|
|00005bc0| 41 53 20 49 53 2c 22 20 | 77 69 74 68 6f 75 74 20 |AS IS," |without |
|00005bd0| 61 20 77 61 72 72 61 6e | 74 79 20 6f 66 20 61 6e |a warran|ty of an|
|00005be0| 79 20 6b 69 6e 64 2e 20 | 41 4c 4c 0a 20 2a 20 45 |y kind. |ALL. * E|
|00005bf0| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00005c00| 44 20 43 4f 4e 44 49 54 | 49 4f 4e 53 2c 20 52 45 |D CONDIT|IONS, RE|
|00005c10| 50 52 45 53 45 4e 54 41 | 54 49 4f 4e 53 20 41 4e |PRESENTA|TIONS AN|
|00005c20| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00005c30| 43 4c 55 44 49 4e 47 20 | 41 4e 59 0a 20 2a 20 49 |CLUDING |ANY. * I|
|00005c40| 4d 50 4c 49 45 44 20 57 | 41 52 52 41 4e 54 59 20 |MPLIED W|ARRANTY |
|00005c50| 4f 46 20 4d 45 52 43 48 | 41 4e 54 41 42 49 4c 49 |OF MERCH|ANTABILI|
|00005c60| 54 59 2c 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 |TY, FITN|ESS FOR |
|00005c70| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00005c80| 50 4f 53 45 20 4f 52 0a | 20 2a 20 4e 4f 4e 2d 49 |POSE OR.| * NON-I|
|00005c90| 4e 46 52 49 4e 47 45 4d | 45 4e 54 2c 20 41 52 45 |NFRINGEM|ENT, ARE|
|00005ca0| 20 48 45 52 45 42 59 20 | 45 58 43 4c 55 44 45 44 | HEREBY |EXCLUDED|
|00005cb0| 2e 20 53 55 4e 20 41 4e | 44 20 49 54 53 20 4c 49 |. SUN AN|D ITS LI|
|00005cc0| 43 45 4e 53 4f 52 53 20 | 53 48 41 4c 4c 20 4e 4f |CENSORS |SHALL NO|
|00005cd0| 54 20 42 45 0a 20 2a 20 | 4c 49 41 42 4c 45 20 46 |T BE. * |LIABLE F|
|00005ce0| 4f 52 20 41 4e 59 20 44 | 41 4d 41 47 45 53 20 53 |OR ANY D|AMAGES S|
|00005cf0| 55 46 46 45 52 45 44 20 | 42 59 20 4c 49 43 45 4e |UFFERED |BY LICEN|
|00005d00| 53 45 45 20 41 53 20 41 | 20 52 45 53 55 4c 54 20 |SEE AS A| RESULT |
|00005d10| 4f 46 20 55 53 49 4e 47 | 2c 20 4d 4f 44 49 46 59 |OF USING|, MODIFY|
|00005d20| 49 4e 47 0a 20 2a 20 4f | 52 20 44 49 53 54 52 49 |ING. * O|R DISTRI|
|00005d30| 42 55 54 49 4e 47 20 54 | 48 45 20 53 4f 46 54 57 |BUTING T|HE SOFTW|
|00005d40| 41 52 45 20 4f 52 20 49 | 54 53 20 44 45 52 49 56 |ARE OR I|TS DERIV|
|00005d50| 41 54 49 56 45 53 2e 20 | 49 4e 20 4e 4f 20 45 56 |ATIVES. |IN NO EV|
|00005d60| 45 4e 54 20 57 49 4c 4c | 20 53 55 4e 20 4f 52 20 |ENT WILL| SUN OR |
|00005d70| 49 54 53 0a 20 2a 20 4c | 49 43 45 4e 53 4f 52 53 |ITS. * L|ICENSORS|
|00005d80| 20 42 45 20 4c 49 41 42 | 4c 45 20 46 4f 52 20 41 | BE LIAB|LE FOR A|
|00005d90| 4e 59 20 4c 4f 53 54 20 | 52 45 56 45 4e 55 45 2c |NY LOST |REVENUE,|
|00005da0| 20 50 52 4f 46 49 54 20 | 4f 52 20 44 41 54 41 2c | PROFIT |OR DATA,|
|00005db0| 20 4f 52 20 46 4f 52 20 | 44 49 52 45 43 54 2c 0a | OR FOR |DIRECT,.|
|00005dc0| 20 2a 20 49 4e 44 49 52 | 45 43 54 2c 20 53 50 45 | * INDIR|ECT, SPE|
|00005dd0| 43 49 41 4c 2c 20 43 4f | 4e 53 45 51 55 45 4e 54 |CIAL, CO|NSEQUENT|
|00005de0| 49 41 4c 2c 20 49 4e 43 | 49 44 45 4e 54 41 4c 20 |IAL, INC|IDENTAL |
|00005df0| 4f 52 20 50 55 4e 49 54 | 49 56 45 20 44 41 4d 41 |OR PUNIT|IVE DAMA|
|00005e00| 47 45 53 2c 20 48 4f 57 | 45 56 45 52 0a 20 2a 20 |GES, HOW|EVER. * |
|00005e10| 43 41 55 53 45 44 20 41 | 4e 44 20 52 45 47 41 52 |CAUSED A|ND REGAR|
|00005e20| 44 4c 45 53 53 20 4f 46 | 20 54 48 45 20 54 48 45 |DLESS OF| THE THE|
|00005e30| 4f 52 59 20 4f 46 20 4c | 49 41 42 49 4c 49 54 59 |ORY OF L|IABILITY|
|00005e40| 2c 20 41 52 49 53 49 4e | 47 20 4f 55 54 20 4f 46 |, ARISIN|G OUT OF|
|00005e50| 20 54 48 45 20 55 53 45 | 20 4f 46 0a 20 2a 20 4f | THE USE| OF. * O|
|00005e60| 52 20 49 4e 41 42 49 4c | 49 54 59 20 54 4f 20 55 |R INABIL|ITY TO U|
|00005e70| 53 45 20 53 4f 46 54 57 | 41 52 45 2c 20 45 56 45 |SE SOFTW|ARE, EVE|
|00005e80| 4e 20 49 46 20 53 55 4e | 20 48 41 53 20 42 45 45 |N IF SUN| HAS BEE|
|00005e90| 4e 20 41 44 56 49 53 45 | 44 20 4f 46 20 54 48 45 |N ADVISE|D OF THE|
|00005ea0| 0a 20 2a 20 50 4f 53 53 | 49 42 49 4c 49 54 59 20 |. * POSS|IBILITY |
|00005eb0| 4f 46 20 53 55 43 48 20 | 44 41 4d 41 47 45 53 2e |OF SUCH |DAMAGES.|
|00005ec0| 0a 20 2a 0a 20 2a 20 54 | 68 69 73 20 73 6f 66 74 |. *. * T|his soft|
|00005ed0| 77 61 72 65 20 69 73 20 | 6e 6f 74 20 64 65 73 69 |ware is |not desi|
|00005ee0| 67 6e 65 64 20 6f 72 20 | 69 6e 74 65 6e 64 65 64 |gned or |intended|
|00005ef0| 20 66 6f 72 20 75 73 65 | 20 69 6e 20 6f 6e 2d 6c | for use| in on-l|
|00005f00| 69 6e 65 20 63 6f 6e 74 | 72 6f 6c 20 6f 66 0a 20 |ine cont|rol of. |
|00005f10| 2a 20 61 69 72 63 72 61 | 66 74 2c 20 61 69 72 20 |* aircra|ft, air |
|00005f20| 74 72 61 66 66 69 63 2c | 20 61 69 72 63 72 61 66 |traffic,| aircraf|
|00005f30| 74 20 6e 61 76 69 67 61 | 74 69 6f 6e 20 6f 72 20 |t naviga|tion or |
|00005f40| 61 69 72 63 72 61 66 74 | 20 63 6f 6d 6d 75 6e 69 |aircraft| communi|
|00005f50| 63 61 74 69 6f 6e 73 3b | 20 6f 72 20 69 6e 0a 20 |cations;| or in. |
|00005f60| 2a 20 74 68 65 20 64 65 | 73 69 67 6e 2c 20 63 6f |* the de|sign, co|
|00005f70| 6e 73 74 72 75 63 74 69 | 6f 6e 2c 20 6f 70 65 72 |nstructi|on, oper|
|00005f80| 61 74 69 6f 6e 20 6f 72 | 20 6d 61 69 6e 74 65 6e |ation or| mainten|
|00005f90| 61 6e 63 65 20 6f 66 20 | 61 6e 79 20 6e 75 63 6c |ance of |any nucl|
|00005fa0| 65 61 72 0a 20 2a 20 66 | 61 63 69 6c 69 74 79 2e |ear. * f|acility.|
|00005fb0| 20 4c 69 63 65 6e 73 65 | 65 20 72 65 70 72 65 73 | License|e repres|
|00005fc0| 65 6e 74 73 20 61 6e 64 | 20 77 61 72 72 61 6e 74 |ents and| warrant|
|00005fd0| 73 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 6e |s that i|t will n|
|00005fe0| 6f 74 20 75 73 65 20 6f | 72 0a 20 2a 20 72 65 64 |ot use o|r. * red|
|00005ff0| 69 73 74 72 69 62 75 74 | 65 20 74 68 65 20 53 6f |istribut|e the So|
|00006000| 66 74 77 61 72 65 20 66 | 6f 72 20 73 75 63 68 20 |ftware f|or such |
|00006010| 70 75 72 70 6f 73 65 73 | 2e 0a 20 2a 2f 0a 0a 70 |purposes|.. */..p|
|00006020| 61 63 6b 61 67 65 20 65 | 78 61 6d 70 6c 65 73 2e |ackage e|xamples.|
|00006030| 72 6d 69 73 6f 63 66 61 | 63 3b 0a 0a 69 6d 70 6f |rmisocfa|c;..impo|
|00006040| 72 74 20 6a 61 76 61 2e | 69 6f 2e 2a 3b 0a 69 6d |rt java.|io.*;.im|
|00006050| 70 6f 72 74 20 6a 61 76 | 61 2e 6e 65 74 2e 2a 3b |port jav|a.net.*;|
|00006060| 0a 20 0a 63 6c 61 73 73 | 20 43 6f 6d 70 72 65 73 |. .class| Compres|
|00006070| 73 69 6f 6e 53 6f 63 6b | 65 74 20 65 78 74 65 6e |sionSock|et exten|
|00006080| 64 73 20 53 6f 63 6b 65 | 74 20 7b 0a 0a 20 20 20 |ds Socke|t {.. |
|00006090| 20 2f 2a 20 49 6e 70 75 | 74 53 74 72 65 61 6d 20 | /* Inpu|tStream |
|000060a0| 75 73 65 64 20 62 79 20 | 73 6f 63 6b 65 74 20 2a |used by |socket *|
|000060b0| 2f 0a 20 20 20 20 70 72 | 69 76 61 74 65 20 49 6e |/. pr|ivate In|
|000060c0| 70 75 74 53 74 72 65 61 | 6d 20 69 6e 3b 0a 20 20 |putStrea|m in;. |
|000060d0| 20 20 2f 2a 20 4f 75 74 | 70 75 74 53 74 72 65 61 | /* Out|putStrea|
|000060e0| 6d 20 75 73 65 64 20 62 | 79 20 73 6f 63 6b 65 74 |m used b|y socket|
|000060f0| 20 2a 2f 0a 20 20 20 20 | 70 72 69 76 61 74 65 20 | */. |private |
|00006100| 4f 75 74 70 75 74 53 74 | 72 65 61 6d 20 6f 75 74 |OutputSt|ream out|
|00006110| 3b 0a 0a 20 20 20 20 2f | 2a 20 0a 20 20 20 20 20 |;.. /|* . |
|00006120| 2a 20 4e 6f 2d 61 72 67 | 20 63 6f 6e 73 74 72 75 |* No-arg| constru|
|00006130| 63 74 6f 72 20 66 6f 72 | 20 63 6c 61 73 73 20 43 |ctor for| class C|
|00006140| 6f 6d 70 72 65 73 73 69 | 6f 6e 53 6f 63 6b 65 74 |ompressi|onSocket|
|00006150| 20 20 0a 20 20 20 20 20 | 2a 2f 0a 20 20 20 20 70 | . |*/. p|
|00006160| 75 62 6c 69 63 20 43 6f | 6d 70 72 65 73 73 69 6f |ublic Co|mpressio|
|00006170| 6e 53 6f 63 6b 65 74 28 | 29 20 7b 20 73 75 70 65 |nSocket(|) { supe|
|00006180| 72 28 29 3b 20 7d 0a 0a | 20 20 20 20 2f 2a 20 0a |r(); }..| /* .|
|00006190| 20 20 20 20 20 2a 20 43 | 6f 6e 73 74 72 75 63 74 | * C|onstruct|
|000061a0| 6f 72 20 66 6f 72 20 63 | 6c 61 73 73 20 43 6f 6d |or for c|lass Com|
|000061b0| 70 72 65 73 73 69 6f 6e | 53 6f 63 6b 65 74 20 0a |pression|Socket .|
|000061c0| 20 20 20 20 20 2a 2f 0a | 20 20 20 20 70 75 62 6c | */.| publ|
|000061d0| 69 63 20 43 6f 6d 70 72 | 65 73 73 69 6f 6e 53 6f |ic Compr|essionSo|
|000061e0| 63 6b 65 74 28 53 74 72 | 69 6e 67 20 68 6f 73 74 |cket(Str|ing host|
|000061f0| 2c 20 69 6e 74 20 70 6f | 72 74 29 20 74 68 72 6f |, int po|rt) thro|
|00006200| 77 73 20 49 4f 45 78 63 | 65 70 74 69 6f 6e 20 7b |ws IOExc|eption {|
|00006210| 0a 20 20 20 20 20 20 20 | 20 73 75 70 65 72 28 68 |. | super(h|
|00006220| 6f 73 74 2c 20 70 6f 72 | 74 29 3b 0a 20 20 20 20 |ost, por|t);. |
|00006230| 7d 0a 0a 20 20 20 20 2f | 2a 20 0a 20 20 20 20 20 |}.. /|* . |
|00006240| 2a 20 52 65 74 75 72 6e | 73 20 61 20 73 74 72 65 |* Return|s a stre|
|00006250| 61 6d 20 6f 66 20 74 79 | 70 65 20 43 6f 6d 70 72 |am of ty|pe Compr|
|00006260| 65 73 73 69 6f 6e 49 6e | 70 75 74 53 74 72 65 61 |essionIn|putStrea|
|00006270| 6d 20 0a 20 20 20 20 20 | 2a 2f 0a 20 20 20 20 70 |m . |*/. p|
|00006280| 75 62 6c 69 63 20 49 6e | 70 75 74 53 74 72 65 61 |ublic In|putStrea|
|00006290| 6d 20 67 65 74 49 6e 70 | 75 74 53 74 72 65 61 6d |m getInp|utStream|
|000062a0| 28 29 20 74 68 72 6f 77 | 73 20 49 4f 45 78 63 65 |() throw|s IOExce|
|000062b0| 70 74 69 6f 6e 20 7b 0a | 20 20 20 20 20 20 20 20 |ption {.| |
|000062c0| 69 66 20 28 69 6e 20 3d | 3d 20 6e 75 6c 6c 29 20 |if (in =|= null) |
|000062d0| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 69 6e |{. | in|
|000062e0| 20 3d 20 6e 65 77 20 43 | 6f 6d 70 72 65 73 73 69 | = new C|ompressi|
|000062f0| 6f 6e 49 6e 70 75 74 53 | 74 72 65 61 6d 28 73 75 |onInputS|tream(su|
|00006300| 70 65 72 2e 67 65 74 49 | 6e 70 75 74 53 74 72 65 |per.getI|nputStre|
|00006310| 61 6d 28 29 29 3b 0a 20 | 20 20 20 20 20 20 20 7d |am());. | }|
|00006320| 0a 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 |. | return |
|00006330| 69 6e 3b 0a 20 20 20 20 | 7d 0a 0a 20 20 20 20 2f |in;. |}.. /|
|00006340| 2a 20 0a 20 20 20 20 20 | 2a 20 52 65 74 75 72 6e |* . |* Return|
|00006350| 73 20 61 20 73 74 72 65 | 61 6d 20 6f 66 20 74 79 |s a stre|am of ty|
|00006360| 70 65 20 43 6f 6d 70 72 | 65 73 73 69 6f 6e 4f 75 |pe Compr|essionOu|
|00006370| 74 70 75 74 53 74 72 65 | 61 6d 20 0a 20 20 20 20 |tputStre|am . |
|00006380| 20 2a 2f 0a 20 20 20 20 | 70 75 62 6c 69 63 20 4f | */. |public O|
|00006390| 75 74 70 75 74 53 74 72 | 65 61 6d 20 67 65 74 4f |utputStr|eam getO|
|000063a0| 75 74 70 75 74 53 74 72 | 65 61 6d 28 29 20 74 68 |utputStr|eam() th|
|000063b0| 72 6f 77 73 20 49 4f 45 | 78 63 65 70 74 69 6f 6e |rows IOE|xception|
|000063c0| 20 7b 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 6f | {. | if (o|
|000063d0| 75 74 20 3d 3d 20 6e 75 | 6c 6c 29 20 7b 0a 20 20 |ut == nu|ll) {. |
|000063e0| 20 20 20 20 20 20 20 20 | 20 20 6f 75 74 20 3d 20 | | out = |
|000063f0| 6e 65 77 20 43 6f 6d 70 | 72 65 73 73 69 6f 6e 4f |new Comp|ressionO|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.