The document provides an overview of various Java packages, interfaces, and classes, detailing their purposes and functionalities. It covers core packages like java.lang and java.io, highlighting important interfaces such as Appendable, AutoCloseable, and classes like Boolean, Integer, and File. Additionally, it discusses AWT components and their related classes, emphasizing their roles in graphical user interface development.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0 ratings0% found this document useful (0 votes)
3 views25 pages
Packages in Java Notes
The document provides an overview of various Java packages, interfaces, and classes, detailing their purposes and functionalities. It covers core packages like java.lang and java.io, highlighting important interfaces such as Appendable, AutoCloseable, and classes like Boolean, Integer, and File. Additionally, it discusses AWT components and their related classes, emphasizing their roles in graphical user interface development.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
Packages in Java
[Link]
Interface Summary
Interface
Description
‘Appendable
An object to which char sequences and values can be appended.
‘AutoCloseable
CharSequence
A resource that must be closed when it is no longer needed.
‘A CharSequence is a readable sequence of char values
Cloneable
Readable
A class implements the Cloneable interface to indicate to the [Link]() method.
that it is legal for that method to make a field-for-field copy of instances of that class.
A Readable is a source of characters,
Runnable
The Runnable interface should be implemented by any class whose instances are
intended to be executed by a thread.
Class Summary
Class
Description
Boolean
‘The Boolean class wraps a value of the primitive type boolean in an object.
Byte
‘The Byte class wraps a value of primitive type byte in an object.
Character
ClassLoader
‘The Character class wraps a value of the primitive type char in an object.
‘A class loader is an object that is responsible for loading classes.
‘Compiler
‘The Compiler class is provided to support Java-to-native-code compilers and
related services.
Double
The Double class wraps a value of the primitive type double in an object.
Float
‘The Float class wraps a value of primitive type float in an object.
Integer
Long
The Integer class wraps a value of the primitive type int in an object.
‘The Long class wraps a value of the primitive type long in an object.
Math
‘The class Math contains methods for performing basic numeric operations such as
the elementary exponential, logarithm, square root, and trigonometric functions.
Number
The abstract class Number is the super class of classes Big Decimal, Big
Integer, Byte, Double, Float, Integer, Long, and Short.
Object
Class Object is the root of the class hierarchy.
Package
Package objects contain version information about the implementation and
specification of a Java package.
Process
‘The [Link]() and [Link] methods create a native process and
return an instance of a subclass of Process that can be used to control the process
and obtain information about it.
ProcessBuilder
This class is used to create operating system processes.
Runtime
Every Java application has a single instance of class Runtime that allows the
application to interface with the environment in which the application is runnin;
Ser Cia, TTT AST TS, Take ah AST, HAG AT. 7611897930 1Packages/Interface/Classes in Java Pawan Sir - 9828675862
RuntimePermission
‘This class is for runtime permissions.
SecurityManager
Short
‘The security manager is a class that allows applications to implement a security
policy.
‘The Short class wraps a value of primitive type short in an object.
StackTraceElement
‘StrictMath
An element ina stack trace, as returned by [Link]().
‘The class StrictMath contains methods for performing basic numeric operations
such as the elementary exponential, logarithm, square root, and trigonometric
functions.
‘String
‘The String class represents character strings.
StringBuffer
StringBuilder
A thread-safe, mutable sequence of characters.
‘A mutable sequence of characters,
System
Thread
‘The System class contains several useful class fields and methods.
A thread is a thread of execution in a program.
ThreadGroup
A thread group represents a set of threads,
‘Throwable
Void
‘The Throwable class is the superclass of all errors and exceptions in the Java
language. Sy
‘The Void class is an uninstantiable placeholder class to hold a reference to
the Class object representing the Java keyword void.
SCL
vse rae, MUTT ASAT TS, Toe cht Sl, WAGE A. 7611897930
2Packages/Interface/Classes in Java Pawan Sir - 9828675862
[Link]
Interface Summary
Interface Description
Closeable A Closeable is a source or destination of data that can be closed.
Datainput ‘The Datainput interface provides for reading bytes from a binary stream and
reconstructing from them data in any of the Java primitive types.
DataOutput ‘The DataQutput interface provides for converting data from any of the Java
primitive types to a series of bytes and writing these bytes to a binary stream.
Externalizable Only the identity of the class of an Externalizable instance is written in the
serialization stream and it is the responsibility of the class to save and restore
the contents of its instances.
A filter for abstract pathnames,
Instances of classes that implement this interface are used to filter filenames.
Flushable A Flushable is a destination of data that can be flushed.
Objectinput Objectinput extends the Datalnput interface to include the reading of objects.
ObjectinputValidation | Callback interface to allow validation of objects within a graph.
ObjectOutput __| ObjectOutput extends the DataOutput interface to include writing of objects.
ObjectStreamConstants | Constants written into the Object Serialization Stream.
Serializable Serializability of a class is enabled by the class implementing the
[Link] interface.
Closeable A Closeable is a source or destination of data that can be closed.
DataInput The Datalnput interface provides for reading bytes from a binary stream and
‘reconstructing from them data in any of the Java primitive types.
DataOutput ‘The DataOutput interface provides for converting data from any of the Java
primitive types to a series of bytes and writing these bytes to a binary stream.
Externalizable Only the identity of the class of an Externalizable instance is written in the
serialization stream and it is the responsibility of the class to save and restore
the contents of its instances.
{A filter for abstract pathnames.
Class Summary
Class Description
BufferedinputStream A BufferedinputStream adds functionality to another input stream-
namely, the ability to buffer the input and to support
the mark and reset methods.
BufferedOutputStream ‘The class implements a buffered output stream.
BufferedReader Reads text from a character-input stream, buffering characters so as to
provide for the efficient reading of characters, arrays, and lines.
BufferedWriter Writes text to a character-output stream, buffering characters so as to
provide for the efficient writing of single characters, arrays, and strings.
Seis cma CUS CAT, MOTTA SISO US, Tate At AST, AAT AT. 7611897930 3.Packages/Interface/Classes in Java Pawan Sir - 9828675862
ByteArrayInputStream
‘A ByteArrayInputStream contains an internal buffer that contains bytes
that may be read from the stream,
ByteArrayOutputStream
‘This class implements an output stream in which the data is written
into a byte array.
CharArrayReader
‘This class implements a character buffer that can be used as a character
input stream.
CharArrayWriter
‘This class implements a character buffer that can be used as an Writer.
Console
Methods to access the character-based console device, if any, associated
with the current Java virtual machine.
DatainputStream
‘A data input stream lets an application read primitive Java data types
from an underlying input stream in a machine-independent way.
DataOutputStream
‘A data output stream lets an application write primitive Java data types
to an output stream in a portable way.
File
An abstract representation of file and directory pathnames,
FileDescriptor
Instances of the file descriptor class serve as an opaque handle to the
underlying machine-specific structure representing an open file, an
open socket, or another source or sink of bytes.
FileInputStream
A FileInputStream obtains input bytes from a file ina file system.
FileOutputStream
A file output stream is an output stream for writing data to a File or to
a FileDescriptor.
FilePermission
‘This class represents access to a file or directory.
FileReader
‘Convenience class for reading character files,
FileWriter
FilterInputStream
Convenience class for writing character files. _
A FilterInputStream contains some other input stream, which it uses as
its basic source of data, possibly transforming the data along the way or
providing additional functionality.
FilterOutputStream
This class is the superclass of all classes that filter output streams.
FilterReader
FilterWriter
Abstract class for reading filtered character streams,
Abstract class for writing filtered character streams.
InputStream
‘This abstract class is the superclass of all classes representing an input
stream of bytes.
InputStreamReader
LineNumberInputStream
An InputStreamReader is a bridge from byte streams to character
streams: It reads bytes and decodes them into characters using a
specified charset.
Deprecated
‘This class incorrectly assumes that bytes adequately represent characters.
LineNumberReader
ObjectInputStream
A buffered character-input stream that keeps track of line numbers.
An ObjectinputStream deserializes primitive data and objects
previously written using an ObjectOutputStream.
[Link]
Provide access to the persistent fields read from the input stream.
ObjectOutputStream
ObjectOutputStream PutField
‘An ObjectOutputStream writes primitive data types and graphs of Java
objects to an OutputStream.
Provide programmatic access to the persistent fields to be written to
ObjectOutput.
Peis ma CUS CAT, MIATA SISO TS, Tate St AS, AAT AT. 7611897930 &Packages/Interface/Classes in Java Pawan Sir - 9828675862
ObjectStreamClass Serialization's descriptor for classes.
ObjectStreamField A description of a Serializable field from a Serializable class.
OutputStream ‘This abstract class is the superclass of all classes representing an output
stream of bytes.
OutputStreamWriter An OutputStreamWriter is a bridge from character streams to byte
streams: Characters written to it are encoded into bytes using a
specified charset.
PipedinputStream ‘A piped input stream should be connected to a piped output stream;
the piped input stream then provides whatever data bytes are written
to the piped output stream.
PipedOutputStream A piped output stream can be connected to a piped input stream to
create a communications pipe.
PipedReader Piped character-input streams.
PipedWriter Piped character-output streams.
PrintStream ‘A PrintStream adds functionality to another output stream, namely the
ability to print representations of various data values conveniently.
PrintWriter Prints formatted representations of objects to a text-output stream,
PushbackInputStream A PushbackinputStream adds functionality to another input stream,
namely the ability to "push back" or "unread one byte.
PushbackReader A character-stream reader that allows characters to be pushed back into
the stream.
RandomAccessFile Instances of this class support both reading and writing to a random
access file,
Reader Abstract class for reading character streams.
SequenceInputStream A SequencelnputStream represents the logical concatenation of other
input streams,
SerializablePermission This class is for Serializable permissions.
StreamTokenizer ‘The StreamTokenizer class takes an input stream and parses it into
tokens’, allowing the tokens to be read one at a time.
StringBufferinputStream | Deprecated
This class does not properly convert characters into bytes.
StringReader A character stream whose source is a string.
StringWriter A character stream that collects its output in a string buffer, which can
then be used to construct a string
Writer Abstract class for writing to character streams.
vse Cia, MUTT AST TS, Tae cht ASL, HAGE AT. 7611897930 5Packages/Interface/Classes in Java Pawan Sir - 9828675862
Interface Summary
Description
‘An interface for events that know how to dispatch themselves.
Adjustable
‘The interface for objects which have an adjustable numeric value contained
within a bounded range of values.
‘Composite
CompositeContext
‘The Composite interface, along with CompositeContext, defines the methods
to compose a draw primitive with the underlying graphics area.
‘The CompositeContext interface defines the encapsulated and optimized
environment for a compositing operation,
TtemSelectable
‘The interface for objects which contain a set of items for which zero or more
can be selected.
KeyEventDispatcher
KeyEventPostProcessor
‘A KeyEventDispatcher cooperates with the current KeyboardFocusManager
in the targeting and dispatching of all KeyEvents.
A KeyEventPostProcessor cooperates with the current
KeyboardFocusManager in the final resolution of all unconsumed KeyEvents.
TayoutManager
LayoutManager2
Defines an interface for classes that know how to layout Containers based on a
layout constraints object.
MenuContainer
‘The super class of all menu related containers.
Paint
‘This Paint interface defines how color patterns can be generated
for Graphies2D operations.
PaintContext
‘The PaintContext interface defines the encapsulated and optimized
environment to generate color patterns in device space for fill or stroke
operations on a Graphies2D.
PrintGraphics
An abstract class which provides a print graphics context for a page.
‘SecondaryLoop
‘A helper interface to run the nested event loop.
Shape
‘The Shape interface provides definitions for objects that represent some form
of geometric shape.
Stroke
The Stroke interface allows a Graphies2D object to obtain a Shape that is the
decorated outline, or stylistic representation of the outline, of the
specified Shape.
Transparency
‘The Transparency interface defines the common transparency modes for
implementing classes.
Class
Class Summary
Description
‘AlphaComposite
‘The AlphaComposite class implements basic alpha compositing
rules for combining source and destination colors to achieve
blending and transparency effects with graphics and images.
‘The root event class for all AWT events.
Sei ma CUS CAT, MOTTA ATSUTA US, Tate At AST, AAT AT. 7611897930 6Packages/Interface/Classes in Java
Pawan Sir - 9828675862
AWTEventMulticaster
AWTEventMulticaster implements efficient and thread-safe
multi-cast event dispatching for the AWT events defined in
the [Link] package.
AWTKeyStroke
AWTPermission
An AWTkeyStroke represents a key action on the keyboard, or
equivalent input device.
This class is for AWT permissions.
BasicStroke
BorderLayout
‘The BasicStroke class defines a basic set of rendering attributes
for the outlines of graphics primitives, which are rendered with
a Graphics2D object that has its Stroke attribute set to
this BasicStroke.
‘A border layout lays out a container, arranging and resizing its,
components to fit in five regions: north, south, east, west, and
center.
BufferCapabilities
Capabilities and properties of buffers.
[Link]
Button
‘A type-safe enumeration of the possible back buffer contents
after page-flipping by
This class creates a labeled button.
Canvas
‘A Canvas component represents a blank rectangular area of the
screen onto which the application can draw or from which the
application can trap input events from the user.
CardLayout
A CardLayout object is a layout manager for a container.
Checkbox
‘A check box is a graphical component that can be in either an
"on" (true) or "off" (false) state.
‘CheckboxGroup
‘The CheckboxGroup class is used to group together a set
of Checkbox buttons,
CheckboxMenultem
‘This class represents a check box that can be included in a menu,
Choice
Color
‘The Choice class presents a pop-up menu of choices.
The Color class is used to encapsulate colors in the default sRGB
color space or colors in arbitrary color spaces identified by
a ColorSpace.
‘Component
‘A component is an object having a graphical representation that
can be displayed on the screen and that can interact with the
user.
‘ComponentOrientation
‘The ComponentOrientation class encapsulates the language-
sensitive orientation that is to be used to order the elements of a
component or of text.
Container
‘A generic Abstract Window Toolkit(AWT) container object is a
component that can contain other AWT components.
ContainerOrderFocusTraversalPolicy
A FocusTraversalPolicy that determines traversal order based
on the order of child Components in a Container.
Cursor
‘A class to encapsulate the bitmap representation of the mouse
cursor.
DefaultFocusTraversalPolicy
AFocusTraversalPolicy that determines traversal order based
on the order of child Components in a Container,
Seis ma CUS CAT, MOTTA SISO US, Tote AT AS, AAT AT. 7611897930 7Packages/Interface/Classes in Java Pawan Sir - 9828675862
DefaultKeyboardFocusManager
‘The default KeyboardFocusManager for AWT applications.
Desktop
‘The Desktop class allows a Java application to launch associated
applications registered on the native desktop to handle a URI or
afile.
Dialog
A Dialog is a top-level window with a title and a border that is
typically used to take some form of input from the user,
Dimension
DisplayMode
‘The Dimension class encapsulates the width and height of a
component (in integer precision) in a single object.
‘The DisplayMode class encapsulates the bit depth, height,
width, and refresh rate of a GraphiesDevice.
Event
NOTE: The Event class is obsolete and is available only for
backwards compatilibility.
EventQueue
EventQueue is a platform-independent class that queues events,
both from the underlying peer classes and from trusted
application classes.
FileDialog
The FileDialog class displays a dialog window from which the
user can select a file
FlowLayout
‘A flow layout arranges components in a directional flow, much
like lines of text ina paragraph.
FocusTraversalPolicy
‘A FocusTraversalPolicy defines the order in which Components
with a particular focus cycle root are traversed.
Font
‘The Font class represents fonts, which are used to render text in|
a visible way,
FontMetrics
‘The FontMetrics class defines a font metrics object, which
encapsulates information about the rendering of a particular
font on a particular screen.
Frame
A Frame isa top-level window with a title and a border.
GradientPaint
‘The GradientPaint class provides a way to fill a Shape with a
linear color gradient pattern.
Graphics
The Graphics class is the abstract base class for all graphics
contexts that allow an application to draw onto components that
are realized on various devices, as well as onto off-screen
images.
Graphics2D
This Graphics2D class extends the Graphics class to provide
more sophisticated control over geometry, coordinate
transformations, color management, and text layout.
GraphicsConfigTemplate
‘The GraphicsConfigTemplate class is used to obtain a
valid GraphicsConfiguration.
GraphicsConfiguration
The GraphicsConfiguration class describes the characteristics of
a graphics destination such as a printer or monitor
GraphicsDevice
‘The GraphicsDevice class describes the graphics devices that
might be available in a particular graphics environment.
GraphicsEnvironment
The GraphiesEnvironment class describes the collection,
of GraphicsDevice objects and Font objects available to a
Java(tm) application on a particular platform.
Seip ma CUS CAT, MOTTA SISO TS, Tate At AST, AAT AT. 7611897930 8Packages/Interface/Classes in Java Pawan Sir - 9828675862
GridBagConstraints
‘The GridBagConstraints class specifies constraints for
components that are laid out using the GridBagLayout class.
GridBagLayout
GridBagLayoutinfo
‘The GridBagLayout class is a flexible layout manager that aligns
components vertically, horizontally or along their baseline
without requiring that the components be of the same size.
The GridBagLayoutInfo is an utility class
for GridBagl ayout layout manager.
GridLayout
Image
‘The GridLayout class is a layout manager that lays out a
container's components in a rectangular grid.
‘The abstract class Image is the superclass of all classes that
represent graphical images.
ImageCapabilities
Capabilities and properties of images.
Insets
An Insets object is a representation of the borders of a container.
JobAttributes
A set of attributes which control a print job.
KeyboardFocusManager
Label
‘The KeyboardFocusManager is responsible for managing the
active and focused Windows, and the current focus owner.
A Label object is a component for placing text in a container.
LinearGradientPaint
‘The LinearGradientPaint class provides a way to fill
a Shape with a linear color gradient pattern.
List
‘The List component presents the user with a scrolling list of text
items,
MediaTracker
The MediaTracker class is a utility class to track the status of a
number of media objects.
Menu
‘MenuBar
from a menu bar.
A Menu object is a pull-down menu component that is deployed
‘The MenuBar class encapsulates the platform's concept of a
menu bar bound to a frame.
‘MenuComponent
‘Menultem
‘The abstract class MenuComponent is the superclass of all
_| menu-related components.
All items in a menu must belong to the class Menultem, or one
of its subclasses,
‘MenuShortcut
‘The MenuShortcutclass represents a keyboard accelerator for a
Menultem,
‘Mouselnfo
MultipleGradientPaint
Mouselnfo provides methods for getting information about the
‘mouse, such as mouse pointer location and the number of
mouse buttons.
This is the superclass for Paints which use a multiple color
gradient to fill in their raster.
PageAttributes
Panel
A set of attributes which control the output of a printed page.
Panel is the simplest container class.
Point
A point representing a location in (x,y) coordinate space,
specified in integer precision.
PointerInfo
Polygon
‘A class that describes the pointer position.
The Polygon class encapsulates a description of a closed, two-
Secs c ma CUS CAT, OTA SISO US, Tate ST AST, AAT AT. 7611897930 9Packages/Interface/Classes in Java Pawan Sir - 9828675862
PopupMenu
dimensional region within a coordinate space.
‘A class that implements a menu which can be dynamically
popped up at a specified position within a component.
Printjob
RadialGradientPaint
Rectangle
An abstract class which initiates and executes a print job.
‘The RadialGradientPaint class provides a way to fill a shape
with a circular radial color gradient pattern.
‘A Rectangle specifies an area in a coordinate space that is
enclosed by the Rectangle object's upper-left point (x,y) in the
coordinate space, its width, and its height.
RenderingHints
‘The RenderingFlints class defines and manages collections of
keys and associated values which allow an application to
provide input into the choice of algorithms used by other classes
which perform rendering and image manipulation services,
‘This class is used to generate native system input events for the
Purposes of test automation, self-running demos, and other
applications where control of the mouse and keyboard is
needed,
‘Scrollbar
‘The Scrollbar class embodies a scroll bar, a familiar user-
interface abject.
ScrollPane
‘Acontainer class which implements automatic horizontal
and/or vertical scrolling for a single child component.
‘ScrollPaneAdjustable
‘This class represents the state of a horizontal or vertical scrollbar
of a ScrollPane.
SplashScreen
‘The splash screen can be displayed at application startup, before
the Java Virtual Machine (JVM) starts.
‘SystemColor
‘A class to encapsulate symbolic colors representing the color of
native GUI objects ona system.
‘SystemTray
‘The SystemTray class represents the system tray for a desktop.
TextArea
A TextArea object is a multi-line region that displays text.
TextComponent
‘The TextComponent class is the superclass of any component
that allows the editing of some text.
TextField
TexturePaint
‘A TextField object is a text component that allows for the editing
of a single line of text.
‘The TexturePaint class provides a way to fill a Shape with a
texture that is specified as a BufferedImage.
Toolkit
‘This class is the abstract superclass of all actual implementations
of the Abstract Window Toolkit.
Trayleon
Window
‘A Traylcon object represents a tray icon that can be added to
the system tray.
‘A Window object is a top-level window with no borders and no
menubar.
See mem COST CAT, MUTA aTSUTA Us, oie AT AS, TAGE AT. 7611897930 10Packages/Interface/Classes in Java Pawan Sir - 9828675862
[Link]
Interface Summary
Interface Description
EventListener A tagging interface that all event listener interfaces must extend.
Formatiable ‘The Formattable interface must be implemented by any class that needs to
perform custom formatting using the’'s' conversion specifier of Formatter.
Observer ‘A class can implement the Observer interface when it wants to be informed of
changes in observable objects.
RandomAccess Marker interface used by List implementations to indicate that they support
fast (generally constant time) random access.
Class Summary
Description
Arrays This class contains various methods for manipulating arrays
(such as sorting and searching).
BitSet This class implements a vector of bits that grows as needed.
‘Calendar ‘The Calendar class is an abstract class that provides methods for
converting between a specific instant in time and a set
of calendar fields such
as YEAR, MONTH, DAY_OF_MONTH, HOUR, and so on, and
for manipulating the calendar fields, such as getting the date of
the next week.
Collections ‘This class consists exclusively of static methods that operate on
or return collections.
‘Currency Represents a currency.
Date The class Date represents a specific instant in time, with
millisecond precision.
EventObject ‘The root class from which all event state objects shall be
derived.
FormattableFlags FomattableFlags are passed to
the [Link]() method and modify the output
format for Formattables.
Formatter An interpreter for printf-style format strings,
GregorianCalendar GregorianCalendar is a concrete subclass of Calendar and
provides the standard calendar system used by most of the
world.
ListResourceBundle ListResourceBundle is an abstract subclass
of ResourceBundle that manages resources for a locale in a
convenient and easy to use list.
A Locale object represents a specific geographical, political, or
cultural region
Sec me COST CIT, MATA ATSUT Us, ui AT AS, AAG AT. 7611897930 11Packages/Interface/Classes in Java Pawan Sir - 9828675862
Objects
This class consists of static utility methods for operating on
objects,
(Observable
This class represents an observable object, or “data” in the
model-view paradigm.
Properties
‘The Properties class represents a persistent set of properties.
PropertyPermission
PropertyResourceBundle
This class is for property permissions.
PropertyResourceBundle is a concrete subclass
of ResourceBundle that manages resources for a locale using a
set of static strings from a property file.
Random
‘An instance of this class is used to generate a stream of
pseudorandom numbers.
ResourceBundle
‘Scanner
Resource bundles contain locale-specific objects.
A simple text scanner which can parse primitive types and
strings using regular expressions.
SimpleTimeZone
StringTokenizer
‘SimpleTimeZone is a concrete subclass of TimeZone that
represents a time zone for use with a Gregorian calendar.
The string tokenizer class allows an application to break a string
into tokens.
Timer
A facility for threads to schedule tasks for future execution in a
background thread.
TimerTask
A task that can be scheduled for one-time or repeated execution
bya Timer.
TimeZone
TimeZone represents a time zone offset, and also figures out
daylight savings.
UUID
‘A class that represents an immutable universally unique
identifier (UID).
Dec me COST Cae, MUTA aTSUTA Us, Tui AT AS, TAGE AT. 7611897930 12Packages/Interface/Classes in Java Pawan Sir - 9828675862
Interface
[Link]
Interface Summary
Description
ContentHandlerFactory
‘This interface defines a factory for content handlers,
CookiePolicy
CookiePolicy implementations decide which cookies should be accepted
and which should be rejected.
CookieStore
DatagramSocketImpIFactory
A CookieStore object represents a storage for cookie.
This interface defines a factory for datagram socket implementations.
FileNameMap
A simple interface which provides a mechanism to map between a file
name and a MIME type string
ProtocolFamily
Represents a family of communication protocols,
SocketImplFactory
This interface defines a factory for socket implementations.
SocketOptions
Interface of methods to get/set socket options.
URLStreamHandlerFactory
This interface defines a factory for URL stream protocol handlers.
Class
‘Authenticator
CacheRequest
‘The class Authenticator represents an object that knows how to
obtain authentication for a network connection.
Represents channels for storing resources in the ResponseCache.
CacheResponse
ContentHandler
Represent channels for retrieving resources from the
ResponseCache. AZ
The abstract class ContentHandler is the superclass of all classes
that read an Object from a URLConnection,
‘CookieHandler
‘A CookieHandler object provides a callback mechanism to hook
up a HTTP state management policy implementation into the
HTTP protocol handler.
‘CookieManager
DatagramPacket
CookieManager provides a concrete implementation
of CookieHandler, which separates the storage of cookies from
the policy surrounding accepting and rejecting cookies.
This class represents a datagram packet.
DatagramSocket
DatagramSocketimpl
This class represents a socket for sending and receiving,
datagram packets.
Abstract datagram and multicast socket implementation base
class.
HtpCookie
An HttpCookie object represents an http cookie, which carries
state information between server and user agent.
HttpURLConnection
IDN
A URLConnection with support for HTTP-specific features.
Provides methods to convert internationalized domain names
(IDNs) between a normal Unicode representation and an ASCII
Compatible Encoding (ACE) representation.
Dec mam COST CIT, MOTT ATSUTA US, Tue AT AS, TATE AT. 7611897930 13,Packages/Interface/Classes in Java Pawan Sir - 9828675862
Inet4Address
This class represents an Internet Protocol version 4 (IPv4)
address.
Inet6Address
This class represents an Internet Protocol version 6 (IPv6)
address.
TnetAddress
This class represents an Internet Protocol (IP) address.
TnetSocketAddress
InterfaceAddress
This class implements an IP Socket Address (IP address + port
number) It can also be a pair (hostname + port number), in
which case an attempt will be made to resolve the hostname.
This class represents a Network Interface address.
JarURLConnection
AURL Connection to a Java ARchive (JAR) file or an entry in a
JAR file.
MulticastSocket
‘The multicast datagram socket class is useful for sending and
receiving IP multicast packets.
NetPermission
This class is for various network permissions.
Networkinterface
PasswordAuthentication
This class represents a Network Interface made up of a name,
and a list of IP addresses assigned to this interface.
The class Password Authentication is a data holder that is used
by Authenticator.
Proxy
This class represents a proxy setting, typically a type (http,
socks) and a socket address.
ProxySelector
Selects the proxy server to use, if any, when connecting to the
network resource referenced by a URL.
ResponseCache
Represents implementations of URLConnection caches.
SecureCacheResponse
ServerSocket
Represents a cache response originally retrieved through secure
such as TLS.
‘This class implements server sockets.
Socket
This class implements client sockets (also called just "sockets
SocketAddress
This class represents a Socket Address with no protocol
attachment.
‘Socketimpl
The abstract class Socketimp! is a common superclass of all,
classes that actually implement sockets.
SocketPermission
This class represents access to a network via sockets.
‘StandardSocketOptions
Defines the standard socket options.
URI
Represents a Uniform Resource Identifier (URI) reference.
URL
URLClassLoader
Class URL represents a Uniform Resource Locator, a pointer to a
“resource” on the World Wide Web.
This class loader is used to load classes and resources froma
search path of URLs referring to both J AR files and directories.
URLConnection
‘The abstract class URLConnection is the superclass of all classes
that represent a communications link between the application
anda URL.
URLDecoder
Utility class for HTML form decodin;
URLEncoder
Utility class for HTML form encoding.
vse Cae, MaTeTTT ASU Te, oie cht ast, HAGE AT. 7611897930 14Packages/Interface/Classes in Java Pawan Sir - 9828675862
URLStreamHandler
The abstract class URLStreamHandler is the common superclass.
for all stream protocol handlers.
Networkinterface
This class represents a Network Interface made up of a name,
and a list of IP addresses assigned to this interface.
Password Authentication
‘The class Password Authentication is a data holder that is used
by Authenticator.
Proxy
ProxySelector
This class represents a proxy setting, typically a type (http,
socks) and a socket address
Selects the proxy server to use, if any, when connecting to the
network resource referenced by a URL.
ResponseCache
Represents implementations of URLConnection caches.
SecureCacheResponse
Represents a cache response originally retrieved through secure
means, such as TLS.
ServerSocket
This class implements server sockets.
Socket
SocketAddress
This class implements client sockets (also called just "sockets",
This class represents a Socket Address with no protocol
attachment.
Socketimpl
‘The abstract class SocketImpl is a common superclass of all
classes that actually implement sockets.
SocketPermission
‘StandardSocketOptions
‘This class represents access to a network via sockets.
Defines the standard socket options.
URI
URL
| Represents a Uniform Resource Identifier (URI) reference,
Class URL represents a Uniform Resource Locator, a pointer to a
resource" on the World Wide Web.
URLClassLoader
‘This class loader is used to load classes and resources from a
search path of URLs referring to both JAR files and directories.
URLConnection
The abstract class URLConnection is the superclass of all classes
that represent a communications link between the application
and a URL.
URLDecoder
Utility class for HTML form decodin,
URLEncoder
Utility class for HTML form encoding,
URLStreamHandler
The abstract class URLStreamHandier is the common superclass
for all stream protocol handlers.
See mem COST CAT, MUTA ATSUTA US, Tui AT AS, TAGE AT. 7611897930 15,Packages/Interface/Classes in Java Pawan Sir - 9828675862
[Link]
Interface Summary
Interface Description
Array ‘The mapping in the Java programming language for the SQL.
type ARRAY.
Blob ‘The representation (mapping) in the Java™ programming language of an
SQL BLOB value.
CallableStatement ‘The interface used to execute SQL. stored procedures,
Clob ‘The mapping in the Java™ programming language for the
SQL CLOB type.
Connection: A connection (session) with a specific database.
DatabaseMetaData Comprehensive information about the database as a whole.
Driver The interface that every driver class must implement.
NClob ‘The mapping in the Java™ programming language for the
SQL NCLOB type.
ParameterMetaData An object that can be used to get information about the types and
properties for each parameter marker in a PreparedStatement object
PreparedStatement An object that represents a precompiled SQL statement.
Ref ‘The mapping in the Java programming language of an SQL REF value,
which is a reference to an SQL. structured type value in the database.
ResultSet A table of data representing a database result set, which is usually
generated by executing a statement that queries the database.
ResultSetMetaData ‘An object that can be used to get information about the types and.
properties of the columns in a ResultSet object.
Rowld ‘The representation (mapping) in the Java programming language of an
SQL ROWID value.
Savepoint ‘The representation of a savepoint, which is a point within the current
transaction that can be referenced from the [Link] method.
SQLData The interface used for the custom mapping of an SQL user-defined type
(UDT) to a class in the Java programming language.
‘SQLInput ‘An input stream that contains a stream of values representing an
instance of an SQL structured type or an SQL distinct type
SQLOutput ‘The output stream for writing the attributes of a user-defined type back
to the database.
SQLXML ‘The mapping in the JavaTM programming language for the SQL XML
type.
Statement ‘The object used for executing a static SQL statement and returning the
results it produces.
‘Struct ‘The standard mapping in the Java programming language for an SQL
structured type.
Wrapper Interface for JDBC classes which provide the ability to retrieve the
delegate instance when the instance in question is in fact a proxy class.
vse Zak, MaTeTTT ASU Te, oie cht ast, HAGE AT. 7611897930 16Packages/Interface/Classes in Java Pawan Sir - 9828675862
Class Summary
Description
Date
A thin wrapper around a millisecond value that allows JDBC to identify
this as an SQL DATE value.
DriverManager
The basic service for managing a set of JDBC drivers
NOTE: The DataSource interface, new in the JDBC 2.0 API, provides
another way to connect to a data source.
DriverPropertyinfo
Time
Driver properties for making a connection.
A thin wrapper around the [Link] class that allows the JDBC API
to identify this as an SQL TIME value.
Timestamp
Types
A thin wrapper around [Link] that allows the JDBC API to
identify this as an SQL TIMESTAMP value.
‘The class that defines the constants that are used to identify generic SQL
types, called JDBC types.
Deck me CUS CIT, MUTA ATSUTA Us, Toi AT AS, TAGE AT. 7611897930 17Packages/Interface/Classes in Java Pawan Sir - 9828675862
[Link]
Interface Summary
Interface Description
AttributedCharacterlterator_| An AttributedCharacterlterator allows iteration through both text and
related attribute information.
Characterlterator This interface defines a protocol for bidirectional iteration over text.
Class Summary
Class Description
Annotation An Annotation object is used as a wrapper for a text attribute
value if the attribute has annotation characteristics.
AttributedString, An AttributedString holds text and related attribute information.
Bidi This class implements the Unicode Bidirectional Algorithm.
Breakiterator The Breaklterator class implements methods for finding the
location of boundaries in text.
ChoiceFormat A ChoiceFormat allows you to attach a format to a range of
p RUMD ETE mest =
The CollationElementiterator class is used as an iterator to walk
through each character of an international string,
CollationKey A CollationKey represents a String under the rules of a
specific Collator object.
Collator The Collator class performs locale-sensitive String comparison.
CollationElementiterator
DateFormat DateFormat is an abstract class for date/time formatting
subclasses which formats and parses dates or time in a language-
independentmanner.
DateFormatSymbols DateFormatSymbols is a public class for encapsulating localizable
date-time formatting data, such as the names of the months, the
names of the days of the week, and the time zone data
DecimalFormat DecimalFormat is a concrete subclass of NumberFormat that
formats decimal numbers.
DecimalFormatSymbols This class represents the set of symbols (such as the decimal
separator, the grouping separator, and so on) needed
by DecimalFormat to format numbers.
FieldPosition FieldPosition is a simple class used by Format and its subclasses
to identify fields in formatted output
Format Format is an abstract base class for formatting locale-sensitive
information such as dates, messages, and numbers.
MessageFormat MessageFormat provides a means to produce concatenated
messages in a language-neutral way.
Dec ma COST Cae, MUTA ATSUTA Us, Tui AT AS, TAGE AT. 7611897930 18,Packages/Interface/Classes in Java Pawan Sir - 9828675862
Normalizer
This class provides the method normalize which transforms
Unicode text into an equivalent composed or decomposed form,
allowing for easier sorting and searching of text.
NumberFormat
‘NumberFormat is the abstract base class for all number formats.
ParsePosition
RuleBasedCollator
ParsePosition is a simple class used by Format and its subclasses
to keep track of the current position during parsing,
The RuleBasedCollator class is a concrete subclass of Collator that
provides a simple, data-driven, table collator.
SimpleDateFormat
‘SimpleDateFormat is a concrete class for formatting and parsing
dates in a locale-sensitive manner.
StringCharacterlterator
StringCharacterlterator implements
the Characterlterator protocol for a String,
See ma COST Cat, MOAT aTSUTA Us, Tui AT AS, TAGE AT. 7611897930 19Packages/Interface/Classes in Java Pawan Sir - 9828675862
[Link]
Interface Summary
Description
The Action interface provides a useful extension to
the ActionListener interface in cases where the same functionality
may be accessed by several controls
BoundedRangeModel
Defines the data model used by components like Sliders,
and ProgressBars.
ButtonModel
CellEditor
State model for buttons.
This interface defines the methods any general editor should be
able to implement.
‘ComboBoxEditor
The editor component used for JComboBox components.
DesktopManager
DesktopManager objects are owned by a JDesktopPane object.
Teon
‘A small fixed size picture, typically used to decorate components.
ListSelectionModel
MenuElement
This interface represents the current state of the selection for any of
the components that display a list of values with stable indices.
‘Any component that can be placed into a menu should implement
this interface.
Renderer
Defines the requirements for an object responsible for "rendering
(displaying) a value.
RootPaneContainer
‘This interface is implemented by components that have a single
JRootPane child: JDialog, JFrame, Window, JApplet,
JinternalFrame.
‘Scrollable
An interface that provides information to a scrolling container like
JScrollPane.
ScrollPaneConstants
Constants used with the JScrollPane component.
SingleSelectionModel
A model that supports at most one indexed selection,
SpinnerModel
‘SwingConstants
| A model for a potentially unbounded sequence of object values.
A collection of constants generally used for positioning and
orienting components on the screen.
WindowConstants
Constants used to control the window-closing operation.
Class Summary
Class
Description
“AbstractAction
This class provides default implementations for the
JEC Action interface.
AbstractButton
Defines common behaviors for buttons and menu items.
‘AbstractCellEditor
‘A base class for CellEditors, providing default implementations
for the methods in the CellEditor interface
except getCellEditorValue()
AbstractSpinnerModel
This class provides the ChangeListener part of the
See me COST Cae, MUTA ATSUTA Us, Tui AT AS, TAGE AT. 7611897930 20Packages/Interface/Classes in Java
Pawan Sir - 9828675862
SpinnerModel interface that should be suitable for most
concrete SpinnerModel implementations.
‘ActionMap
ActionMap provides mappings from Objects
(called keys or Action names) to Actions.
BorderFactory
Factory class for vending standard Border objects.
Box
BoxLayout
A lightweight container that uses a BoxLayout object as its
layout manager.
A layout manager that allows multiple components to be laid
out either vertically or horizontally
ButtonGroup
CellRendererPane
This class is used to create a multiple-exclusion scope for a set of
buttons.
‘This class is inserted in between cell renderers and the
components that use them,
‘ComponentinputMap
‘A ComponentinputMap is an InputMap associated with a
particular JComponent.
DebugGraphics
Graphics subclass supporting graphics debugging,
DefaultBoundedRangeModel
DefaultButtonModel
‘A generic implementation of BoundedRangeModel.
‘The default implementation of a Button component's data
model.
DefaultCellEditor
‘The default editor for table and tree cells.
DefaultDesktopManager
This is an implementation of the DesktopManager.
DefaultFocusManager
DefaultListCellRenderer
| ‘This class has been obsoleted by the 1.4 focus APIs.
Renders an item ina list.
DefaultListSelectionModel
DefaultSingleSelectionModel
FocusManager
‘This class has been obsoleted by the 1.4 focus APIs,
GrayFilter
‘An image filter that "disables" an image by turning it into a
srayscale image, and brightening the pixels in the image.
GroupLayout
GroupLayout is a LayoutManager that hierarchically groups
components in order to position them in a Container.
Imagelcon
InputMap_
‘An implementation of the Icon interface that paints Icons from
Images.
InputMap provides a binding between an input event (currently
only KeyStrokes are used) and an Object.
Input Verifier
‘The purpose of this class is to help clients support smooth focus
navigation through GUIs with text fields.
InternalFrameFocusTraversalPolicy
‘A FocusTraversalPolicy which can optionally provide an
algorithm for determining a JInternalFrame’s initial Component.
JApplet
‘An extended version of [Link]. Applet that adds support for
the JFC/Swing component architecture.
JButton
JCheckBox
‘An implementation of a "push" button.
‘An implementation of a check box ~- an item that can be selected
or deselected, and which displays its state to the user.
Se Cia, MUTT AST TS, Toe cht asl, WAGE AT. 7611897930Packages/Interface/Classes in Java Pawan Sir - 9828675862
JCheckBoxMenultem
A menu item that can be selected or deselected,
JColorChooser
JComponent
JColorChooser provides a pane of controls designed to allow a
user to manipulate and select a color.
The base class for all Swing components except top-level
containers.
JDesktopPane
A container used to create a multiple-document interface or a
virtual desktop,
Dialog
‘The main class for creating a dialog window.
JEditorPane
‘A text component to edit various kinds of content.
JFileChooser
JFormattedTextField
JFileChooser provides a simple mechanism for the user to
choose a file.
JFormattedTextField extends JTextField adding support for
formatting arbitrary values, as well as retrieving a particular
object once the user has edited the text.
JFrame
JinternalFrame
An extended version of [Link]-Frame that adds support for
the JEC/Swing component arch
A lightweight object that pro
native frame, including dragging, closing, becoming an icon,
resizing, title display, and support for a menu bar.
JLabel
A display area for a short text string or an image, or both.
JlayeredPane
JLayeredPane adds depth to a JFC/Swing container, allowing
components to overlap each other when needed.
JMenu
‘An implementation of a menu --a popup window
containing JMenultems that is displayed when the user selects
‘an item on the JMenuBar,
JMenuBar
‘JMenultem
An implementation of a menu bar.
‘An implementation of an item ina menu.
JOptionPane
JPanel
JOptionPane makes it easy to pop up a standard dialog box that
_| prompts users for a value or informs them of something.
JPanel is a generic lightweight container.
JPasswordField
JPasswordField is a lightweight component that allows the
editing of a single line of text where the view indicates
something was typed, but does not show the original characters.
JPopupMenu
JProgressBar
‘An implementation of a popup menu ~a small window that
pops up and displays a series of choices.
A component that visually displays the progress of some task.
JRadioButton
JRadioButtonMenultem
An implementation of a radio button -- an item that can be
selected or deselected, and which displays its state to the user.
An implementation of a radio button menu item.
JRootPane
A lightweight container used behind the scenes
by JFrame, |Dialog, JWindow, |Applet, and JInternalFrame.
JScroliBar
JScroliPane
An implementation of a scrollbar.
Provides a scrollable view of a lightweight component.
JSeparator
JSeparator provides a general purpose component for
See ma COST CIT, MATA SISO TS, Tui AT AS, TAGE AT. 7611897930 22Packages/Interface/Classes in Java Pawan Sir - 9828675862
implementing divider lines - most commonly used as a divider
between menu items that breaks them up into logical
roupings.
JSlider
‘[Link] that lets the user graphically select a value by
sliding a knob within a bounded interval.
JSpinner
‘A single line input field that lets the user select a number or an
object value from an ordered sequence.
JSplitPane
JSplitPane is used to divide two (and only two) Components.
JTabbedPane
‘component that lets the user switch between a group of
components by clicking on a tab with a given title and/or icon.
JTable
JTextArea
‘The JTable is used to display and edit regular two-dimensional
tables of cells,
A JTextArea is a multi-line area that displays plain text.
JTextField
JTextField is a lightweight component that allows the editing of
a single line of text.
JTextPane
‘A text component that can be marked up with attributes that are
represented graphically
TToggleButton
An implementation of a two-state button.
JToolBar
[Link]
JToolBar provides a component that is useful for displaying
commonly used Actions or controls. _
A toolbar-specific separator.
JToolTip
Used to display a "Tip" for a Component.
JTree
JViewport
A control that displays a set of hierarchical data as an out
The "viewport" or "porthole" through which you see the
underlying information.
JWindow
‘A JWindow is a container that can be displayed anywhere on
the user's desktop.
KeyStroke
A KeyStroke represents a key action on the keyboard, or
equivalent input device.
LayoutFocusTraversalPolicy
‘A SortingFocusTraversalPolicy which sorts Components based.
on their size, position, and orientation.
LayoutStyle
LayoutStyle provides information about how to position
components,
LookAndFeel
LookAndFeel, as the name implies, encapsulates a look and feel.
‘MenuSelectionManager
‘A MenuSelectionManager owns the selection in menu
hierarchy.
OverlayLayout
A layout manager to arrange components over the top of each
other.
Popup
Popups are used to display a Component to the user, typically
on top of all the other Components in a particular containment
hierarchy.
PopupFactory
PopupFactory, as the name implies, is used to obtain instances
of Popups.
Progress Monitor
class to monitor the progress of some operation.
vse Ziae, Marr as aTa Te, Asie cht ast, HAGE AT. 7611897930 23Packages/Interface/Classes in Java Pawan Sir - 9828675862
ProgressMonitorInputStream
Monitors the progress of reading from some InputStream,
RepaintManager
This class manages repaint requests, allowing the number of
repaints to be minimized, for example by collapsing multiple
requests into a single repaint for members of a component tree.
ScroliPaneLayout
‘The layout manager used by JScrollPane.
‘SizeRequirements
For the convenience of layout managers, calculates information
about the size and position of components.
SizeSequence
A SizeSequence object efficiently maintains an ordered list of
sizes and corresponding positions.
‘SortingFocusTraversalPolicy
‘A FocusTraversalPolicy that determines traversal order by
sorting the Components of a focus traversal cycle based on a
jiven Comparator.
SpinnerDateModel
‘A SpinnerModel for sequences of Dates.
‘SpinnerListModel
A simple implementation of SpinnerModel whose values are
defined by an array or a List
SpinnerNumberModel
Spring
A SpinnerModel for sequences of numbers.
An instance of the Spring class holds three properties that
characterize its behavior: the minim, preferred,
and maxintum values.
‘SpringLayout
‘A SpringLayout lays out the children of its associated container
according to a set of constraints.
SwingUtilities
Accollection of utility methods for Swin,
Timer
Fires one or more ActionEvents at specified intervals.
‘ToolTipManager
‘Manages all the Too! Tips in the system.
‘TransferHandler
‘This class is used to handle the transfer of a Transferable to and
from Swing components.
UlDefaults
A table of defaults for Swing components.
UIManager
UIManager manages the current look and feel, the set of
available look and feels, PropertyChangeL isteners that are
notified when the look and feel changes, look and feel defaults,
and convenience methods for obtaining various default values.
ViewportLayout
‘The default layout manager for JViewport.
Dec ma COST CIT, MATA ATSUTA Ts, Tui AT AS, TAGE AT. 7611897930 24Packages/Interface/Classes in Java Pawan Sir - 9828675862
[Link]
Class Summary
Description
Clock
‘Duration
‘A clock providing access to the current instant, date and time
using a time-zone.
A time-based amount of time, such as ‘34.5 seconds’
Instant
An instantaneous point on the time-line.
LocalDate
LocalDateTime
‘A date without a time-zone in the ISO-8601 calendar system,
such as 2007-12-03.
A date-time without a time-zone in the ISO-8601 calendar
system, such as 2007-12-03T10:15:30.
LocalTime
‘A time without a time-zone in the ISO-8601 calendar system,
such as 10:15:30.
MonthDay
‘A month-day in the ISO-8601 calendar system, such as 12-08.
OffsetDateTime
‘A date-time with an offset from UTC/Greenwich in the ISO-
8601 calendar system, such as 2007-12-03110:15:30+01:00,
OffsetTime
A time with an offset from UTC/Greenwich in the ISO-8601
calendar system, such as 10:15:30+01:00.
Period
‘A date-based amount of time in the ISO-8601 calendar system,
such as '2 years, 3 months and 4 days’.
Year
A year in the ISO-8601 calendar system, such as 2007.
‘YearMonth
ZonedDateTime
A year-month in the ISO-8601 calendar system, such as 2007-
ae
‘A date-time with a time-zone in the ISO-8601 calendar system,
such as 2007-12-03710:15:30+01:00 Europe/Paris.
Zoneld
A time-zone ID, such as Europe/Paris,
ZoneOffset
A time-zone offset from Greenwich/ UTC, such as +02:00.
Sec me COST Cat, MATA ATSUTA Us, Tote AT AS, TAGE AT. 7611897930 25,