Index

Symbols

.au format, downloading sounds in, Downloading Sounds

A

Abstract Windowing Toolkit (see AWT)
accept() (ServerSocket), Accepting and Closing Connections, public Socket accept( ) throws IOException
Activatable class, The Server Side, The RemoteServer Class
ActivationGroup class, The RemoteServer Class
addAttribute() (MutableAttributeSet), Attributes
addBodyPart() (Multipart), Multipart Messages and File Attachments
addFrom() (Message), The From address
addHandshakeCompletedListener(), Event Handlers
addHeader() (Part), Headers
addHeaderLine() (MimeMessage), MIME Messages
addImage() (MediaTracker), public void addImage(Image image, int id)
addRecipients() (Message), The recipient addresses
Address class, The Address Class
agents, Searching the Web
AIFF format, downloading sounds in, Downloading Sounds
allowUserInteraction field (URLConnection), allowUserInteraction
American Registry for Internet Numbers (ARIN), Networks
appendMessages() (Folder), Managing Messages in Folders
Applet class, The Network Methods of java.applet.Applet
AppletContext interface, Using java.applet.Applet to Download Data
image formats and, public Image getImage(URL u)
network methods of, Network Methods of java.applet.AppletContext, Network Methods of java.applet.AppletContext
applets, Where Do Applets and Classes Come from?
animator, example program, public boolean waitForAll( ) throws InterruptedException, public boolean waitForAll( ) throws InterruptedException
client for remote object, example program, An Applet Client for a Remote Object
content handlers and, What Is a Content Handler?, Installing Content Handler Factories
context of, accessing, Network Methods of java.applet.AppletContext
for displaying URLs, example program, public URL getDocumentBase( )
email, sending from, Sending Email from an Applet, Sending Email from an Applet
multicast sockets and, Working with Multicast Sockets
networks and, The Network Methods of java.applet.Applet, Network Methods of java.applet.AppletContext
security and, Security: Who Can an Applet Talk to and What Can It Say?
stubs and, The RMISecurityManager Class
AppletStub interface, Using java.applet.Applet to Download Data
application layer, The Application Layer
ARIN (American Registry for Internet Numbers), Networks
ASN keyword, Whois
asymmetric encryption, Secure Communications
AttributeSet interface, Attributes
audio (see sounds)
audio clips, downloading, public static final AudioClip newAudioClip(URL url) // Java 1.2
AudioClip interface, public AudioClip getAudioClip(URL u)
authentication, The Authenticator Class, The JPasswordField Class
dialog, example programs, The JPasswordField Class, The JPasswordField Class
email passwords, Password Authentication, Password Authentication
, Password Authentication
(see also passwords)
Authenticator class, The Authenticator Class, Password Authentication
email, receiving, Receiving Mail
available()
InputStream class, Input Streams
PushbackInputStream class, PushbackInputStream
AWT (Abstract Windowing Toolkit), Callbacks

C

callbacks, Callbacks, Callbacks
case sensitivity, HTML in Swing, HTML on Components
CGI (Common Gateway Interface), CGI, CGI, Writing Data to a Server, Remote Method Invocation
communicating with, URLEncoder, Communicating with CGIs and Servlets Through GET, Communicating with CGIs and Servlets Through GET, Writing Data to a Server, Writing Data to a Server
character sets, Readers and Writers
multibyte, PrintWriter
characters in URLs, converting, URLEncoder, URLDecoder
chargen protocol, writing handler for, A chargen Protocol Handler, A chargen Protocol Handler
Charlotte project, Massively parallel computing
chat rooms, Chat
checkAll() (MediaTracker), public boolean checkAll( )
checkID() (MediaTracker), public boolean checkID(int id)
checkImage() (ImageObserver), The ImageObserver Interface
cipher suites
authentication, not requiring, Creating Secure Server Sockets
JSSE supported, Choosing the Cipher Suites
SSLServerSocket class, Choosing the Cipher Suites
SSLSocket class, Choosing the Cipher Suites, Choosing the Cipher Suites
CipherInputStream class, Encrypting Streams
CipherOutputStream class, Encrypting Streams
classes, Where Do Applets and Classes Come from?
applets and, The Network Methods of java.applet.Applet, Network Methods of java.applet.AppletContext
authentication and, The Authenticator Class, The JPasswordField Class, Methods of the SSLSocket Class, Client Mode
callbacks and, Callbacks
compression/decompression, Compressing Streams
content handlers and, The ContentHandler Class, Choosing Return Types
datagrams and, The DatagramPacket Class, SO_SNDBUF
deadlock and, Deadlock
email and, What Is the JavaMail API?, Utility Methods
encryption and, Methods of the SSLSocket Class, Client Mode
HTML, parsing, HTMLEditorKit.Parser, Attributes
immutability and, Alternatives to Synchronization
input, Input Streams, Marking and Resetting
of IP addresses, Internet Address Classes, Internet Address Classes
IP addresses and, DNS, IP Addresses, and All That, public String toString( )
loading at runtime, Loading Classes at Runtime, An Application Client for a Remote Object
multicast, Working with Multicast Sockets, public int getTimeToLive( ) throws IOException // Java 1.2
network, The Layers of a Network
polymorphism and, Output Streams
protocol handlers and, The URLStreamHandler Class, A Method for Connecting
readers/writers, Readers and Writers, PrintWriter
reading/writing data types, Data Streams, Data Streams
retrieving data with URLs, The URL Class, URLDecoder
RMI and, The java.rmi Package, Exceptions
sockets
client, The Socket Class, SO_KEEPALIVE, Creating Secure Client Sockets, Creating Secure Client Sockets
server, The ServerSocket Class, Protected final void implAccept(Socket s) throws IOException, Creating Secure Server Sockets, Client Mode
streams, encrypting, Encrypting Streams
synchronization and, Synchronized Blocks
URLs and, The URLConnection Class, JarURLConnection
client/server model, The Client/Server Model, The Client/Server Model
clients, What Can a Network Program Do?
applet for remote object, example programs, An Applet Client for a Remote Object
application for remote object, example programs, An Application Client for a Remote Object, An Application Client for a Remote Object
downloading objects from servers, Loading Classes at Runtime
email, example programs, Parsing Methods, Searching Folders, Searching Folders
multicasting and, Clients and Servers
POP, example program, Password Authentication
POP3, example program, Receiving Mail
RMI, implementing, The Client Side, The Client Side, Running the Client
sockets for, Sockets for Clients, Socket Exceptions
testing with server, example program, Client Tester, Client Tester
clone() (UnicastRemoteObject), The UnicastRemoteObject Class
close()
DatagramSocket class, public void close( )
Folder class, Receiving Mail, Opening Folders
MulticastSocket class, Working with Multicast Sockets
OutputStream class, Output Streams
ServerSocket class, public void close( ) throws IOException
Socket class, public synchronized void close( ) throws IOException
code base, applet displaying, public URL getCodeBase( )
com.sun.mail.imap.IMAPStore package, What Is the JavaMail API?
com.sun.net.ssl package, Secure Communications
Common Gateway Interface (see CGI)
Common Object Request Broker Architecture (CORBA), Object Serialization
compressing streams, Compressing Streams
connect()
Store class, Receiving Mail
URLConnection class, Opening URLConnections
connected field (URLConnection), connected
connection trees, What Is a Multicast Socket?
constants
ImageObserver interface, The ImageObserver Constants
MediaTracker class, Checking the Status of Media
constructing HTML interfaces, Constructing HTML User Interfaces on the Fly
constructors
ContentHandler class, The ContentHandler Class
DatagramPacket class, The Constructors, Constructors for sending datagrams
DatagramSocket class, The Constructors, public DatagramSocket(int port, InetAddress address) throws SocketException
InternetAddress class, The InternetAddress Class
JEditorPane class, JEditorPane
MediaTracker class, The Constructor
Message class, Creating Messages
MulticastSocket class, The Constructors
NewsAddress class, The NewsAddress Class
RemoteServer class, Constructors
ServerSocket class, The Constructors, public ServerSocket(int port, int queueLength, InetAddress bindAddress) throws BindException, IOException
Socket class, The Socket Class, SO_KEEPALIVE
UnicastRemoteObject class, The UnicastRemoteObject Class
URLConnection class, Opening URLConnections
URLName class, The Constructors
URLStreamHandler class, The URLStreamHandler Class
containsAttributes() (AttributeSet), Attributes
content handlers, Content Handlers, What Is a Content Handler?
example programs, A Content Handler for Tab-Separated Values, Using Content Handlers, Installing Content Handler Factories, A Content Handler for an Image Format: image/x-fits, A Content Handler for an Image Format: image/x-fits
time protocol, Choosing Return Types
for image files, A Content Handler for an Image Format: image/x-fits, A Content Handler for an Image Format: image/x-fits
MIME types and, What Is a Content Handler?
return types, choosing, Choosing Return Types, Choosing Return Types
for tab-separated-values content type, A Content Handler for Tab-Separated Values, A Content Handler for Tab-Separated Values
URLConnection class, Content Handlers, ContentHandlerFactory
using in programs, Using Content Handlers, Using Content Handlers
ContentHandler class, Content Handlers, The ContentHandler Class
methods, What Is a Content Handler?
ContentHandlerFactory interface, What Is a Content Handler?
method, The createContentHandler( ) Method, The createContentHandler( ) Method
ContentHandlerFactory() (URLConnection), ContentHandlerFactory
converting URLs, relative to absolute, Attributes, Attributes
COORDS keyword, A Content Handler for an Image Format: image/x-fits
copyAttributes() (AttributeSet), Attributes
copyMessages() (Folder), Managing Messages in Folders
CORBA (Common Object Request Broker Architecture), Object Serialization
create() (Folder), Managing Folders
createContentHandler() (ContentHandlerFactory), What Is a Content Handler?, The createContentHandler( ) Method, The createContentHandler( ) Method
createRegistry() (LocateRegistry), The LocateRegistry Class
createServerSocket() (SSLServerSocket), Creating Secure Server Sockets
createSocket() (SSLFactorySocket), Creating Secure Client Sockets
createURLStreamHandler()
URLConnection class, What Is a Protocol Handler?
URLStreamHandlerFactory interface, The URLStreamHandlerFactory Interface
creating
sockets
secure client, Creating Secure Client Sockets, Creating Secure Client Sockets
secure server, Creating Secure Server Sockets, Creating Secure Server Sockets
URLs, Creating New URLs, Other sources of URL objects

D

data
buffering, Output Streams
displaying, Retrieve Data and Display It, Repeatedly Retrieve Data
multicast, Clients and Servers
reading from servers, Reading Data from a Server
receiving, example program, public int getOffset( ) // Java 1.2
retrieving, Retrieve Data and Display It, Repeatedly Retrieve Data
from URLs, Retrieving Data from a URL, public final Object getContent(Class[ ] classes) throws IOException // Java 1.3
with URLs, Retrieving Data with URLs, The JPasswordField Class
sending, Send Data, Smart forms
with POST, Writing Data to a Server
writing to servers, Writing Data to a Server, Writing Data to a Server
data streams, Data Streams, Data Streams
data types, Output Streams
reading/writing, Data Streams
databases
content handlers and, A Content Handler for Tab-Separated Values
interface to, example program, The Remote Interface
DatagramPacket class, The UDP Protocol
constructors, The Constructors, Constructors for sending datagrams
methods, The get Methods, public void setLength(int length)
datagrams, The Internet Layer, Sockets for Clients
(see also UDP)
, The Internet Layer, Sockets for Clients
(see also UDP)
receiving, Sending and Receiving Datagrams, public int getLocalPort( )
constructors for, Constructors for receiving datagrams
sending, Sending and Receiving Datagrams, public int getLocalPort( )
constructors for, Constructors for sending datagrams
TTL value, What Is a Multicast Socket?, Clients and Servers
unused at socket close, SO_LINGER
DatagramSocket class, The UDP Protocol, The DatagramSocket Class
constructors, The Constructors, public DatagramSocket(int port, InetAddress address) throws SocketException
methods, Sending and Receiving Datagrams, SO_SNDBUF
DatagramSocket() (DatagramSocket), public DatagramSocket( ) throws SocketException
DataInputStream class, Data Streams
DataOutputStream class, Data Streams
daytime program, example server program, UDPServer
daytime protocol
example program, public InputStream getInputStream( ) throws IOException
server running, example program, public Socket accept( ) throws IOException
writing handler for, A daytime Protocol Handler, A daytime Protocol Handler
deadlock, Deadlock
defaultAllowUserInteraction field (URLConnection), defaultAllowUserInteraction
defaultUseCaches field (URLConnection), defaultUseCaches
DeflaterOutputStream class, Compressing Streams
DELETE (HttpURLConnection), DELETE
delete() (Folder), Managing Folders
dialog box, authentication, example programs, The JPasswordField Class, The JPasswordField Class
DigestInputStream class, Digest Streams
DigestOutputStream class, Digest Streams
digital signatures, returning, JarURLConnection
disconnect() (DatagramSocket), public void disconnect( ) // Java 1.2
displaying
code base, applet for, public URL getCodeBase( )
data, Retrieve Data and Display It, Repeatedly Retrieve Data
document base, applet for, public URL getCodeBase( )
Fibonacci numbers, example program, Constructing HTML User Interfaces on the Fly
images, example program, public Image getImage(URL u)
URLs, example program, public URL getDocumentBase( )
web pages, example program, JEditorPane
DNS (Domain Name System), DNS, IP Addresses, and All That, DNS, IP Addresses, and All That
RFC about, IETF RFCs
document base, applet displaying, public URL getDocumentBase( )
documents
collaborating on, Collaboration
modified, checking, ifModifiedSince
doInput field (URLConnection), doInput
Domain keyword, Whois
Domain Name System (see DNS)
doOutput field (URLConnection), doOutput
downloading
audio clips, public static final AudioClip newAudioClip(URL url) // Java 1.2
images
applet for, Downloading Images, public Image getImage(URL path, String filename)
error checking, public boolean isErrorAny( )
monitoring process of
ImageObserver interface, The ImageObserver Interface, The ImageObserver Constants
MediaTracker class, The MediaTracker Class, Removing Images from MediaTrackers
sounds, Downloading Sounds, public static final AudioClip newAudioClip(URL url) // Java 1.2
via relative URLs, example program, public AudioClip getAudioClip(URL url, String filename)
URL objects, example program, public final Object getContent( ) throws IOException
web pages, example programs, public final InputStream openStream( ) throws IOException, Reading Data from a Server

E

e-commerce, Electronic Commerce, Electronic Commerce
echo protocol
client
example program, public OutputStream getOutputStream( ) throws IOException
implementing with UDP, A UDP Echo Client, A UDP Echo Client
server, example program, UDPServer
email, The JavaMail API, What Is the JavaMail API?
addresses, Addresses, The NewsAddress Class
attachments, Multipart Messages and File Attachments, Multipart Messages and File Attachments
creating, The Message Class
event handling, Event Handling, Event Handling
flags, Flags, Flags
folders, Folders, Folders, Flags
format of, RFC about, IETF RFCs
headers, Basic Header Info, Saving changes
parts of, Attributes
password authentication, Password Authentication, Password Authentication
receiving, Receiving Mail, Receiving Mail
sending, Sending Email, Sending Email
from applets, Sending Email from an Applet, Sending Email from an Applet
URLs and, The URLName Class, Parsing Methods
encode() (URLEncoder), URLEncoder, URLDecoder
encryption, Secure Communications
asymmetric, Secure Communications
streams, Encrypting Streams, Encrypting Streams
END keyword, A Content Handler for an Image Format: image/x-fits
equals()
Address class, The Address Class
InetAddress class, public boolean equals(Object o)
InternetAddress class, The InternetAddress Class
NewsAddress class, The NewsAddress Class
Object class, public boolean equals(Object o)
RemoteObject class, The RemoteObject Class
URLName class, Parsing Methods
URLStreamHandler class, Protected boolean equals(URL u1, URL u2) // Java 1.3
event handlers, secure sockets and, Event Handlers
exceptions
datagrams and, public DatagramSocket(int port) throws SocketException, public void connect(InetAddress host, int port) // Java 1.2
input/output and, Output Streams
IP addresses and, Creating New InetAddress Objects
network connections and, PrintStream is evil and network programmers shouldavoid it like the plague
race conditions and, Race Conditions
remote, Remote Exceptions, Remote Exceptions
RMI and, An Application Client for a Remote Object, Exceptions
sockets and, public Socket(String host, int port) throws UnknownHostException, IOException, public Socket(String host, int port, InetAddress interface, int localPort) throws IOException, Socket Exceptions, public ServerSocket(int port) throws IOException, BindException, public ServerSocket(int port, int queueLength) throws IOException, BindException
thread scheduling and, Sleeping
exists() (Folder), Opening Folders
Expand keyword, Whois
exportObject() (UnicastRemoteObject), The Server Side, The UnicastRemoteObject Class
expunge() (Folder), Managing Messages in Folders
Extensible Markup Language (XML), HTML, SGML, and XML

F

fetch() (Folder), Getting Messages from Folders
Fibonacci numbers, example programs, Constructing HTML User Interfaces on the Fly, The Server Side
File Transfer Protocol (FTP), RFC about, IETF RFCs
FileNameMap() (URLConnection), Configuring the Connection
files
binary, downloading, public int getContentLength( )
deleting, from URLs, DELETE
gzipping, example programs, Thread Pools, Thread Pools
image, content handler for, A Content Handler for an Image Format: image/x-fits, A Content Handler for an Image Format: image/x-fits
modified, checking, ifModifiedSince
pointed to by URLs, Protected boolean sameFile(URL u1, URL u2) // Java 1.3
putting on web servers, PUT
sending from HTTP server, example program, A single-file server, A single-file server
storing, File storage
URL objects pointing to, testing, public boolean sameFile(URL other)
filter streams, Filter Streams, Chaining Filters Together
finalize() (Folder), Utility Methods
finger, Finger
client, example program, Finger
writing protocol handler for, Writing a Protocol Handler, Writing a Protocol Handler
firewalls, Firewalls
FITS (Flexible Image Transport System) files
content handler for, A Content Handler for an Image Format: image/x-fits, A Content Handler for an Image Format: image/x-fits
keywords in, A Content Handler for an Image Format: image/x-fits
flush()
OutputStream class, Output Streams
ParserCallback class, HTMLEditorKit.ParserCallback
Folder class, Folders, Searching Folders, Event Handling
FolderListener interface, Event Handling
forms
compared to Java network programming, Retrieve Data and Display It, Send Data, Electronic Commerce, HTML on Components
posting, Writing Data to a Server
FTP (File Transfer Protocol), RFC about, IETF RFCs
Full keyword, Whois
full-duplex connections, Socket Basics

G

games, Games
Gateway keyword, Whois
GET (URL), CGI and, CGI, URLEncoder, Communicating with CGIs and Servlets Through GET, Communicating with CGIs and Servlets Through GET, doOutput, Writing Data to a Server
getAddress()
DatagramPacket class, public InetAddress getAddress( )
InetAddress class, Other sources of InetAddress objects, public byte[ ] getAddress( )
InternetAddress class, The InternetAddress Class
getAllByName() (InetAddress), public static InetAddress[ ] InetAddress.getAllByName (String hostName) throws UnknownHostException
getAllHeaderLines() (MimeMessage), MIME Messages
getAllHeaders() (Part), Headers
getAllowUserInteraction() (URLConnection), Configuring the Connection, allowUserInteraction
getAllRecipients() (Message), The recipient addresses
getAppletContext() (AppletContext), Network Methods of java.applet.AppletContext
getAttributeCount() (AttributeSet), Attributes
getAttributeNames) (AttributeSet), Attributes
getAudioClip() (Applet), public AudioClip getAudioClip(URL u), public AudioClip getAudioClip(URL url, String filename)
getAuthority() (URL), public string getAuthority( ) // Java 1.3
getBodyPart() (Multipart), Multipart Messages and File Attachments
getByName() (InetAddress), public static InetAddress InetAddress.getByName(String hostName) throws UnknownHostException
getCertificates() (JarURLConnection), JarURLConnection
getClientHost() (RemoteServer), Getting information about the client
getCodeBase()
Applet class, public URL getCodeBase( )
getAudioClip() and, public AudioClip getAudioClip(URL url, String filename)
getImage() and, public Image getImage(URL path, String filename)
play() and, public void play(URL url, String filename)
URL class, Other sources of URL objects
getContent()
ContentHandler class, What Is a Content Handler?, The ContentHandler Class, Choosing Return Types
Part interface, Reading the contents of the part
URL class, public final Object getContent( ) throws IOException, public final Object getContent(Class[ ] classes) throws IOException // Java 1.3, Using Content Handlers
URLConnection class, public Object getContent( ) throws IOException, What Is a Protocol Handler?, Using Content Handlers
getContentEncoding() (URLConnection), public String getContentEncoding( )
getContentID() (MimeMessage), MIME Messages
getContentLanguage() (MimeMessage), MIME Messages
getContentLength() (URLConnection), public int getContentLength( )
getContentType()
Multipart class, Multipart Messages and File Attachments
Part interface, Reading the contents of the part
URLConnection class, public String getContentType( )
getCount() (Multipart), Multipart Messages and File Attachments
getData() (DatagramPacket), public byte[ ] getData( )
getDataHandler() (Part), Reading the contents of the part
getDate() (URLConnection), public long getDate( )
getDefault()
SSLFactorySocket class, Creating Secure Client Sockets
SSLServerSocketFactory class, Creating Secure Server Sockets
getDefaultAllowUserInteraction() (URLConnection), Configuring the Connection
getDefaultPort() (URLStreamHandler), Protected int getDefaultPort( ) // Java 1.3
getDefaultUseCaches() (URLConnection), Configuring the Connection
getDescription() (Part), Attributes
getDisposition() (Part), Attributes
getDocumentBase()
Applet class, public URL getDocumentBase( )
getAudioClip() and, public AudioClip getAudioClip(URL url, String filename)
getImage() and, public Image getImage(URL path, String filename)
play() and, public void play(URL url, String filename)
URL class, Other sources of URL objects
getDoOutput() (URLConnection), Configuring the Connection
getEnabledCipherSuites() (SSLSocket), Choosing the Cipher Suites
getEnableSessionCreation() (SSLSocket), Session Management
getEncoding() (MimeMessage), MIME Messages
getEntryName() (JarURLConnection), JarURLConnection
getErrorsAny() (MediaTracker), public Object[ ] getErrorsAny( )
getErrorsID() (MediaTracker), public Object[ ] getErrorsID(int id)
getExpiration() (URLConnection), public long getExpiration( )
getFile()
URL class, public String getFile( )
URLName class, Parsing Methods
getFileName() (Part), Attributes
getFileNameMap() (URLConnection), Configuring the Connection
getFlags() (Message), Flags
getFolder()
Folder class, Opening Folders
Message class, Folders
Store class, Receiving Mail
getFrom() (Message), The From address
getFullName() (Folder), Basic Folder Info
getHeader() (MimeMessage), MIME Messages
getHeaderField() (URLConnection), public String getHeaderField(String name)
getHeaderFieldDate() (URLConnection), public long getHeaderFieldDate(String name, long default)
getHeaderFieldInt() (URLConnection), public int getHeaderFieldInt(String name, int default)
getHeaderFieldKey() (URLConnection), public String getHeaderFieldKey(int n)
getHeight() (ImageObserver), The ImageObserver Interface
getHost()
NewsAddress class, The NewsAddress Class
URL class, public String getHost( )
URLName class, Parsing Methods
getHostAddress()
InetAddress class, public String getHostAddress( )
URLStreamHandler class, Protected InetAddress getHostAddress(URL u) // Java 1.3
getHostName() (InetAddress), public String getHostName( )
getIfModifiedSince() (URLConnection), Configuring the Connection
getImage()
Applet class, Downloading Images, public Image getImage(URL path, String filename)
MediaTracker class, Waiting for Media to Load
getInetAddress()
DatagramSocket class, public InetAddress getInetAddress( ) // Java 1.2
InetAddress class, Other sources of InetAddress objects
ServerSocket class, public InetAddress getInetAddress( )
Socket objects, public InetAddress getInetAddress( )
getInputStream()
Part interface, Reading the contents of the part
Socket class, public InputStream getInputStream( ) throws IOException
URLConnection class, What Is a Protocol Handler?
getInstance()
Cipher object, Encrypting Streams
Session class, Sending Email
getInterface() (MulticastSocket), public InetAddress getInterface( ) throws SocketException
getJarEntry() (JarURLConnection), JarURLConnection
getJarFile() (JarURLConnection), JarURLConnection
getJarFileURL() (JarURLConnection), JarURLConnection
getLastModified() (URLConnection), public long getLastModified( )
getLineCount() (Part), Attributes
getLocalAddress()
InetAddress class, Other sources of InetAddress objects
InternetAddress class, The InternetAddress Class
Socket class, public InetAddress getLocalAddress( )
getLocalHost() (InetAddress), public static InetAddress InetAddress.getLocalHost( ) throws UnknownHostException
getLocalPort()
DatagramSocket class, public int getLocalPort( )
ServerSocket class, public int getLocalPort( )
Socket class, public int getLocalPort( )
getMatchingHeaderLines() (MimeMessage), MIME Messages
getMessage() (Folder), Getting messages from folders, Getting Messages from Folders
getMessageCount() (Folder), Checking for Mail
getMessageNumber()
Folder class, Managing Messages in Folders
Message class, Folders
getMode() (Folder), Basic Folder Info
getName() (Folder), Basic Folder Info
getNewMessageCount()
Folder class, Checking for Mail
getNewMessageCount() (Folder), Checking for Mail
getNewsgroup() (NewsAddress), The NewsAddress Class
getOutputStream()
Socket class, public OutputStream getOutputStream( ) throws IOException, public OutputStream getOutputStream( ) throws IOException
SSLSocket class, Creating Secure Client Sockets
URLConnection class, What Is a Protocol Handler?
getParent() (Folder), Basic Folder Info
getParser() (Parser), HTMLEditorKit.Parser
getPassword() (URLName), Parsing Methods
getPasswordAuthentication() (Authenticator), Password Authentication
getPath() (URL), public String getPath( ) // Java 1.3
getPermanentFlags() (Folder), Flags
getPersonal() (InternetAddress), The InternetAddress Class
getPort()
DatagramPacket class, public int getPort( )
DatagramSocket class, public int getPort( ) // Java 1.2
Socket class, public int getPort( )
URL class, public int getPort( )
URLName class, Parsing Methods
getProperty() (ImageObserver), The ImageObserver Interface
getProtocol()
URL class, public String getProtocol( )
URLName class, Parsing Methods
getQuery() (URL), public string getQuery( ) // Java 1.3
getReceiveBufferSize()
DatagramSocket class, SO_RCVBUF
Socket class, SO_RCVBUF
getReceivedDate() (Message), The date of the message
getRecipients() (Message), The recipient addresses
getRef()
RemoteObject class, The RemoteObject Class
URL class, public string getRef( )
URLName class, Parsing Methods
getRegistry() (LocateRegistry), The LocateRegistry Class
getReplyTo() (Message), The Reply-to address
getResolveParent() (AttributeSet), Attributes
getSecurityContext() (RMISecurityManager), public Object getSecurityContext( )
getSendBufferSize()
DatagramSocket class, SO_SNDBUF
Socket class, SO_SNDBUF
getSentDate() (Message), The date of the message
getSeparator() (Folder), Basic Folder Info
getSession() (SSLSocket), Session Management
getSize() (Part), Attributes
getSoLinger() (Socket), SO_LINGER
getSoTimeout()
DatagramSocket class, SO_TIMEOUT
ServerSocket class, public int getSoTimeout( ) throws IOException
getStore()
Folder class, Basic Folder Info
Session class, Receiving Mail
getSubject() (Message), The subject of the message
getSupportedCipherSuites() (SSLSocket), Choosing the Cipher Suites
getSystemResource() (URL), Other sources of URL objects
getTimeToLive() (MulticastSocket), public int getTimeToLive( ) throws IOException // Java 1.2
getTTL() (MulticastSocket), public int getTimeToLive( ) throws IOException // Java 1.2
getType()
Address class, The Address Class
Folder class, Basic Folder Info
InternetAddress class, The InternetAddress Class
NewsAddress class, The NewsAddress Class
getUnreadMessageCount() (Folder), Checking for Mail
getURL() (URLConnection), Configuring the Connection
getURLName() (Folder), Basic Folder Info
getUseCaches() (URLConnection), Configuring the Connection
getUseClientMode() (SSLSocket), Client Mode
getUserInfo() (URL), public string getUserInfo( ) // Java 1.3
getUsername() (URLName), Parsing Methods
getWidth() (ImageObserver), The ImageObserver Interface
GIF format, downloading images in, public Image getImage(URL u)
Group keyword, Whois
guessContentTypeFromName() (URLConnection), Guessing MIME Types
guessContentTypeFromStream() (URLConnection), Guessing MIME Types
GZIPInputStream class, Compressing Streams
GZIPOutputStream class, Compressing Streams
gzipping files, example programs, Thread Pools, Thread Pools

H

Handle keyword, Whois
handshakeCompleted() (HandshakeCompletedListener), Event Handlers
HandshakeCompletedEvent class, Event Handlers
HandshakeCompletedListener interface, Event Handlers
hashCode()
InetAddress class, public int hashCode( )
InternetAddress class, The InternetAddress Class
NewsAddress class, The NewsAddress Class
Object class, public int hashCode( )
RemoteObject class, The RemoteObject Class
URLName class, Parsing Methods
URLStreamHandler class, Protected int hashCode(URL u) // Java 1.3
hasNewMessages() (Folder), Checking for Mail
HEAD (HttpURLConnection), HEAD
headers
datagrams, Sockets for Clients
email, Basic Header Info, Saving changes, Headers
example program for reading, The date of the message
IP, TTL field, Clients and Servers
MIME, Reading the Header, HEAD
commands supported, listing, OPTIONS
configuring client request, Configuring the Client Request MIME Header, Configuring the Client Request MIME Header
fields in, Retrieving Specific MIME Header Fields, public int getHeaderFieldInt(String name, int default)
inspecting, The URLConnection Class
tracing, TRACE
Host keyword, Whois
host-to-network layer, The Host-to-Network Layer
hostnames, IP addresses and
comparing, public static InetAddress InetAddress.getByName(String hostName) throws UnknownHostException
example conversion program, HostLookup, HostLookup
hosts, Networks, DNS, IP Addresses, and All That
hostsEqual() (URLStreamHandler), Protected boolean hostsEqual(URL u1, URL u2) // Java 1.3
HotJava
content handlers and, Content Handlers
protocols supported by, Creating New URLs
HTML (Hypertext Markup Language), Basic Web Concepts, HTML, SGML, and XML
attributes, Attributes
class, HTML.Tag, HTML.Tag
Fibonacci numbers, displaying in, Constructing HTML User Interfaces on the Fly
in JLabel, HTML on Components
parsing, HTML.Tag
in Swing
attributes, listing, Attributes, Attributes
case sensitivity, HTML on Components
components, HTML on Components , HTML on Components
hyperlinks, handling, Handling Hyperlinks, Handling Hyperlinks
interfaces, constructing, Constructing HTML User Interfaces on the Fly
parsing HTML, Parsing HTML, Attributes
reading HTML, Reading HTML Directly
rendering HTML, JEditorPane, Reading HTML Directly
tags
attributes, determining, Attributes, Attributes
example programs for stripping, HTMLEditorKit.ParserCallback, HTML.Tag
HTTP (Hypertext Transfer Protocol), Basic Web Concepts, HTTP, HTTP
authentication, Accessing Password-Protected Sites
response codes, HTTP, HTTP
table of, Handling Server Responses, Handling Server Responses
response codes, example program, Handling Server Responses
RFC about, IETF RFCs
servers (see HTTP servers)
HTTP servers, HTTP Servers
files, sending, A single-file server, A single-file server
full-fledged, A full-fledged HTTP server
example programs, A full-fledged HTTP server, A full-fledged HTTP server
MIME headers, Reading the Header
fields in, Retrieving Specific MIME Header Fields, public int getHeaderFieldInt(String name, int default)
sent by, inspecting, The URLConnection Class
redirecting requests, example program, A redirector, A redirector
responses from, handling, Handling Server Responses, Redirects
HttpURLConnection subclass, HttpURLConnection
request method, The Request Method, TRACE
servers
disconnecting from, Disconnecting from the Server
handling responses from, Handling Server Responses, Redirects
HyperlinkEvent object, Handling Hyperlinks
HyperLinkListener interface, Handling Hyperlinks
hyperlinks, handling with Swing, Handling Hyperlinks, Handling Hyperlinks
hyperlinkUpdate() (HyperlinkListener), Handling Hyperlinks
Hypertext Markup Language (see HTML)
Hypertext Transfer Protocol (see HTTP)

I

I/O (input/output), Java I/O, PrintWriter
readers/writers, Readers and Writers, PrintWriter
streams
filter, Filter Streams, Encrypting Streams
input, Input Streams, Marking and Resetting
output, Output Streams, Output Streams
IANA (Internet Assigned Numbers Authority), Networks, Internet Address Classes
multicast addresses and, Multicast Addresses and Groups
RFC about, IETF RFCs
ICANN (Internet Corporation for Assigned Names and Numbers), Internet Address Classes
IETF (Internet Engineering Task Force), Internet Standards
RFCs, IETF RFCs, IETF RFCs
ifModifiedSince field (URLConnection), ifModifiedSince
Image keyword, A Content Handler for an Image Format: image/x-fits
ImageObserver interface, The ImageObserver Interface, The ImageObserver Interface
ImageProducer interface, A Content Handler for an Image Format: image/x-fits
images
adding tags to, example program, public void waitForID(int id) throws InterruptedException, public void waitForID(int id) throws InterruptedException
displaying via URLs, example program, public Image getImage(URL u)
downloading
applet for, Downloading Images, public Image getImage(URL path, String filename)
error checking, public boolean isErrorAny( )
monitoring progress of, The ImageObserver Interface, The MediaTracker Class
imageUpdate() (ImageObserver), The ImageObserver Interface
implAccept() (ServerSocket), Protected final void implAccept(Socket s) throws IOException
InetAddress class, The InetAddress Class
creating objects, Creating New InetAddress Objects, public static InetAddress InetAddress.getLocalHost( ) throws UnknownHostException
security issues, Security issues
InflaterInputStream class, Compressing Streams
input streams, Input Streams, Marking and Resetting
input/output (see I/O)
InputStream class, Input Streams, Marking and Resetting
InputStream() (SSLSocket), Creating Secure Client Sockets
InputStreamReader subclass, Readers and Writers, Readers
interactive TV, Interactive television
internationalization, PrintWriter
Internet, The Internet, Proxy Servers
layer, The Internet Layer, The Internet Layer
protocols, RFC about, IETF RFCs
Internet Assigned Numbers Authority (see IANA)
Internet Corporation for Assigned Names and Numbers (ICANN), Internet Address Classes
Internet Engineering Task Force (see IETF)
Internet Explorer, protocols supported by, Creating New URLs
Internet Protocol (see IP)
InternetAddress class, The InternetAddress Class, The InternetAddress Class
IP (Internet Protocol), IP, TCP, and UDP, Ports
header, TTL field, Clients and Servers
RFC about, IETF RFCs
IP addresses, Networks, The Internet Layer, IP Addresses and Domain Names, DNS, IP Addresses, and All That, DNS, IP Addresses, and All That
classes of, Internet Address Classes, Internet Address Classes
client sockets connected to, public InetAddress getInetAddress( )
finding, example programs, public static InetAddress InetAddress.getLocalHost( ) throws UnknownHostException, public String getHostAddress( )
hostnames and
comparing, public static InetAddress InetAddress.getByName(String hostName) throws UnknownHostException
example conversion program, HostLookup, HostLookup
finding, example program, public String getHostName( )
InetAddress class and, The InetAddress Class
printing, example program, public byte[ ] getAddress( )
used by server, public InetAddress getInetAddress( )
isBlock() (Tag), HTML.Tag
isDefined() (AttributeSet), Attributes
isEqual() (AttributeSet), Attributes
isErrorAny() (MediaTracker), public boolean isErrorAny( )
isErrorID() (MediaTracker), public boolean isErrorID(int id)
isExpunged()
Folder class, Managing Messages in Folders
Message class, Folders
isMimeType() (Part), Reading the contents of the part
isOpen() (Folder), Opening Folders
isPreformatted() (Tag), HTML.Tag
isSet() (Message), Flags

J

JAF (JavaBeans Activation Framework), What Is the JavaMail API?
JAR archives, JarURLConnection, JarURLConnection
JarURLConnection class, JarURLConnection, JarURLConnection
Java Collections API, thread pooling and, Thread Pools
Java Content-Type Mappings, tables of, Guessing MIME Types, Guessing MIME Types
Java Cryptography Extension (JCE), Encrypting Streams
Java Development Kit (JDK), protocols supported by, Creating New URLs
Java programming language, versions of, Java Versions
Java Secure Sockets Extension, Secure Sockets
Java virtual machine (see JVM)
java.io package, reader/writer classes in, Readers and Writers
java.net package, The URLConnection Class
java.net.URL package, Creating New URLs
java.rmi package, Implementation, The java.rmi Package, Checking operations
remote exceptions, Remote Exceptions, Remote Exceptions
java.rmi.registry package, Implementation, The java.rmi.registry Package, The LocateRegistry Class
java.rmi.server package, Implementation, The java.rmi.server Package, The UnicastRemoteObject Class
exceptions, table of, Exceptions
java.util.jar package, JarURLConnection
java.util.security package, Digest Streams
java.util.Vector package, thread pooling and, Thread Pools
java.util.zip package, Compressing Streams
JavaBeans, Callbacks
JavaBeans Activation Framework (JAF), What Is the JavaMail API?
JavaMail API, The JavaMail API, What Is the JavaMail API?
email
addresses, Addresses, The NewsAddress Class
attachments, Multipart Messages and File Attachments, Multipart Messages and File Attachments
creating, The Message Class
event handling, Event Handling, Event Handling
flags, Flags, Flags
folders, Folders, Folders, Flags
headers, Basic Header Info, Saving changes
MIME, MIME Messages, MIME Messages
parts of, The Part Interface
receiving, Receiving Mail, Receiving Mail
sending, Sending Email
Message class, The Message Class, Searching
password authentication, Password Authentication, Password Authentication
URLName class, The URLName Class, Parsing Methods
Usenet, accessing, The NewsAddress Class, The NewsAddress Class
javax.mail package, What Is the JavaMail API?
javax.mail.Folder package, What Is the JavaMail API?
javax.mail.InternetAddress package, What Is the JavaMail API?
javax.mail.Message packages, What Is the JavaMail API?
javax.mail.MimeMessage package, What Is the JavaMail API?
javax.net package, Secure Communications
javax.net.ssl package, Secure Communications
javax.security.cert packages, Secure Communications
javax.swing.text.html package, HTML in Swing
javax.swing.text.html.parser package, HTML in Swing
JCE (Java Cryptography Extension), Encrypting Streams
JDK (Java Development Kit), protocols supported by, Creating New URLs
JEditorPane class
displaying web pages with, JEditorPane
HTML and, JEditorPane, Reading HTML Directly
Jini, Ubiquitous computing
JLabel (Swing), including HTML in, HTML on Components
join() (Thread), Joining threads
joinGroup() (MulticastSocket), Working with Multicast Sockets, public void joinGroup(InetAddress address) throws IOException
JPasswordField component (Swing), The JPasswordField Class
JPEG format, downloading images in, public Image getImage(URL u)
JSSE (Java Secure Sockets Extension), Secure Sockets
packages, Secure Communications
JVM (Java virtual machine)
protocols supported by, Creating New URLs, Constructing a URL from its component parts
RMI and, Remote Method Invocation
stubs and, The RMISecurityManager Class

M

Macintosh Runtime for Java, protocols supported by, Creating New URLs
mail (see email Java Mail API)
Mailbox keyword, Whois
MailEvent class, Event Handling
man-in-the-middle attacks, Secure Communications
mark()
InputStream class, Marking and Resetting
Reader class, Readers
markSupported() (InputStream), Marking and Resetting
match() (Message), Searching
MBONE (Multicast Backbone on the Internet), Multicast Addresses and Groups
MediaTracker class, The MediaTracker Class, Removing Images from MediaTrackers
constants, Checking the Status of Media
constructor, The Constructor
Message class, The Message Class, Searching
message digests, Digest Streams
MessageDigest class, Digest Streams
MIDI Type 0/1 formats, downloading sounds in, Downloading Sounds
MIME (Multipurpose Internet Mail Extension), Basic Web Concepts, MIME, MIME
content types, MIME, MIME
email, MIME Messages, MIME Messages
headers, Reading the Header, HEAD
client request, configuring, Configuring the Client Request MIME Header, Configuring the Client Request MIME Header
commands supported, listing, OPTIONS
fields in, Retrieving Specific MIME Header Fields, public int getHeaderFieldInt(String name, int default)
inspecting, The URLConnection Class
printing, example program, public String getHeaderField(int n)
tracing, TRACE
RFC about, IETF RFCs
types
text/tab-separated-values, content handler for, A Content Handler for Tab-Separated Values, Using Content Handlers
x-types, MIME, MIME
, A Content Handler for an Image Format: image/x-fits
(see also content handlers)
types, guessing, Guessing MIME Types, Guessing MIME Types
MimeBodyPart class, Multipart Messages and File Attachments
MimeMessage class, The Message Class, MIME Messages
sending email and, Sending Email
MimeMultipart class, Multipart Messages and File Attachments
mobile agents (see agents)
MUD (Multi-User Dungeon), Chat
Multi-User Dungeon (MUD), Chat
Multicast Backbone on the Internet (MBONE), Multicast Addresses and Groups
multicasting, What Is a Multicast Socket?, What Is a Multicast Socket?
addresses, Multicast Addresses and Groups, Multicast Addresses and Groups
permanent, Multicast Addresses and Groups, Multicast Addresses and Groups
clients and servers, Clients and Servers
groups, Multicast Addresses and Groups, Multicast Addresses and Groups
communicating with, Communicating with a Multicast Group, public int getTimeToLive( ) throws IOException // Java 1.2
example sniffer program, Two Simple Examples
sending data to, example program, Two Simple Examples
routers and, Routers and Routing, Routers and Routing
MulticastSocket class, Working with Multicast Sockets
constructors, The Constructors
methods, Communicating with a Multicast Group, public int getTimeToLive( ) throws IOException // Java 1.2
MulticastSocket() (MulticastSocket), public MulticastSocket( ) throws SocketException
Multipart class, Multipart Messages and File Attachments
Multipurpose Internet Mail Extension (see MIME)
multitasking, downloading and, The ImageObserver Interface
multithreading, Threads, Thread Pools
, Thread Pools
(see also threads)
MutableAttributeSet class, Attributes

N

Nagle’s algorithm, TCP_NODELAY
Name keyword, Whois
Naming class, The Naming Class, public static void rebind(String url, Remote object) throws RemoteException, AccessException, MalformedURLException
NAXIS keyword, A Content Handler for an Image Format: image/x-fits
Netscape Navigator, protocols supported by, Creating New URLs
Netscape Open Directory, looking up topics in, Communicating with CGIs and Servlets Through GET
Network keyword, Whois
Network News Transfer Protocol (NNTP), RFC about, IETF RFCs
networks, Why Networked Java?, But Wait!—There’s More!, Networks, The Application Layer
addresses (see IP addresses)
applets and, The Network Methods of java.applet.Applet, Network Methods of java.applet.AppletContext
hosts (see hosts)
interfaces, client sockets bound to, public InetAddress getLocalAddress( )
layers of, The Layers of a Network, The Application Layer
nodes (see nodes)
ports (see ports)
newAudioClip() (Applet), public static final AudioClip newAudioClip(URL url) // Java 1.2
newLine() (BufferedWriter), Buffered readers and writers
NewsAddress class, The NewsAddress Class, The NewsAddress Class
newsgroups, accessing with JavaMail API, The NewsAddress Class
NNTP (Network News Transfer Protocol), RFC about, IETF RFCs
nodes, Networks, DNS, IP Addresses, and All That
notify() (Object), Waiting on an object
notifyAll() (Object), Waiting on an object
nslookup utility, HostLookup

O

Object class, The Object Methods
objects
remote, What Is Remote Method Invocation?
available to clients, The LocateRegistry Class
binding, public static void bind(String url, Remote object) throws RemoteException, AlreadyBoundException, MalformedURLException, AccessException, The Registry Interface
compared to local, Under the Hood
releasing, public static void unbind(String url) throws RemoteException, NotBoundException, AlreadyBoundException, MalformedURLException, AccessException // Java 1.2
URLs bound to, public static Remote lookup(String url) throws RemoteException, NotBoundException, AccessException, MalformedURLException
URLs of, The Registry Interface
stubs, Under the Hood
applets and, The RMISecurityManager Class
compiling, Compiling the Stubs
RMISecurityManager permissions, Checking operations, Checking operations
synchronization and, Synchronized Blocks
threads waiting on, Waiting on an object, Waiting on an object
, Under the Hood
(see also RMI)
OBSTIME keyword, A Content Handler for an Image Format: image/x-fits
Open Systems Interconnection (OSI), network layer model, The Layers of a Network
open() (Folder), Receiving Mail
openConnection(), Opening URLConnections
URLConnection class, public URLConnection openConnection( ) throws IOException
URLStreamHandler class, What Is a Protocol Handler?, A Method for Connecting
openStream() (InputStream), public final InputStream openStream( ) throws IOException
OPTIONS (HttpURLConnection), OPTIONS
Organization keyword, Whois
OSI (Open Systems Interconnection), network layer model, The Layers of a Network
OutputStream class, Output Streams, Output Streams
OutputStreamWriter subclass, Readers and Writers, OutputStreamWriter

P

packets, Networks, Sockets for Clients
parallel computing, Massively parallel computing
parse()
InternetAddress class, The InternetAddress Class
NewsAddress class, The NewsAddress Class
Parser class, HTMLEditorKit.Parser
Parser class, HTMLEditorKit.Parser, HTMLEditorKit.Parser
ParserCallback class, HTMLEditorKit.Parser, HTMLEditorKit.ParserCallback, HTMLEditorKit.ParserCallback
ParserDelegator subclass, HTMLEditorKit.Parser
parseURL() (URLStreamHandler), Methods for Parsing URLs, Protected void parseURL(URL u, String spec, int start, int limit)
parsing HTML, with Swing, Parsing HTML, Attributes
Part interface, The Part Interface, Writing the contents of the part
Partial keyword, Whois
PasswordAuthentication class, The PasswordAuthentication Class, Password Authentication
passwords
authenticating, The Authenticator Class, The JPasswordField Class
email, Password Authentication, Password Authentication
payloads, datagrams, Sockets for Clients
Person keyword, Whois
PersonalJava, Interactive television
play() (Applet), public void play(URL u)
plug-ins, Content Handlers
, Content Handlers
(see also content handlers)
PNG format, downloading images in, public Image getImage(URL u)
polling threads, Polling
ports, Ports
assigned to protocols, table of, Ports
client sockets connected to, public int getPort( )
connections to, example programs for determining, public Socket(String host, int port) throws UnknownHostException, IOException, public Socket(InetAddress host, int port) throws IOException, public synchronized void close( ) throws IOException
listening on, determining which, public int getLocalPort( )
looking for, example program, public ServerSocket(int port) throws IOException, BindException
for protocols, returning default, Protected int getDefaultPort( ) // Java 1.3
UDP, example program for scanning, public DatagramSocket(int port) throws SocketException
POST (URL)
CGI and, CGI
sending data with, Writing Data to a Server
prepareImage() (ImageObserver), The ImageObserver Interface
PrintStream class, PrintStream, PrintStream is evil and network programmers shouldavoid it like the plague
PrintWriter class, PrintWriter
implementation for network programming, PrintWriter , PrintWriter
programming examples
animator applet, public boolean waitForAll( ) throws InterruptedException, public boolean waitForAll( ) throws InterruptedException
authentication
GUI for, Password Authentication
POP client, Password Authentication
authentication dialog, The JPasswordField Class, The JPasswordField Class
callbacks, Callbacks, Callbacks
characters in URLs, converting, URLEncoder
client sockets, getting information about, public InetAddress getLocalAddress( )
clients
email, Parsing Methods
POP3, Receiving Mail
for remote object, An Applet Client for a Remote Object, An Application Client for a Remote Object, An Application Client for a Remote Object
content handlers, A Content Handler for Tab-Separated Values, Using Content Handlers, Installing Content Handler Factories
database interface, The Remote Interface
DatagramPacket, constructing, public int getOffset( ) // Java 1.2
daytime protocol, reading time from, public InputStream getInputStream( ) throws IOException
echo
client, public OutputStream getOutputStream( ) throws IOException, A UDP Echo Client
server, UDPServer
email
attachments, Multipart Messages and File Attachments, Multipart Messages and File Attachments
attributes, Attributes, Attributes
client, Searching Folders, Searching Folders
flags, reading, Flags, Flags
headers, reading, The date of the message, Headers, Headers
sending, Sending Email, Sending Email from an Applet, Sending Email from an Applet
Fibonacci numbers
displaying in HTML, Constructing HTML User Interfaces on the Fly
interface, The Server Side
files
downloading, public int getContentLength( )
gzipping, Thread Pools, Thread Pools
finger, command-line client, Finger
forms, posting, Writing Data to a Server
getParser(), making public, HTMLEditorKit.Parser
hostnames
converting from IP addresses, HostLookup, HostLookup
finding from IP addresses, public String getHostName( )
HTML
converting to text, HTMLEditorKit.ParserCallback, HTML.Tag
including in a JLabel, HTML on Components
stripping tags, HTMLEditorKit.ParserCallback, HTML.Tag
HTTP
client, Creating Secure Client Sockets
response codes, Handling Server Responses
HyperLinkListener interface, implementation of, Handling Hyperlinks
ifModifiedSince, setting, ifModifiedSince
images, The ImageObserver Interface
content handler, A Content Handler for an Image Format: image/x-fits, A Content Handler for an Image Format: image/x-fits
displaying via URLs, public Image getImage(URL u)
downloading, The MediaTracker Class
IP addresses, public boolean equals(Object o)
converting to hostnames, HostLookup, HostLookup
finding, public static InetAddress InetAddress.getLocalHost( ) throws UnknownHostException, public String getHostAddress( )
finding from hostnames, public String getHostName( )
printing, public byte[ ] getAddress( )
LookupThread class, Processing Web Server Log Files
MIME headers, printing, public String getHeaderField(int n)
Multicast Sniffer, Two Simple Examples
MulticastSender, Two Simple Examples
Netscape Open Directory, looking up topics in, Communicating with CGIs and Servlets Through GET
ports
connections to, determining, public Socket(String host, int port) throws UnknownHostException, IOException, public Socket(InetAddress host, int port) throws IOException, public synchronized void close( ) throws IOException
looking for, public ServerSocket(int port) throws IOException, BindException
PrinterWriter class, implementation for network programming, PrintWriter , PrintWriter
protocol handlers
for chargen, A chargen Protocol Handler, A chargen Protocol Handler
for daytime, A daytime Protocol Handler
for finger, Writing a Protocol Handler
protocols supported, determining, Constructing a URL from a string, Constructing a URL from its component parts
QueryString class, URLEncoder
race conditions, avoiding, Joining threads
RMI, debugging program, public static String[ ] list(String url) throws RemoteException, MalformedURLException
secure orders, Creating Secure Server Sockets, Creating Secure Server Sockets
servers
daytime, public Socket accept( ) throws IOException
HTTP, A single-file server, A single-file server, A redirector, A redirector, A full-fledged HTTP server, A full-fledged HTTP server
testing clients, Client Tester, Client Tester
time, public Socket accept( ) throws IOException
sounds
downloading via URLs, public AudioClip getAudioClip(URL url, String filename)
playing, public void play(URL u)
stream handlers
for finger, Writing a Protocol Handler
for mailto, Protected abstract URLConnection openConnection(URL u) throws IOException
tags, adding to images, public void waitForID(int id) throws InterruptedException, public void waitForID(int id) throws InterruptedException
Thread, subclassing, Subclassing Thread
threads
preemptive scheduling, Priority-based preemption
returning information from, Returning Information from a Thread, Returning Information from a Thread
time protocol
client, public InputStream getInputStream( ) throws IOException, public InputStream getInputStream( ) throws IOException
content handler for, Choosing Return Types, Choosing Return Types
UDP
client, Simple UDP Clients, Simple UDP Clients
daytime server, UDPServer
discard client, public void send(DatagramPacket dp) throws IOException
discard server, public void receive(DatagramPacket dp) throws IOException, UDPServer, UDPServer
scanning for ports, public DatagramSocket(int port) throws SocketException
server, UDPServer
time client, Simple UDP Clients, Simple UDP Clients
URL objects
comparing, public boolean equals(Object o)
downloading, public final Object getContent( ) throws IOException
URLConnection, interacting with users, allowUserInteraction
URLs
printing, protected URL url
reading from command line, public long getLastModified( )
redirecting requests to/from, Network Methods of java.applet.AppletContext
time when changed, HEAD
URLs, relative
converting to absolute, Attributes, Attributes
converting to web pages, Constructing relative URLs
URLStreamHandlerFactory, The URLStreamHandlerFactory Interface
web browser, writing with Swing, Handling Hyperlinks
web pages
displaying with JEditorPane, JEditorPane
downloading, public final InputStream openStream( ) throws IOException, Reading Data from a Server
web server log files, Synchronized Blocks
processing, Processing Web Server Log Files
web sites, password-protected, accessing, Accessing Password-Protected Sites, The JPasswordField Class
whois
client GUI, Whois, Whois
command-line client, Whois, Whois
reusable class, Whois, Whois
protocol handlers, The URLConnection Class, Protocol Handlers, What Is a Protocol Handler?
adding support for protocols, Creating New URLs
content handlers and, What Is a Content Handler?
methods for, Methods for Protocol Handlers
writing, Writing a Protocol Handler, Writing a Protocol Handler
chargen protocol, A chargen Protocol Handler, A chargen Protocol Handler
daytime protocol, A daytime Protocol Handler, A daytime Protocol Handler
protocols, Networks
adding support for, What Is a Protocol Handler?
content handlers and, What Is a Content Handler?
email, The JavaMail API, What Is the JavaMail API?
Java providers for, What Is the JavaMail API?
receiving, Receiving Mail
handling (see protocol handlers)
investigating with telnet, Investigating Protocols with Telnet, Investigating Protocols with Telnet
port assignments for, Ports
supported by JVMs, Creating New URLs
example program for determining, Constructing a URL from a string, Constructing a URL from its component parts
proxy servers, Proxy Servers, Proxy Servers
public key encryption, Secure Communications
PushbackInputStream subclass, PushbackInputStream
PushbackReader class, PushbackReader
PUT (HttpURLConnection), PUT

Q

QueryString class, example program, URLEncoder

R

race conditions, Race Conditions
avoiding, example program, Joining threads
read()
DataInputStream class, Data Streams
InputStream class, Input Streams
JEditorPane class, Reading HTML Directly
PushbackInputStream class, PushbackInputStream
Reader class, Readers
Socket class, SO_TIMEOUT
Reader class, Readers and Writers, Readers
readers/writers, Readers and Writers, Filter Readers and Writers
buffering, Buffered readers and writers, Buffered readers and writers
readFully() (DataInputStream), Data Streams
reading HTML in Swing, Reading HTML Directly
readLine()
DataInputStream class, Data Streams
LineNumberReader class, LineNumberReader
ready() (Reader), Readers
rebind()
Naming class, public static void rebind(String url, Remote object) throws RemoteException, AccessException, MalformedURLException
Registry interface, The Registry Interface
receive()
DatagramSocket class, public void receive(DatagramPacket dp) throws IOException
MulticastSocket class, Working with Multicast Sockets
Registry interface, The Registry Interface
Remote interface, The Server Side, The Remote Interface
Remote Procedure Calls (RPC), What Is Remote Method Invocation?
RemoteObject class, The RemoteObject Class
RemoteServer class, The RemoteServer Class
logging, Logging
removeAttributes() (MutableAttributeSet), Attributes
removeBodyPart() (Multipart), Multipart Messages and File Attachments
removeHandshakeCompletedListener(), Event Handlers
removeHeader() (Part), Headers
removeImage() (MediaTracker), Removing Images from MediaTrackers
renameTo() (Folder), Managing Folders
reply() (Message), Replying to messages
request() (HttpURLConnection), The Request Method, TRACE
reset()
InputStream class, Marking and Resetting
Reader class, Readers
RFCs (Requests for Comments), IETF, IETF RFCs
RMF format, downloading sounds in, Downloading Sounds
RMI (Remote Method Invocation), Remote Method Invocation, Under the Hood, Under the Hood, public static String[ ] list(String url) throws RemoteException, MalformedURLException, Exceptions
classes, loading at runtime, Loading Classes at Runtime, An Application Client for a Remote Object
debugging programs, example, public static String[ ] list(String url) throws RemoteException, MalformedURLException
implementing
client side, The Client Side, The Client Side, Running the Client
server side, The Server Side, The Server Side, Starting the Server
object serialization, Object Serialization
security and, Security
stubs, compiling, Compiling the Stubs
RMISecurityManager class, The RMISecurityManager Class
methods, public RMISecurityManager( ), Checking operations
permissions, table of, Checking operations, Checking operations
routers, multicasting and, What Is a Multicast Socket?, Routers and Routing, Routers and Routing
RPC (Remote Procedure Calls), What Is Remote Method Invocation?
run()
Runnable interface, Implementing the Runnable Interface
Thread class, Running Threads
Runnable interface, Implementing the Runnable Interface, Implementing the Runnable Interface

S

sameFile()
URL class, public boolean sameFile(URL other)
URLStreamHandler class, Protected boolean sameFile(URL u1, URL u2) // Java 1.3
saveChanges() (Message), Saving changes
scheduling threads
blocking, Blocking
joining threads, Joining threads, Joining threads
preemption, Preemption, Priority-based preemption
priorities, Priorities
sleeping, Sleeping, Sleeping
yielding, Yielding
search() (Folder), Searching Folders
searching the Web, Searching the Web
Secure Hash Algorithm (SHA), Digest Streams
Secure Sockets Layer (SSL), JSSE and, Secure Sockets
security
applets and, Security: Who Can an Applet Talk to and What Can It Say?
InetAddress objects, creating, Security issues, Security issues
man-in-the-middle attacks, Secure Communications
RMI and, Security
sockets and, Secure Sockets, Client Mode
URLConnection class and, Security Considerations for URLConnections
URLStreamHandler classes and, Specifying a URLStreamHandler
, Secure Sockets
(see also encryption RMISecurityManager class)
send()
DatagramSocket class, public void send(DatagramPacket dp) throws IOException
MulticastSocket class, public void send(DatagramPacket packet, byte ttl) throws IOException
Transport class, Sending Email
servers, What Can a Network Program Do?, Servers
clients
downloading objects from, Loading Classes at Runtime
testing, Client Tester, Client Tester
daytime, example program, public Socket accept( ) throws IOException
disconnecting from, Disconnecting from the Server
handling responses from, Handling Server Responses, Redirects
multicasting and, Clients and Servers
proxy
HttpURLConnection subclass, Proxies
, Proxy Servers
(see also proxy servers)
reading data from, Reading Data from a Server
RemoteServer class, The RemoteServer Class, Logging
RMI, implementing, The Server Side, The Server Side, Starting the Server
sockets for, Sockets for Servers, Protected final void implAccept(Socket s) throws IOException
time, example program, public Socket accept( ) throws IOException
writing data to, Writing Data to a Server, Writing Data to a Server
ServerSocket class, Socket Basics, The ServerSocket Class
constructors, The Constructors, public ServerSocket(int port, int queueLength, InetAddress bindAddress) throws BindException, IOException
methods, The get Methods
ServerSocket() (ServerSocket), public ServerSocket(int port) throws IOException, BindException, public ServerSocket(int port, int queueLength, InetAddress bindAddress) throws BindException, IOException
servlets
communicating with, Communicating with CGIs and Servlets Through GET, Communicating with CGIs and Servlets Through GET
games and, Servers
limitations of, CGI
set() (URL), Methods for Protocol Handlers
setAddress()
DatagramPacket class, public void setAddress(InetAddress remote)
InternetAddress class, The InternetAddress Class
setAllowUserInteraction() (URLConnection), Configuring the Connection, allowUserInteraction
setContent() (Part), Writing the contents of the part
setContentHandlerFactory()
ContentHandlerFactory interface, What Is a Content Handler?
URLConnection class, Installing Content Handler Factories
setContentLanguage() (MimeMessage), MIME Messages
setData() (DatagramPacket), public void setData(byte[ ] data)
setDefaultAllowUserInteraction() (URLConnection), Configuring the Connection
setDefaultUseCaches() (URLConnection), Configuring the Connection
setDoOutput() (URLConnection), Configuring the Connection
setEnabledCipherSuites() (SSLSocket), Choosing the Cipher Suites
setEnableSessionCreation() (SSLSocket), Session Management
setFileNameMap() (URLConnection), Configuring the Connection
setFlags()
Folder class, Flags
Message class, Flags
setFrom() (Message), Sending Email, The From address
setHeader() (Part), Headers
setHost() (NewsAddress), The NewsAddress Class
setIfModifiedSince() (URLConnection), Configuring the Connection
setImageObserver() (ImageObserver), The ImageObserver Interface
setInterface() (MulticastSocket), public void setInterface(InetAddress address) throws SocketException
setLength() (DatagramPacket), public void setLength(int length)
setMessageNumber() (Message), Folders
setNewsgroup() (NewsAddress), The NewsAddress Class
setPersonal()(InternetAddress), The InternetAddress Class
setPort() (DatagramPacket), public void setPort(int port)
setReceiveBufferSize()
DatagramSocket class, SO_RCVBUF
Socket class, SO_RCVBUF
setRecipient() (Message), Sending Email
setRecipients() (Message), The recipient addresses
setReplyTo() (Message), The Reply-to address
setResolveParent() (MutableAttributeSet), Attributes
setSendBufferSize()
DatagramSocket class, SO_SNDBUF
Socket class, SO_SNDBUF
setSentDate() (Message), The date of the message
setSocketFactory() (ServerSocket), public static synchronized void setSocketFactory (SocketImpl Factory fac) throws IOException
setSoLinger() (Socket), SO_LINGER
setSoTimeout()
DatagramSocket class, SO_TIMEOUT
ServerSocket class, public void setSoTimeout(int timeout) throws SocketException
Socket class, SO_TIMEOUT
setSubject() (Message), Sending Email, The subject of the message
setTcpNoDelay() (Socket), TCP_NODELAY
setText()
MimeMessage class, MIME Messages
Part interface, Writing the contents of the part
setTimeToLive() (MulticastSocket), public void setTimeToLive(int ttl) throws IOException // Java 1.2
setURL() (URLStreamHandler), Protected void setURL(URL u, String protocol, String host, int port, String file, String ref )
setURLStreamHandlerFactory()
URL class, Methods for Protocol Handlers
URLStreamHandlerFactory interface, What Is a Protocol Handler?
setUseCaches() (URLConnection), Configuring the Connection
setUseClientMode() (SSLSocket), Client Mode
SGML (Standard Generalized Markup Language), HTML, SGML, and XML
SHA (Secure Hash Algorithm), Digest Streams
showDocument() (AppletContext), Network Methods of java.applet.AppletContext
shutdownInput() (Socket), Half-closed sockets // Java 1.3
shutdownOutput() (Socket), Half-closed sockets // Java 1.3
SIMPLE keyword, A Content Handler for an Image Format: image/x-fits
Simple Mail Transfer Protocol (SMTP), RFC about, IETF RFCs
skip() (InputStream), Input Streams
sleep() (Thread), Sleeping
SO TIMEOUT socket option, SO_TIMEOUT
server, Socket Options
Socket class, Socket Basics
constructors, The Socket Class, SO_KEEPALIVE
Socket() (Socket), public Socket(String host, int port) throws UnknownHostException, IOException, public Socket(InetAddress host, int port, InetAddress interface, int localPort) throws IOException
protected, protected Socket( )
sockets
client, Socket Basics
closing, Closing the Socket, Half-closed sockets // Java 1.3
creating secure, Creating Secure Client Sockets, Creating Secure Client Sockets
exceptions, Socket Exceptions
getting information about, Getting Information About a Socket, public OutputStream getOutputStream( ) throws IOException
options, setting, Setting Socket Options, SO_KEEPALIVE
datagram, UDP Datagrams and Sockets, A UDP Echo Client
managing, Managing Connections
options, Socket Options, SO_SNDBUF
datagrams and, The DatagramPacket Class, public void send(DatagramPacket dp) throws IOException
multicast, What Is a Multicast Socket?, Routers and Routing
working with, Working with Multicast Sockets, public int getTimeToLive( ) throws IOException // Java 1.2
security and, Secure Sockets, Client Mode
server, Sockets for Servers
accepting connections, Accepting and Closing Connections, public Socket accept( ) throws IOException
closing connections, public void close( ) throws IOException
creating secure, Creating Secure Server Sockets, Creating Secure Server Sockets
options, Socket Options, public int getSoTimeout( ) throws IOException
unicast, Multicast Sockets
sounds
downloading, Downloading Sounds, public static final AudioClip newAudioClip(URL url) // Java 1.2
example program, public AudioClip getAudioClip(URL url, String filename)
playing, example program, public void play(URL u)
SO_KEEPALIVE socket option, SO_KEEPALIVE
SO_LINGER socket option, SO_LINGER
SO_RCVBUF socket option, SO_RCVBUF, SO_RCVBUF
SO_SNDBUF socket option, SO_SNDBUF, SO_SNDBUF
SO_TIMEOUT socket option, SO_TIMEOUT
spiders, Searching the Web
spreadsheet programs, content handlers and, A Content Handler for Tab-Separated Values
SQLQuery() (Remote), The Remote Interface
SSL (Secure Sockets Layer), JSSE and, Secure Sockets
SSLContext object, Creating Secure Server Sockets
SSLFactorySocket class, Creating Secure Client Sockets
SSLServerSocket class, Methods of the SSLServerSocket Class
SSLServerSocketFactory class, Creating Secure Server Sockets
SSLSession interface, Session Management
SSLSocket class, Methods of the SSLSocket Class, Client Mode
SSLSocket subclass, Creating Secure Client Sockets
Standard Generalized Markup Language (SGML), HTML, SGML, and XML
start() (Thread), Running Threads
startHandshake() (SSLSocket), Session Management
statusAll() (MediaTracker), public int statusAll(boolean load)
statusID() (MediaTracker), public int statusID(int id, boolean load)
streams, Java I/O
buffering, Output Streams, Buffered Streams, Buffered Streams
compressing, Compressing Streams
data, Data Streams, Data Streams
digest, Digest Streams
encrypting, Encrypting Streams, Encrypting Streams
filter, Filter Streams, Chaining Filters Together
input, Input Streams, Marking and Resetting
content handlers and, What Is a Content Handler?
sockets, reading data from, public InputStream getInputStream( ) throws IOException
output, Output Streams, Output Streams
sockets, writing data to, public OutputStream getOutputStream( ) throws IOException, public OutputStream getOutputStream( ) throws IOException
unicast, What Is a Multicast Socket?
SUBdisplay keyword, Whois
Summary keyword, Whois
sun.net package, The URLConnection Class
sun.net.www.content package, What Is a Content Handler?
Swing
authentication and, example programs, The JPasswordField Class, The JPasswordField Class, Password Authentication
components
HTML on, HTML on Components , HTML on Components
JPasswordField, The JPasswordField Class
HTML in
attributes, listing, Attributes, Attributes
case sensitivity, HTML on Components
hyperlinks, handling, Handling Hyperlinks, Handling Hyperlinks
interfaces, constructing, Constructing HTML User Interfaces on the Fly
JLabel, HTML on Components
parsing, Parsing HTML, Attributes
reading, Reading HTML Directly
rendering with JEditorPane, JEditorPane, Reading HTML Directly
web pages, displaying with JEditorPane, JEditorPane
synchronization, threads, Synchronization, Alternatives to Synchronization
alternatives to, Alternatives to Synchronization
deadlock, Deadlock
synchronized blocks, Synchronized Blocks, Synchronized Blocks
synchronized keyword, Synchronized Blocks

T

Tag class, HTML.Tag, HTML.Tag
TCP (Transmission Control Protocol), UDP Datagrams and Sockets
multicasting and, Clients and Servers
RFC about, IETF RFCs
TCP/IP, IP, TCP, and UDP, Ports
network layers, The Layers of a Network, The Application Layer
TCP_NODELAY socket option, TCP_NODELAY
TELESC keyword, A Content Handler for an Image Format: image/x-fits
telnet
investigating protocols with, Investigating Protocols with Telnet, Investigating Protocols with Telnet
RFC about, IETF RFCs
Thread class, Running Threads
subclassing, Subclassing Thread, Subclassing Thread
thread pools, Thread Pools, Thread Pools
threads, Threads, Thread Pools
joining, Joining threads, Joining threads
polling, Polling
returning information from, Returning Information from a Thread, Callbacks
example program, Returning Information from a Thread, Returning Information from a Thread
running, Running Threads, Implementing the Runnable Interface
scheduling
blocking, Blocking
preemption, Preemption, Priority-based preemption
priorities, Priorities
sleeping, Sleeping, Sleeping
yielding, Yielding
synchronization, Synchronization, Alternatives to Synchronization
synchronized blocks, Synchronized Blocks, Synchronized Blocks
waiting on objects, Waiting on an object, Waiting on an object
time protocol, content handler for, example program, Choosing Return Types, Choosing Return Types
time server, example program, public Socket accept( ) throws IOException
Time-To-Live (see TTL)
TLS (Transport Layer Security), Secure Sockets
toExternalForm()
URL class, public String toExternalForm( )
URLStreamHandler class, Protected String toExternalForm(URL u)
toString()
Address class, The Address Class
Folder class, Utility Methods
InetAddress class, public String toString( )
InternetAddress class, The InternetAddress Class
NewsAddress class, The NewsAddress Class
Object class, public String toString( )
RemoteObject class, The RemoteObject Class
ServerSocket class, public String toString( )
Socket class, The Object Methods
Tag class, HTML.Tag
URLConnection class, The Object Methods
URLName class, Parsing Methods
toStub() (RemoteObject), The RemoteObject Class
toURL() (URL), Other sources of URL objects
TRACE (HttpURLConnection), TRACE
Transmission Control Protocol (see TCP)
Transmission Control Protocol/Internet Protocol (see TCP/IP)
transport layer, The Transport Layer
Transport Layer Security (TLS), Secure Sockets
TTL (Time-To-Live), What Is a Multicast Socket?, Clients and Servers
values for datagrams from U.S., Clients and Servers

U

UDP (User Datagram Protocol), IP, TCP, and UDP, Ports, The UDP Protocol, The UDP Protocol
clients, Simple UDP Clients, Simple UDP Clients
discard client, example program, public void send(DatagramPacket dp) throws IOException
discard server, example program, public void receive(DatagramPacket dp) throws IOException
implementing echo client with, A UDP Echo Client, A UDP Echo Client
multicasting and, Clients and Servers
RFC about, IETF RFCs
servers, UDPServer, UDPServer
unbind()
Naming class, public static void unbind(String url) throws RemoteException, NotBoundException, AlreadyBoundException, MalformedURLException, AccessException // Java 1.2
Registry interface, The Registry Interface
UnicastRemoteObject class, The Server Side, The RemoteServer Class, The UnicastRemoteObject Class
uniform resource identifiers (see URIs)
uniform resource locators (see URLs)
uniform resource names (URNs), URNs
RFC about, IETF RFCs
unread()
PushbackInputStream class, PushbackInputStream
PushbackReader class, PushbackReader
URIs (uniform resource identifiers), URIs, URIs
RFC about, IETF RFCs
URL class, The URL Class, protected void set(String protocol, String host, int port, String file, String ref )
protocol handlers and, What Is a Protocol Handler?
url field, URLConnection class, protected URL url
URL objects
comparing, example program, public boolean equals(Object o)
downloading, example program, public final Object getContent( ) throws IOException
files, pointing to, testing, public boolean sameFile(URL other)
returning, methods for, Other sources of URL objects
URLConnection class, The URLConnection Class
client request MIME headers, configuring, Configuring the Client Request MIME Header, Configuring the Client Request MIME Header
connections
configuring, Configuring the Connection, defaultUseCaches
opening, Opening URLConnections, Opening URLConnections
constructor, Opening URLConnections
content handlers and, Content Handlers, ContentHandlerFactory, What Is a Content Handler?, Installing Content Handler Factories
limitations of, The URLConnection Class
methods, Opening URLConnections, Retrieving Specific MIME Header Fields, public int getHeaderFieldInt(String name, int default) , The Object Methods
MIME types
guessing, Guessing MIME Types, Guessing MIME Types
protected instance fields, Configuring the Connection, defaultUseCaches
protocol handlers and, What Is a Protocol Handler?
security and, Security Considerations for URLConnections
servers
reading data from, Reading Data from a Server
writing data to, Writing Data to a Server, Writing Data to a Server
URLDecoder class, URLDecoder
URLEncoder class, URLEncoder, URLEncoder
URLName class, The URLName Class, Parsing Methods
URLs (uniform resource locators), URLs
absolute, constructing from relative, Constructing relative URLs
as array of strings, returning, public static String[ ] list(String url) throws RemoteException, MalformedURLException
characters in, converting, URLEncoder, URLDecoder
comparing, Protected boolean hostsEqual(URL u1, URL u2) // Java 1.3
components of, Splitting a URL into Pieces
combining into strings, Protected String toExternalForm(URL u)
example program, public string getAuthority( ) // Java 1.3
returning, public String getProtocol( ), public string getAuthority( ) // Java 1.3
connecting to, A Method for Connecting
creating, Creating New URLs, Other sources of URL objects
deleting files on, DELETE
displaying, applet for, public URL getDocumentBase( )
downloading sounds via, public AudioClip getAudioClip(URL url, String filename)
email and, The URLName Class, Parsing Methods
jar, JarURLConnection
objects bound to, public static Remote lookup(String url) throws RemoteException, NotBoundException, AccessException, MalformedURLException
options supported, determining, OPTIONS
parsing, methods for, Methods for Parsing URLs, Protected int hashCode(URL u) // Java 1.3
performing operations on, methods for, Utility Methods
pointing to files, Protected boolean sameFile(URL u1, URL u2) // Java 1.3
printing, example program, protected URL url
protocol handlers and, What Is a Protocol Handler?
reading from command line, example program, public long getLastModified( )
redirecting requests to/from, example program, Network Methods of java.applet.AppletContext
relative, URLs
converting to absolute, Attributes, Attributes
example program, Constructing relative URLs
remote objects
binding, public static void bind(String url, Remote object) throws RemoteException, AlreadyBoundException, MalformedURLException, AccessException
releasing, public static void unbind(String url) throws RemoteException, NotBoundException, AlreadyBoundException, MalformedURLException, AccessException // Java 1.2
retrieving data
from, Retrieving Data from a URL, public final Object getContent(Class[ ] classes) throws IOException // Java 1.3
with, Retrieving Data with URLs, The JPasswordField Class
RFC about, IETF RFCs
time when changed, example program, HEAD
URLStreamHandler class, Specifying a URLStreamHandler
constructor, The URLStreamHandler Class
methods, Methods for Parsing URLs, Protected abstract URLConnection openConnection(URL u) throws IOException
protocol handlers and, What Is a Protocol Handler?
URLStreamHandlerFactory interface, The URLStreamHandlerFactory Interface
method, The URLStreamHandlerFactory Interface
protocol handlers and, What Is a Protocol Handler?
URNs (uniform resource names), URNs
RFC about, IETF RFCs
useCaches field (URLConnection), useCaches
Usenet, accessing with JavaMail API, The NewsAddress Class
User Datagram Protocol (see UDP)
usernames, authenticating, The Authenticator Class
usingProxy() (HttpURLConnection), Proxies

V

versions of Java, Java Versions

W

W3C (World Wide Web Consortium), Internet Standards
recommendations, W3C Recommendations
wait() (Object), Waiting on an object
waitForAll() (MediaTracker), public boolean waitForAll( ) throws InterruptedException, public boolean waitForAll(long milliseconds) throws InterruptedException
waitForID() (MediaTracker), public void waitForID(int id) throws InterruptedException, public boolean waitForID(int id, long milliseconds) throws InterruptedException
WAV format, downloading sounds in, Downloading Sounds
web browsers in Swing, example program, Handling Hyperlinks
web pages
displaying, with JEditorPane, JEditorPane
downloading, example programs, public final InputStream openStream( ) throws IOException
URLs relative to, example program, Constructing relative URLs
web servers
loading classes from, Loading Classes at Runtime
log files on, example program for processing, Processing Web Server Log Files, Processing Web Server Log Files
putting files on, PUT
, The URLEncoder and URLDecoder Classes
(see also clients servers)
web sites, password-protected, accessing, Accessing Password-Protected Sites, The JPasswordField Class
Web, searching, Searching the Web
WebCollab, Whiteboards
whiteboards, Chat
whois, Whois, Whois
client GUI, example program, Whois, Whois
command-line client, example program, Whois, Whois
whois class, example program, Whois, Whois
World Wide Web Consortium (see W3C)
write()
OutputStream class, Output Streams
PrintWriter class, PrintWriter
Writer class, Writers
writeBytes() (DataOutputStream), Data Streams
writeChars() (DataOutputStream), Data Streams
Writer class, Readers and Writers, Writers
synchronization and, Synchronized Blocks
writeTo() (Multipart), Multipart Messages and File Attachments
writeUTF() ( (DataOutputStream), Data Streams

X

XBM format, downloading images in, public Image getImage(URL u)
XML (Extensible Markup Language), HTML, SGML, and XML

Y

yield() (Thread), Yielding

Z

ZipInputStream class, Compressing Streams
ZipOutputStream class, Compressing Streams
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.66.178