7f4c3core packages in java se 6

Upload: hrithik-gupta

Post on 04-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 7f4c3Core Packages in Java SE 6

    1/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 1

    Co r e Pack ages in Jav a SE 6

    java.lang basic language functionality and fundamental types

    java.util collection data structure classes

    java.io file operationsjava.math multiprecision arithmetics

    java.nio the New I/O framework for Java

    java.net networking operations, sockets, DNS lookups, ...

    java.security key generation, encryption and decryption

    java.sql Java Database Connectivity (JDBC) to access databases

    java.awt basic hierarchy of packages for native GUI components

    javax.swing hierarchy of packages for platform-independent rich GUI components

    java.applet classes for creating an applet

    (The java.lang package is available without the use of an import statement.)

    Classes and Exception in java.lang packages.

    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 The Character class wraps a value of the primitive type char in an object.

    Character.Subset Instances of this class represent particular subsets of the Unicode character set.

    Character.UnicodeBlock A family of character subsets representing the character blocks in the Unicode specification.

    Class Instances of the class Class represent classes and interfaces in a running Java application.

    ClassLoader A class loader is an object that is responsible for loading classes.

    ClassValue Lazily associate a computed value with (potentially) every type.

    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.

    Enum This is the common base class of all Java language enumeration types.

    Float The Float class wraps a value of primitive type float in an object.

    InheritableThreadLocal This class extends ThreadLocal to provide inheritance of values from parent thread to child thread: when a

    child thread is created, the child receives initial values for all inheritable thread-local variables for which the parenthas values.

    Integer The Integer class wraps a value of the primitive type int in an object.

    Long 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,

    http://download.oracle.com/javase/7/docs/api/java/lang/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/util/package-summary.htmlhttp://en.wikipedia.org/wiki/Data_structurehttp://download.oracle.com/javase/7/docs/api/java/io/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/math/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/nio/package-summary.htmlhttp://en.wikipedia.org/wiki/New_I/Ohttp://download.oracle.com/javase/7/docs/api/java/net/package-summary.htmlhttp://en.wikipedia.org/wiki/DNS_lookuphttp://download.oracle.com/javase/7/docs/api/java/security/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/sql/package-summary.htmlhttp://en.wikipedia.org/wiki/Java_Database_Connectivityhttp://download.oracle.com/javase/7/docs/api/java/awt/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/javax/swing/package-summary.htmlhttp://en.wikipedia.org/wiki/GUIhttp://download.oracle.com/javase/7/docs/api/java/applet/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/lang/package-summary.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Byte.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Character.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Character.Subset.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Character.UnicodeBlock.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Class.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ClassValue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ClassValue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Compiler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Double.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Enum.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Enum.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Float.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/InheritableThreadLocal.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/InheritableThreadLocal.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Integer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Long.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Math.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Math.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Long.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Integer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/InheritableThreadLocal.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Float.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Enum.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Enum.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Double.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Compiler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ClassValue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Class.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Character.UnicodeBlock.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Character.Subset.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Character.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Byte.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.htmlhttp://download.oracle.com/javase/7/docs/api/java/lang/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/applet/package-summary.htmlhttp://en.wikipedia.org/wiki/GUIhttp://download.oracle.com/javase/7/docs/api/javax/swing/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/awt/package-summary.htmlhttp://en.wikipedia.org/wiki/Java_Database_Connectivityhttp://download.oracle.com/javase/7/docs/api/java/sql/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/security/package-summary.htmlhttp://en.wikipedia.org/wiki/DNS_lookuphttp://download.oracle.com/javase/7/docs/api/java/net/package-summary.htmlhttp://en.wikipedia.org/wiki/New_I/Ohttp://download.oracle.com/javase/7/docs/api/java/nio/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/math/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/io/package-summary.htmlhttp://en.wikipedia.org/wiki/Data_structurehttp://download.oracle.com/javase/7/docs/api/java/util/package-summary.htmlhttp://download.oracle.com/javase/7/docs/api/java/lang/package-summary.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    2/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 2

    logarithm, square root, and trigonometric functions.

    Number The abstract class Number is the superclass of

    classesBigDecimal, BigInteger, 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 ProcessBuilder.start() and Runtime.exec methods create a native process and return an instanceof a subclass ofProcess that can be used to control the process and obtain information about it.

    ProcessBuilder This class is used to create operating system processes.

    ProcessBuilder.Redirect Represents a source of subprocess input or a destination of subprocess output.

    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 running.

    RuntimePermission This class is for runtime permissions.

    SecurityManager The security manager is a class that allows applications to implement a security policy.

    Short The Short class wraps a value of primitive type short in an object.

    StackTraceElement An element in a stack trace, as returned by Throwable.getStackTrace().

    StrictMath 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 A thread-safe, mutable sequence of characters.

    StringBuilder A mutable sequence of characters.

    System The System class contains several useful class fields and methods.

    Thread A threadis a thread of execution in a program.

    ThreadGroup A thread group represents a set of threads.

    ThreadLocal This class provides thread-local variables.

    Throwable The Throwable class is the superclass of all errors and exceptions in the Java language.

    Void The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Jav

    keyword void.

    Exception Summary

    Exception Description

    ArithmeticException Thrown when an exceptional arithmetic condition has occurred.

    ArrayIndexOutOfBoundsException Thrown to indicate that an array has been accessed with an illegal index.

    ArrayStoreException Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.

    ClassCastException Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.

    ClassNotFoundException Thrown when an application tries to load in a class through its string name using: TheforName method in

    class Class.

    CloneNotSupportedException Thrown to indicate that the clone method in class Object has been called to clone an object, but that theobject's class does not implement the Cloneable interface.

    EnumConstantNotPresentException Thrown when an application tries to access an enum constant by name and the enum type contains noconstant with the specified name.

    Exception The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonableapplication might want to catch.

    http://docs.oracle.com/javase/7/docs/api/java/lang/Number.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Object.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Package.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Process.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.html#start()http://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#exec(java.lang.String[],%20java.lang.String[],%20java.io.File)http://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.Redirect.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/RuntimePermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/SecurityManager.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Short.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/StackTraceElement.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#getStackTrace()http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#getStackTrace()http://docs.oracle.com/javase/7/docs/api/java/lang/StrictMath.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/String.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/System.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Thread.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ThreadGroup.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ThreadLocal.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ThreadLocal.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Void.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ArithmeticException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ArrayIndexOutOfBoundsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ArrayStoreException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ClassCastException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/CloneNotSupportedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/EnumConstantNotPresentException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Exception.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Exception.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/EnumConstantNotPresentException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/CloneNotSupportedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ClassCastException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ArrayStoreException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ArrayIndexOutOfBoundsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ArithmeticException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Void.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ThreadLocal.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ThreadGroup.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Thread.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/System.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/String.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/StrictMath.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#getStackTrace()http://docs.oracle.com/javase/7/docs/api/java/lang/StackTraceElement.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Short.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/SecurityManager.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/RuntimePermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.Redirect.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#exec(java.lang.String[],%20java.lang.String[],%20java.io.File)http://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.html#start()http://docs.oracle.com/javase/7/docs/api/java/lang/Process.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Package.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Object.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Number.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    3/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 3

    IllegalAccessException An IllegalAccessException is thrown when an application tries to reflectively create an instance (other thanan array), set or get a field, or invoke a method, but the currently executing method does not have access tothe definition of the specified class, field, method or constructor.

    IllegalArgumentException Thrown to indicate that a method has been passed an illegal or inappropriate argument.

    IllegalMonitorStateException Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threadswaiting on an object's monitor without owning the specified monitor.

    IllegalStateException Signals that a method has been invoked at an illegal or inappropriate time.

    IllegalThreadStateException Thrown to indicate that a thread is not in an appropriate state for the requested operation.

    IndexOutOfBoundsException Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.

    InstantiationException Thrown when an application tries to create an instance of a class using the newInstancemethod in class Classbut the specified class object cannot be instantiated.

    InterruptedException Thrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either beforeor during the activity.

    NegativeArraySizeException Thrown if an application tries to create an array with negative size.

    NoSuchFieldException Signals that the class doesn't have a field of a specified name.

    NoSuchMethodException Thrown when a particular method cannot be found.

    NullPointerException Thrown when an application attempts to use null in a case where an object is required.

    NumberFormatException Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but thatthe string does not have the appropriate format.

    ReflectiveOperationException Common superclass of exceptions thrown by reflective operations in core reflection.

    RuntimeException RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of theJava Virtual Machine.

    SecurityException Thrown by the security manager to indicate a security violation.

    StringIndexOutOfBoundsException Thrown by String methods to indicate that an index is either negative or greater than the size of the string.

    TypeNotPresentException Thrown when an application tries to access a type using a string representing the type's name, but nodefinition for the type with the specified name can be found.

    UnsupportedOperationException Thrown to indicate that the requested operation is not supported.

    Classes and Exception in java.io packages.

    Class Summary

    Class Description

    BufferedInputStream A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the input and tosupport 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 ofcharacters, arrays, and lines.

    BufferedWriter Writes text to a character-output stream, buffering characters so as to provide for the efficient writing of singlecharacters, arrays, and strings.

    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.

    http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalAccessException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IllegalMonitorStateException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IllegalStateException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IllegalThreadStateException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/InstantiationException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/NegativeArraySizeException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/NoSuchFieldException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/NoSuchMethodException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/NumberFormatException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ReflectiveOperationException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/SecurityException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/StringIndexOutOfBoundsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/TypeNotPresentException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/BufferedInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/BufferedOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/BufferedWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ByteArrayInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ByteArrayOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/CharArrayReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/CharArrayWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/CharArrayWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/CharArrayReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ByteArrayOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ByteArrayInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/BufferedWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/BufferedOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/BufferedInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/TypeNotPresentException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/StringIndexOutOfBoundsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/SecurityException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/ReflectiveOperationException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/NumberFormatException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/NoSuchMethodException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/NoSuchFieldException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/NegativeArraySizeException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/InstantiationException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IllegalThreadStateException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IllegalStateException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IllegalMonitorStateException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/IllegalAccessException.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    4/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 4

    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 structurerepresenting an open file, an open socket, or another source or sink of bytes.

    FileInputStream A FileInputStream obtains input bytes from a file in a 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 Convenience class for writing character files.

    FilterInputStream A FilterInputStream contains some other input stream, which it uses as its basic source of data, possiblytransforming the data along the way or providing additional functionality.

    FilterOutputStream This class is the superclass of all classes that filter output streams.

    FilterReader Abstract class for reading filtered character streams.

    FilterWriter Abstract class for writing filtered character streams.InputStream This abstract class is the superclass of all classes representing an input stream of bytes.

    InputStreamReader An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them intocharacters using a specified charset.

    LineNumberInputStream Deprecated

    This class incorrectly assumes that bytes adequately represent characters.

    LineNumberReader A buffered character-input stream that keeps track of line numbers.

    ObjectInputStream An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.

    ObjectInputStream.GetField Provide access to the persistent fields read from the input stream.

    ObjectOutputStream An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.

    ObjectOutputStream.PutField Provide programmatic access to the persistent fields to be written to ObjectOutput.

    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 whateverdata 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.

    http://docs.oracle.com/javase/7/docs/api/java/io/Console.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/DataInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/File.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileDescriptor.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FilePermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FilterInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FilterOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FilterReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FilterWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/InputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/InputStreamReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.htmlhttp://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/LineNumberInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/LineNumberReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectInputStream.GetField.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutputStream.PutField.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamClass.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamField.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/OutputStreamWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.htmlhttp://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PipedInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PipedOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PipedReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PipedWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PushbackInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PushbackReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/RandomAccessFile.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/RandomAccessFile.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PushbackReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PushbackInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PipedWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PipedReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PipedOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/PipedInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/OutputStreamWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamField.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamClass.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutputStream.PutField.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectInputStream.GetField.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/LineNumberReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/LineNumberInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/InputStreamReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/InputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FilterWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FilterReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FilterOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FilterInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FilePermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileDescriptor.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/File.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/DataInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/Console.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    5/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 5

    Reader Abstract class for reading character streams.

    SequenceInputStream A SequenceInputStream 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 DeprecatedThis 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.

    Exception Summary

    Exception Description

    CharConversionException Base class for character conversion exceptions.

    EOFException Signals that an end of file or end of stream has been reached unexpectedly during input.

    FileNotFoundException Signals that an attempt to open the file denoted by a specified pathname has failed.

    InterruptedIOException Signals that an I/O operation has been interrupted.

    InvalidClassException Thrown when the Serialization runtime detects one of the following problems with a Class.

    InvalidObjectException Indicates that one or more deserialized objects failed validation tests.

    IOException Signals that an I/O exception of some sort has occurred.

    NotActiveException Thrown when serialization or deserialization is not active.

    NotSerializableException Thrown when an instance is required to have a Serializable interface.

    ObjectStreamException Superclass of all exceptions specific to Object Stream classes.

    OptionalDataException Exception indicating the failure of an object read operation due to unread primitive data, or the end of data

    belonging to a serialized object in the stream.StreamCorruptedException Thrown when control information that was read from an object stream violates internal consistency checks.

    SyncFailedException Signals that a sync operation has failed.

    UnsupportedEncodingException The Character Encoding is not supported.

    UTFDataFormatException Signals that a malformed string in modified UTF-8 format has been read in a data input stream or by any class

    that implements the data input interface.

    WriteAbortedException Signals that one of the ObjectStreamExceptions was thrown during a write operation.

    Classes and Exception in java.applet packages.

    Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.

    Class Summary

    http://docs.oracle.com/javase/7/docs/api/java/io/Reader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/SequenceInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/SerializablePermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/StreamTokenizer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/StringBufferInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/StringReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/StringWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/Writer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/CharConversionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/EOFException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/InterruptedIOException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/InvalidClassException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/InvalidObjectException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/IOException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/NotActiveException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/NotSerializableException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/OptionalDataException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/StreamCorruptedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/SyncFailedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/UnsupportedEncodingException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/UTFDataFormatException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/DataInput.html#modified-utf-8http://docs.oracle.com/javase/7/docs/api/java/io/WriteAbortedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/WriteAbortedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/DataInput.html#modified-utf-8http://docs.oracle.com/javase/7/docs/api/java/io/UTFDataFormatException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/UnsupportedEncodingException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/SyncFailedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/StreamCorruptedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/OptionalDataException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/NotSerializableException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/NotActiveException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/IOException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/InvalidObjectException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/InvalidClassException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/InterruptedIOException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/EOFException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/CharConversionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/Writer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/StringWriter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/StringReader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/StringBufferInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/StreamTokenizer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/SerializablePermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/SequenceInputStream.htmlhttp://docs.oracle.com/javase/7/docs/api/java/io/Reader.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    6/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 6

    Class Description

    Applet An applet is a small program that is intended not to be run on its own, but rather to be embedded inside anotherapplication.

    Classes and Exception in java.sql packages.

    Provides the API for accessing and processing data stored in a data source (usually a relational database) using theJava programming language.

    Class Summary

    Class 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 Driver properties for making a connection.

    SQLPermission The permission for which the SecurityManager will check when code that is running in an applet, or an application

    with a SecurityManager enabled, callsthe DriverManager.setLogWritermethod, DriverManager.setLogStream (deprecated)method, SyncFactory.setJNDIContextmethod, SyncFactory.setLogger method, Connection.setNetworktimeout methor theConnection.abort method.

    Time A thin wrapper around the java.util.Date class that allows the JDBC API to identify this as an SQL TIME value.

    Timestamp A thin wrapper around java.util.Date that allows the JDBC API to identify this as an SQLTIMESTAMP value.

    Types The class that defines the constants that are used to identify generic SQL types, called JDBC types.

    Exception Summary

    Exception Description

    BatchUpdateException The subclass ofSQLException thrown when an error occurs during a batch update operation.

    DataTruncation An exception thrown as a DataTruncation exception (on writes) or reported asaDataTruncation warning (on reads) when a data values is unexpectedly truncated for reasons otherthan its having execeeded MaxFieldSize.

    SQLClientInfoException The subclass ofSQLException is thrown when one or more client info properties could not be set ona Connection.

    SQLDataException The subclass ofSQLException thrown when the SQLState class value is '22', or under vendor-specified conditions.

    SQLException An exception that provides information on a database access error or other errors.

    SQLFeatureNotSupportedException The subclass ofSQLException thrown when the SQLState class value is '0A' ( the value is 'zero' A).

    SQLIntegrityConstraintViolationException The subclass ofSQLException thrown when the SQLState class value is '23', or under vendor-specified conditions.

    SQLInvalidAuthorizationSpecException The subclass ofSQLException thrown when the SQLState class value is '28', or under vendor-specified conditions.

    SQLNonTransientConnectionException The subclass ofSQLException thrown for the SQLState class value '08', or under vendor-specified

    http://docs.oracle.com/javase/7/docs/api/java/applet/Applet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/Date.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/DriverManager.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/DriverPropertyInfo.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLPermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/Time.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/Timestamp.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/Types.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/BatchUpdateException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/DataTruncation.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLClientInfoException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLDataException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLFeatureNotSupportedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLIntegrityConstraintViolationException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLInvalidAuthorizationSpecException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLNonTransientConnectionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLNonTransientConnectionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLInvalidAuthorizationSpecException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLIntegrityConstraintViolationException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLFeatureNotSupportedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLDataException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLClientInfoException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/DataTruncation.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/BatchUpdateException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/Types.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/Timestamp.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/Time.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLPermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/DriverPropertyInfo.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/DriverManager.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/Date.htmlhttp://docs.oracle.com/javase/7/docs/api/java/applet/Applet.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    7/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 7

    Classes and Exception in java.net packages.

    Provides the classes for implementing networking applications.

    Class Summary

    Class Description

    Authenticator The class Authenticator represents an object that knows how to obtain authentication for a network connection.

    CacheRequest Represents channels for storing resources in the ResponseCache.

    CacheResponse Represent channels for retrieving resources from the ResponseCache.

    ContentHandler The abstract class ContentHandler is the superclass of all classes that read an Object from aURLConnection.

    CookieHandler A CookieHandler object provides a callback mechanism to hook up a HTTP state management policy

    implementation into the HTTP protocol handler.

    CookieManager CookieManager provides a concrete implementation ofCookieHandler, which separates the storage of cookies

    from the policy surrounding accepting and rejecting cookies.

    DatagramPacket This class represents a datagram packet.

    DatagramSocket This class represents a socket for sending and receiving datagram packets.

    DatagramSocketImpl Abstract datagram and multicast socket implementation base class.

    HttpCookie An HttpCookie object represents an http cookie, which carries state information between server and user agent.HttpURLConnection A URLConnection with support for HTTP-specific features.

    IDN Provides methods to convert internationalized domain names (IDNs) between a normal Unicode representation andan ASCII Compatible Encoding (ACE) representation.

    Inet4Address This class represents an Internet Protocol version 4 (IPv4) address.

    Inet6Address This class represents an Internet Protocol version 6 (IPv6) address.

    InetAddress This class represents an Internet Protocol (IP) address.

    conditions.

    SQLNonTransientException The subclass ofSQLException thrown when an instance where a retry of the same operation would

    fail unless the cause of the SQLException is corrected.

    SQLRecoverableException The subclass ofSQLException thrown in situations where a previously failed operation might be abl

    to succeed if the application performs some recovery steps and retries the entire transaction or in thecase of a distributed transaction, the transaction branch.

    SQLSyntaxErrorException The subclass ofSQLException thrown when the SQLState class value is '42', or under vendor-specified conditions.

    SQLTimeoutException The subclass ofSQLException thrown when the timeout specified by Statement has expired.

    SQLTransactionRollbackException The subclass ofSQLException thrown when the SQLState class value is '40', or under vendor-

    specified conditions.

    SQLTransientConnectionException The subclass ofSQLException for the SQLState class value '08', or under vendor-specified

    conditions.

    SQLTransientException The subclass ofSQLException is thrown in situations where a previoulsy failed operation might be

    able to succeed when the operation is retried without any intervention by application-levelfunctionality.

    SQLWarning An exception that provides information on database access warnings.

    http://docs.oracle.com/javase/7/docs/api/java/net/Authenticator.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CacheRequest.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CacheResponse.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ContentHandler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CookieHandler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CookieManager.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CookieHandler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CookieHandler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/DatagramPacket.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/DatagramSocket.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/DatagramSocketImpl.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/HttpCookie.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/HttpURLConnection.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/IDN.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/Inet4Address.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/Inet6Address.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/InetAddress.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLNonTransientException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLRecoverableException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLSyntaxErrorException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLTimeoutException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLTransactionRollbackException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLTransientConnectionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLTransientException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLWarning.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLWarning.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLTransientException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLTransientConnectionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLTransactionRollbackException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLTimeoutException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLSyntaxErrorException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLRecoverableException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/sql/SQLNonTransientException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/InetAddress.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/Inet6Address.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/Inet4Address.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/IDN.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/HttpURLConnection.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/HttpCookie.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/DatagramSocketImpl.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/DatagramSocket.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/DatagramPacket.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CookieHandler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CookieManager.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CookieHandler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ContentHandler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CacheResponse.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/CacheRequest.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/Authenticator.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    8/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 8

    InetSocketAddress This class implements an IP Socket Address (IP address + port number) It can also be a pair (hostname + portnumber), in which case an attempt will be made to resolve the hostname.

    InterfaceAddress This class represents a Network Interface address.

    JarURLConnection A URL 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 This class represents a Network Interface made up of a name, and a list of IP addresses assigned to this interface.

    PasswordAuthentication The class PasswordAuthentication 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 Represents a cache response originally retrieved through secure means, such as TLS.

    ServerSocket 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 SocketImpl is a common superclass of all classes that actually implement sockets.

    SocketPermission This class represents access to a network via sockets.

    StandardSocketOptions Defines the standardsocket options.

    URI Represents a Uniform Resource Identifier (URI) reference.

    URL 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 theapplication and a URL.

    URLDecoder Utility class for HTML form decoding.

    URLEncoder Utility class for HTML form encoding.

    URLStreamHandler The abstract class URLStreamHandler is the common superclass for all stream protocol handlers.

    Exception Summary

    Exception Description

    BindException Signals that an error occurred while attempting to bind a socket to a local address and port.

    ConnectException Signals that an error occurred while attempting to connect a socket to a remote address and port.

    HttpRetryException Thrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streamingmode being enabled.

    MalformedURLException Thrown to indicate that a malformed URL has occurred.

    NoRouteToHostException Signals that an error occurred while attempting to connect a socket to a remote address and port.

    PortUnreachableException Signals that an ICMP Port Unreachable message has been received on a connected datagram.

    ProtocolException Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.

    SocketException Thrown to indicate that there is an error creating or accessing a Socket.

    SocketTimeoutException Signals that a timeout has occurred on a socket read or accept.

    UnknownHostException Thrown to indicate that the IP address of a host could not be determined.

    http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/InterfaceAddress.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/JarURLConnection.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/MulticastSocket.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/NetPermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/NetworkInterface.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/PasswordAuthentication.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/Proxy.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ProxySelector.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ResponseCache.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SecureCacheResponse.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ServerSocket.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/Socket.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SocketImpl.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SocketPermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/StandardSocketOptions.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URI.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URL.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URLClassLoader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URLConnection.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URLDecoder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URLEncoder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URLStreamHandler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/BindException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ConnectException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/HttpRetryException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/MalformedURLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/NoRouteToHostException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/PortUnreachableException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ProtocolException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SocketException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SocketTimeoutException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/UnknownHostException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/UnknownHostException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SocketTimeoutException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SocketException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ProtocolException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/PortUnreachableException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/NoRouteToHostException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/MalformedURLException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/HttpRetryException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ConnectException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/BindException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URLStreamHandler.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URLEncoder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URLDecoder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URLConnection.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URLClassLoader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URL.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URI.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/StandardSocketOptions.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SocketPermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SocketImpl.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/Socket.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ServerSocket.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/SecureCacheResponse.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ResponseCache.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/ProxySelector.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/Proxy.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/PasswordAuthentication.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/NetworkInterface.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/NetPermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/MulticastSocket.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/JarURLConnection.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/InterfaceAddress.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    9/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 9

    UnknownServiceException Thrown to indicate that an unknown service exception has occurred.

    URISyntaxException Checked exception thrown to indicate that a string could not be parsed as a URI reference.

    Classes and Exception in java.util packages.

    Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, andmiscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).

    Class Summary

    Class Description

    AbstractCollection This class provides a skeletal implementation of the Collection interface, to minimize the effortrequired to implement this interface.

    AbstractList This class provides a skeletal implementation of the List interface to minimize the effort requiredto implement this interface backed by a "random access" data store (such as an array).

    AbstractMap This class provides a skeletal implementation of the Map interface, to minimize the effortrequired to implement this interface.

    AbstractMap.SimpleEntry An Entry maintaining a key and a value.

    AbstractMap.SimpleImmutableEntry An Entry maintaining an immutable key and value.

    AbstractQueue This class provides skeletal implementations of some Queue operations.

    AbstractSequentialList This class provides a skeletal implementation of the List interface to minimize the effort required

    to implement this interface backed by a "sequential access" data store (such as a linked list).

    AbstractSet This class provides a skeletal implementation of the Set interface to minimize the effort required

    to implement this interface.

    ArrayDeque Resizable-array implementation of the Deque interface.

    ArrayList Resizable-array implementation of the List interface.

    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 specificinstant in time and a set ofcalendar fields such

    as YEAR,MONTH, DAY_OF_MONTH, HOUR, and so on, and for manipulating the calendarfields, 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.

    Dictionary The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys tovalues.

    EnumMap A specialized Map implementation for use with enum type keys.

    EnumSet A specialized Set implementation for use with enum types.

    EventListenerProxy An abstract wrapper class for an EventListener class which associates a set of additional

    parameters with the listener.

    EventObject The root class from which all event state objects shall be derived.

    http://docs.oracle.com/javase/7/docs/api/java/net/UnknownServiceException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URISyntaxException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractCollection.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractList.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/List.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractQueue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Queue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractSequentialList.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractSequentialList.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ArrayDeque.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ArrayDeque.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Deque.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Arrays.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/BitSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Calendar.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html#fieldshttp://docs.oracle.com/javase/7/docs/api/java/util/Collections.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Currency.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/package-summary.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/package-summary.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Date.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EnumMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Enum.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Map.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Enum.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Set.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EventListenerProxy.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EventListener.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EventObject.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EventObject.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EventListener.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EventListenerProxy.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Set.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Enum.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EnumSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Map.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Enum.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EnumMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Date.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/package-summary.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Currency.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Collections.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html#fieldshttp://docs.oracle.com/javase/7/docs/api/java/util/Calendar.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/BitSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Arrays.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Deque.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ArrayDeque.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractSequentialList.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Queue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractQueue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleImmutableEntry.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.SimpleEntry.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/List.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractList.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/AbstractCollection.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/URISyntaxException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/net/UnknownServiceException.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    10/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 10

    FormattableFlags FomattableFlags are passed to the Formattable.formatTo() method and modify the outputformat 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.

    HashMap Hash table based implementation of the Map interface.

    HashSet This class implements the Set interface, backed by a hash table (actually a HashMapinstance).

    Hashtable This class implements a hash table, which maps keys to values.

    IdentityHashMap This class implements the Map interface with a hash table, using reference-equality in place of object-equality when comparing keys (and values).

    LinkedHashMap Hash table and linked list implementation of the Map interface, with predictable iteration order.

    LinkedHashSet Hash table and linked list implementation of the Set i nterface, with predictable iteration order.

    LinkedList Doubly-linked list implementation of the List and Deque interfaces.

    ListResourceBundle ListResourceBundle is an abstract subclass of ResourceBundle that manages resources for alocale in a convenient and easy to use list.

    Locale A Locale object represents a specific geographical, political, or cultural region.

    Locale.Builder Builder is used to build instances of Locale from values configured by the setters.

    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.

    PriorityQueue An unbounded priority queue based on a priority heap.

    Properties The Properties class represents a persistent set of properties.

    PropertyPermission This class is for property permissions.

    PropertyResourceBundle PropertyResourceBundle is a concrete subclass of ResourceBundle that manages resources for alocale 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 Resource bundles contain locale-specific objects.

    ResourceBundle.Control ResourceBundle.Control defines a set of callback methods that are invoked by

    theResourceBundle.getBundle

    factory methods during the bundle loading process.Scanner A simple text scanner which can parse primitive types and strings using regular expressions.

    ServiceLoader A simple service-provider loading facility.

    SimpleTimeZone SimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with aGregorian calendar.

    Stack The Stack class represents a last-in-first-out (LIFO) stack of objects.

    StringTokenizer 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 by a Timer.

    TimeZone TimeZone represents a time zone offset, and also figures out daylight savings.

    TreeMap A Red-Black tree based NavigableMap implementation.

    TreeSet A NavigableSet implementation based on a TreeMap.

    UUID A class that represents an immutable universally unique identifier (UUID).

    Vector The Vector class implements a growable array of objects.

    WeakHashMap Hash table based implementation of the Map interface, with weak keys.

    http://docs.oracle.com/javase/7/docs/api/java/util/FormattableFlags.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Formattable.html#formatTo(java.util.Formatter,%20int,%20int,%20int)http://docs.oracle.com/javase/7/docs/api/java/util/Formattable.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Formattable.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Formatter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/GregorianCalendar.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/HashMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/HashMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/HashSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/HashSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Hashtable.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Hashtable.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IdentityHashMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ListResourceBundle.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Locale.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Objects.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Observable.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/PriorityQueue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Queue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Properties.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/PropertyPermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/PropertyResourceBundle.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Random.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.Control.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.html#getBundle(java.lang.String,%20java.util.Locale,%20java.lang.ClassLoader,%20java.util.ResourceBundle.Control)http://docs.oracle.com/javase/7/docs/api/java/util/Scanner.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/SimpleTimeZone.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Stack.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/StringTokenizer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Timer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TimerTask.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TreeSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TreeSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/NavigableSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/UUID.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Vector.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Vector.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/WeakHashMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/WeakHashMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Vector.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/UUID.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/NavigableSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TreeSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TimerTask.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Timer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/StringTokenizer.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Stack.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/SimpleTimeZone.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Scanner.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.html#getBundle(java.lang.String,%20java.util.Locale,%20java.lang.ClassLoader,%20java.util.ResourceBundle.Control)http://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.Control.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Random.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/PropertyResourceBundle.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/PropertyPermission.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Properties.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Queue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/PriorityQueue.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Observable.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Objects.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Locale.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ListResourceBundle.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IdentityHashMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Hashtable.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/HashSet.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/HashMap.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/GregorianCalendar.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Formatter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Formattable.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Formattable.html#formatTo(java.util.Formatter,%20int,%20int,%20int)http://docs.oracle.com/javase/7/docs/api/java/util/FormattableFlags.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    11/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 11

    Exception Summary

    Exception Description

    ConcurrentModificationException This exception may be thrown by methods that have detected concurrent modification of an objectwhen such modification is not permissible.

    DuplicateFormatFlagsException Unchecked exception thrown when duplicate flags are provided in the format specifier.

    EmptyStackException Thrown by methods in the Stack class to indicate that the stack is empty.FormatFlagsConversionMismatchException Unchecked exception thrown when a conversion and flag are incompatible.

    FormatterClosedException Unchecked exception thrown when the formatter has been closed.

    IllegalFormatCodePointException Unchecked exception thrown when a character with an invalid Unicode code point as definedby Character.isValidCodePoint(int) is passed to the Formatter.

    IllegalFormatConversionException Unchecked exception thrown when the argument corresponding to the format specifier is of an

    incompatible type.

    IllegalFormatException Unchecked exception thrown when a format string contains an illegal syntax or a format specifierthat is incompatible with the given arguments.

    IllegalFormatFlagsException Unchecked exception thrown when an illegal combination flags is given.

    IllegalFormatPrecisionException Unchecked exception thrown when the precision is a negative value other than -1, the conversion

    does not support a precision, or the value is otherwise unsupported.

    IllegalFormatWidthException Unchecked exception thrown when the format width is a negative value other than -1 or is otherwise

    unsupported.

    IllformedLocaleException Thrown by methods in Locale and Locale.Builder to indicate that an argument is not a well-formed

    BCP 47 tag.

    InputMismatchException Thrown by a Scanner to indicate that the token retrieved does not match the pattern for the expected

    type, or that the token is out of range for the expected type.

    InvalidPropertiesFormatException Thrown to indicate that an operation could not complete because the input did not conform to the

    appropriate XML document type for a collection of properties, as per theProperties specification.

    MissingFormatArgumentException Unchecked exception thrown when there is a format specifier which does not have a corresponding

    argument or if an argument index refers to an argument that does not exist.

    MissingFormatWidthException Unchecked exception thrown when the format width is required.

    MissingResourceException Signals that a resource is missing.

    NoSuchElementException Thrown by the nextElement method of an Enumeration to indicate that there are no more elementsin the enumeration.

    TooManyListenersException The TooManyListenersException Exception is used as part of the Java Event model to annotate andimplement a unicast special case of a multicast Event Source.

    UnknownFormatConversionException Unchecked exception thrown when an unknown conversion is given.

    UnknownFormatFlagsException Unchecked exception thrown when an unknown flag is given.

    Classes and Exception in java.security packages.

    Provides the classes and interfaces for the security framework.

    Class Summary

    Class Description

    http://docs.oracle.com/javase/7/docs/api/java/util/ConcurrentModificationException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/DuplicateFormatFlagsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EmptyStackException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/FormatFlagsConversionMismatchException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/FormatterClosedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatCodePointException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Character.html#isValidCodePoint(int)http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Formatter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatConversionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatFlagsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatPrecisionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatWidthException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllformedLocaleException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Locale.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/InputMismatchException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/InvalidPropertiesFormatException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Properties.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Properties.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/MissingFormatArgumentException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/MissingFormatWidthException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/MissingResourceException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/NoSuchElementException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TooManyListenersException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/UnknownFormatConversionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/UnknownFormatFlagsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/UnknownFormatFlagsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/UnknownFormatConversionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/TooManyListenersException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/NoSuchElementException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/MissingResourceException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/MissingFormatWidthException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/MissingFormatArgumentException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Properties.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/InvalidPropertiesFormatException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/InputMismatchException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Locale.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllformedLocaleException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatWidthException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatPrecisionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatFlagsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatConversionException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/Formatter.htmlhttp://docs.oracle.com/javase/7/docs/api/java/lang/Character.html#isValidCodePoint(int)http://docs.oracle.com/javase/7/docs/api/java/util/IllegalFormatCodePointException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/FormatterClosedException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/FormatFlagsConversionMismatchException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/EmptyStackException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/DuplicateFormatFlagsException.htmlhttp://docs.oracle.com/javase/7/docs/api/java/util/ConcurrentModificationException.html
  • 7/30/2019 7f4c3Core Packages in Java SE 6

    12/24

    Deepesh Kumar Srivastava, Depar tment of Computer Science & Engineer ing, Amity UniversityPage 12

    AccessControlContext An AccessControlContext is used to make system resource access decisions based on the context itencapsulates.

    AccessController The AccessController class is used for access control operations and decisions.

    AlgorithmParameterGenerator The AlgorithmParameterGenerator class is used to generate a set of parameters to be used with a certain

    algorithm.

    AlgorithmParameterGeneratorSpi This class defines the Service Provider Interface (SPI) for theAlgorithmParameterGenerator class, which i

    used to generate a set of parameters to be used with a certain algorithm.

    AlgorithmParameters This class is used as an opaque representation of cryptographic parameters.

    AlgorithmParametersSpi This class defines the Service Provider Interface (SPI) for the AlgorithmParameters class, which is used tomanage algorithm parameters.

    AllPermission The AllPermission is a permission that implies all other permissions.

    AuthProvider This class defines login and logout m