第1章 java.io包 1
1.1 接口詳解 1
1.1.1 包中所有接口繼承樹 1
1.1.2 DataInput接口 1
1.1.3 DataOutput接口 6
1.1.4 *Externalizable接口 10
1.1.5 *FileFilter接口 11
1.1.6 *FilenameFilter接口 12
1.1.7 *ObjectInput接口 13
1.1.8 *ObjectInputValidation接口 16
1.1.9 *ObjectOutput接口 17
1.1.10 *ObjectStreamConstants接口 19
1.1.11 *Serializable接口 23
1.2 類詳解 24
1.2.1 io包中所有類繼承樹 24
1.2.2 *BufferedInputStream類 25
1.2.3 *BufferedOutputStream類 30
1.2.4 *BufferedReader類 34
1.2.5 *BufferedWriter類 38
1.2.6 ByteArrayInputStream類 41
1.2.7 ByteArrayOutputStream類 45
1.2.8 *CharArrayReader類 49
1.2.9 *CharArrayWriter類 52
1.2.10 DataInputStream類 56
1.2.11 DataOutputStream類 63
1.2.12 *File類 68
1.2.13 *FileDescriptor類 83
1.2.14 *FileInputStream類 86
1.2.15 *FileOutputStream類 90
1.2.16 *FilePermission類 95
1.2.17 *FileReader類 97
1.2.18 *FileWriter類 100
1.2.19 *FilterInputStream類 102
1.2.20 *FilterOutputStream類 106
1.2.21 *FilterReader類 109
1.2.22 *FilterWriter類 112
1.2.23 InputStream類 115
1.2.24 InputStreamReader類 120
1.2.25 *LineNumberReader類 123
1.2.26 *ObjectInputStream類 127
1.2.27 *ObjectInputStream.GetField類 137
1.2.28 *ObjectOutputStream類 142
1.2.29 *ObjectOutputStream.PutField類 151
1.2.30 *ObjectStreamClass類 154
1.2.31 *ObjectStreamField類 157
1.2.32 OutputStream類 160
1.2.33 OutputStreamWriter類 162
1.2.34 *PipedInputStream類 165
1.2.35 *PipedOutputStream類 170
1.2.36 *PipedReader類 173
1.2.37 *PipedWriter類 176
1.2.38 PrintStream類 179
1.2.39 *PrintWriter類 184
1.2.40 *PushbackInputStream類 192
1.2.41 *PushbackReader類 196
1.2.42 *RandomAccessFile類 201
1.2.43 Reader類 215
1.2.44 *SequenceInputStream類 218
1.2.45 *SerializablePermission類 221
1.2.46 *StringReader類 223
1.2.47 *StringWriter類 226
1.2.48 Writer類 229
1.3 異常詳解 232
1.3.1 io包中所有異常繼承樹 232
1.3.2 *CharConversionException異常 233
1.3.3 EOFException異常 234
1.3.4 *FileNotFoundException異常 236
1.3.5 InterruptedIOException異常 237
1.3.6 *InvalidClassException異常 239
1.3.7 *InvalidObjectException異常 241
1.3.8 IOException異常 242
1.3.9 *NotActiveException異常 244
1.3.10 *NotSerializableException異常 245
1.3.11 *ObjectStreamException異常 247
1.3.12 *OptionalDataException異常 248
1.3.13 *StreamCorruptedException異常 250
1.3.14 *SyncFailedException異常 252
1.3.15 UnsupportedEncodingException異常 253
1.3.16 UTFDataFormatException異常 254
1.3.17 *WriteAbortedException異常 256
第2章 java.lang包 259
2.1 接口詳解 259
2.1.1 lang包中所有接口繼承樹 259
2.1.2 *Cloneable接口 259
2.1.3 *Comparable接口 259
2.1.4 Runnable接口 260
2.2 類詳解 261
2.2.1 lang包中所有類繼承樹 261
2.2.2 Boolean類 262
2.2.3 Byte類 264
2.2.4 Character類 267
2.2.5 *Character.Subset類 271
2.2.6 *Character.UnicodeBlock類 273
2.2.7 Class類 275
2.2.8 *ClassLoader類 278
2.2.9 *Compiler類 288
2.2.10 *Double類 290
2.2.11 *Float類 298
2.2.12 *InheritableThreadLocal類 306
2.2.13 Integer類 308
2.2.14 Long類 314
2.2.15 Math類 318
2.2.16 *Number類 321
2.2.17 Object類 323
2.2.18 *Package類 327
2.2.19 *Process類 330
2.2.20 Runtime類 333
2.2.21 *RuntimePermission類 335
2.2.22 *SecurityManager類 336
2.2.23 Short類 350
2.2.24 *StrictMath類 353
2.2.25 String類 365
2.2.26 StringBuffer類 379
2.2.27 System類 389
2.2.28 Thread類 392
2.2.29 *ThreadGroup類 397
2.2.30 *ThreadLocal類 405
2.2.31 Throwable類 406
2.2.32 *Void類 409
2.3 異常詳解 410
2.3.1 lang包中所有異常繼承樹 410
2.3.2 ArithmeticException異常 410
2.3.3 ArrayIndexOutOfBoundsException異常 412
2.3.4 ArrayStoreException異常 414
2.3.5 ClassCastException異常 415
2.3.6 ClassNotFoundException異常 417
2.3.7 *CloneNotSupportedException異常 418
2.3.8 Exception異常 420
2.3.9 IllegalAccessException異常 421
2.3.10 IllegalArgumentException異常 423
2.3.11 IllegalMonitorStateException異常 425
2.3.12 IllegalStateException異常 426
2.3.13 IllegalThreadStateException異常 428
2.3.14 IndexOutOfBoundsException異常 429
2.3.15 InstantiationException異常 431
2.3.16 InterruptedException異常 432
2.3.17 NegativeArraySizeException異常 433
2.3.18 *NoSuchFieldException異常 435
2.3.19 *NoSuchMethodException異常 436
2.3.20 NullPointerException異常 438
2.3.21 NumberFormatException異常 439
2.3.22 RuntimeException異常 440
2.3.23 SecurityException異常 442
2.3.24 StringIndexOutOfBoundsException異常 443
2.3.25 *UnsupportedOperationException異常 444
2.4 錯誤詳解 446
2.4.1 lang包中所有錯誤繼承樹 446
2.4.2 *AbstractMethodError錯誤 447
2.4.3 *ClassCircularityError錯誤 448
2.4.4 *ClassFormatError錯誤 450
2.4.5 Error錯誤 451
2.4.6 *ExceptionInInitializerError錯誤 453
2.4.7 *IllegalAccessError錯誤 455
2.4.8 *IncompatibleClassChangeError錯誤 457
2.4.9 *InstantiationError錯誤 458
2.4.10 *InternalError錯誤 460
2.4.11 *LinkageError錯誤 461
2.4.12 *NoClassDefFoundError錯誤 463
2.4.13 *NoSuchFieldError錯誤 464
2.4.14 *NoSuchMethodError錯誤 466
2.4.15 OutOfMemoryError錯誤 467
2.4.16 *StackOverflowError錯誤 469
2.4.17 *ThreadDeath錯誤 470
2.4.18 *UnknownError錯誤 471
2.4.19 *UnsatisfiedLinkError錯誤 473
2.4.20 *UnsupportedClassVersionError錯誤 474
2.4.21 *VerifyError錯誤 476
2.4.22 VirtualMachineError錯誤 477
第3章 java.util包 481
3.1 接口詳解 481
3.1.1 util包中所有接口繼承樹 481
3.1.2 Enumeration接口 481
3.2 類詳解 482
3.2.1 util包中所有類繼承樹 482
3.2.2 Calendar類 482
3.2.3 Date類 490
3.2.4 Hashtable類 492
3.2.5 Random類 496
3.2.6 Stack類 499
3.2.7 Timer類 502
3.2.8 TimerTask類 507
3.2.9 TimeZone類 509
3.2.10 Vector類 512
3.3 異常詳解 519
3.3.1 util包中所有異常繼承樹 519
3.3.2 EmptyStackException異常 520
3.3.3 NoSuchElementException異常 521
第4章 javax.microedition.io包 523
4.1 接口詳解 523
4.1.1 io包中所有接口繼承樹 523
4.1.2 Connection接口 523
4.1.3 ContentConnection接口 524
4.1.4 Datagram接口 526
4.1.5 DatagramConnection接口 530
4.1.6 HttpConnection接口 532
4.1.7 InputConnection接口 549
4.1.8 OutputConnection接口 551
4.1.9 StreamConnection接口 553
4.1.10 StreamConnectionNotifier接口 556
4.2 類詳解 557
4.2.1 io包中所有類繼承樹 557
4.2.2 Connector類 557
4.3 異常詳解 561
4.3.1 io包中所有異常繼承樹 561
4.3.2 ConnectionNotFoundException異常 561
第5章 javax.microedition.lcdui包 563
5.1 接口詳解 563
5.1.1 rms包中所有接口繼承樹 563
5.1.2 Choice接口 563
5.1.3 CommandListener接口 569
5.1.4 ItemStateListener接口 571
5.2 類詳解 573
5.2.1 lcdui包中所有類繼承樹 573
5.2.2 Alert類 574
5.2.3 AlertType類 580
5.2.4 Canvas類 583
5.2.5 ChoiceGroup類 594
5.2.6 Command類 603
5.2.7 DateField類 607
5.2.8 Display類 612
5.2.9 Displayable類 616
5.2.10 Font類 617
5.2.11 Form類 623
5.2.12 Gauge類 629
5.2.13 Graphics類 634
5.2.14 Image類 647
5.2.15 ImageItem類 650
5.2.16 Item類 656
5.2.17 List類 657
5.2.18 Screen類 668
5.2.19 StringItem類 670
5.2.20 TextBox類 671
5.2.21 TextField類 680
5.2.22 Ticker類 688
第6章 javax.microedition.midlet包 693
6.1 類詳解 693
6.1.1 MIDlet包中所有類繼承樹 693
6.1.2 MIDlet類 693
6.2 異常詳解 700
6.2.1 MIDlet包中所有異常繼承樹 700
6.2.2 MIDletStateChangeException異常 700
第7章 javax.microedition.rms包 703
7.1 接口詳解 703
7.1.1 rms包中所有接口繼承樹 703
7.1.2 RecordComparator接口 703
7.1.3 RecordEnumeration接口 705
7.1.4 RecordFilter接口 708
7.1.5 RecordListener接口 709
7.2 類詳解 710
7.2.1 rms包中所有類繼承樹 710
7.2.2 RecordStore類 710
7.3 異常詳解 721
7.3.1 rms包中所有異常繼承樹 721
7.3.2 InvalidRecordIDException異常 722
7.3.3 RecordStoreException異常 723
7.3.4 RecordStoreFullException異常 724
7.3.5 RecordStoreNotFoundException異常 725
7.3.6 RecordStoreNotOpenException異常 727