Java Cookbook, Second Edition

 

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z]

abstract classes

    building management classes 

    guidelines for using 

abstract methods 

    Plotter class (example) 

Abstract Windowing Toolkit  [See AWT]

AbstractStringBuilder class 

accented characters, matching 

accept( )

    FileFilter interface 

    FilenameFilter interface 

    multithreaded network server 

    ServerSocket class  2nd  3rd 

acceptChanges( ) (RowSet) 

access type or mode, setting for parallel port 

Accessor class 

action handling  2nd 

    anonymous inner classes, using 

    inner classes, using for 

ActionListener interface  2nd 

    buttons, action handling for 

    implementing with anonymous inner class 

adapter classes

    AppletAdapter (example) 

    MacOSAppAdapter class (example) 

add( )

    Calendar class  2nd 

    Collections class 

    Container class 

addActionListener( )  2nd 

addChoosableFileFilter( ) (JFileChooser) 

addElement( ) (Vector) 

addLayoutComponent( ) (LayoutManager) 

addresses

    host, getting all 

    network interface 

addShutdownHook( ) 

addTab( ) (JTabbedPane) 

Adobe FrameMaker, MIF (Maker Interchange Format), transforming XML document to 

after( ) (Date) 

Agile Methods 

algorithms, books about 

alignment

    decimal points in numbers 

    strings 

alternation in regular expression pattern matching 

animation 

    animator program (Sprite example) 

annotations 

anonymous inner classes 

    action handling with 

    class names for 

Ant program 

    make utility vs. 

ANTLR (scanning tool) 

Apache

    Logging Services Project  2nd 

    Tomcat server  2nd 

    web server, parsing log file with regular expressions 

    Xalan (XSLT processor) 

    XML Xerces-Java project 

Apache Foundation Jakarta Project

    Ant software, downloading 

    Regular Expressions and ORO packages 

APIs 

    application JAR files, including in 

    importance of using 

    JDK 1.4 Logging API 

    packaged, using 

    printing 

    Regular Expressions 

    XML

        JDOM 

        SAX and DOM 

append( ) (StringBuilder)  2nd 

appendReplacement( ) 

appendTail( ) 

Apple Macintosh  [See Mac OS X Macintosh]

AppletContext class

    implementing in AppletAdapter (example) 

    showDocument( ) 

AppletMethods class (example) 

applets  2nd 

    animator applet (Bounce class) 

    Applet class 

        FlowLayout, default layout manager 

        getImage( ) 

        JApplet class vs. 

        lifecycle methods 

    ButtonDemo class (example) 

    ChatRoom class (example) 

    contacting server on applet host 

    converting filename to URL 

    deploying 

        <applet> tag, using 

    DropShadow class (example) 

    email, sending with 

        MailtoButton (HTML page) 

    extracting HTML tags from URL 

    extracting URLs from a file 

    file indexer, making 

    HTML template files 

        HelloApplet.html (example) 

    java.applet package 

    link checker, automating 

    loading classes subclassed from Applet 

        AppletAdapter class (example) 

        AppletViewer class (main program) 

    loading of 

    playing sound files 

    reading URL content 

    running 

        from command line 

        from JAR file 

    running CGI script 

    running JavaScript 

    running with JDK 

        HTML, converting for Java Plug-in 

        Java Plug-in, using 

    showing new web page 

    text drawn with application font, problems with 

    thread security and 

    URI, URL, or URN 

    writing 

AppletStub class, implementing in AppletAdapter (example) 

AppletViewer tool  2nd 

    writing your own 

        AppletAdapter class (example) 

        AppletViewer class (source code) 

Application Bundles (Mac OS X) 

application-specific exceptions, writing 

applications 

    black box testing 

    distributed, building with XML and HTTP  2nd  [See also distributed computing]

    distributing electronically with Java Web Start 

        permissions, setting for 

    JAR file (main), contents of 

    threaded

        animation 

        background thread, saving userÕs work in 

        network servers 

        rendezvous and timeouts 

        stopping 

        synchronizing with wait( ) and notifyAll( ) 

        writing 

Appt class (example) 

archives  [See also JAR files]

    JAR or zip, reading/writing files 

area of triangle, HeronÕs formula for 

arguments

    command line  [See command line]

    variable arguments mechanism in Java 

arithmetic, using on chars 

arrayCopy( ) (System) 

ArrayHunt class (example) 

ArrayIndexOutOfBoundsException 

ArrayList class 

    contains( ) 

    converting to array of type Object 

    indexOf( ) 

    methods, lacking synchronization 

    multidimensional 

    performance time, array vs. 

    synchronizing access to 

    Vector class vs. 

ArrayListGenericDemo program (example) 

arrays  2nd 

    accessing all elements with foreach loop 

    byte, converting to/from objects 

    changing array reference declaration for main method argument 

    of characters, Java strings vs.  2nd 

    converting collections to 

    data structuring with 

        resizing arrays 

        types in 

    indexes, incrementing 

    multidimensional 

    of objects, cloning 

    performance, collections vs. 

    of strings (StringTokenizer example) 

    two-dimensional, multiplying 

Arrays class 

    binarySearch( )  2nd 

    sort( )  2nd 

ArrayVec class (example) 

ASCII characters 

    SMTP requests, using for 

asterisk  [See * under Symbols]

atoi/atof functions (C language), Java equivalent 

attachments, email 

attributes

    file, changing 

    HTML 

    HTML applet template files 

    manifest file, JAR 

    storage, class fields and methods 

    XML, quoting 

audio and video media, playing 

AudioClip class 

    play( ) 

autoboxing  2nd 

AutoSave class (example) 

awakening thread waiting on object 

AWT (Abstract Windowing Toolkit)  2nd 

    Applet class 

    exception handling 

    FileDialog, internationalization and 

    Frame component 

    layout manager classes 

    listener relationships 

    paint model for drawing 

    PlotterAWT class (example) 

    windows, closing 

 

Категории