Login    New User    Forgot Password    Help      

Java API Table Reference

Java Tutorials

Table A.1 shows the objects in the java.applet package. The objects in this package are specific to applets. 

Table A.1. java.applet package API reference.
Interfaces Classes
AppletContext Applet
AppletStub  
AudioClip  

Table A.2 shows the objects in the java.awt package. The package contains the objects used to create Java's powerful GUI elements such as pop-up windows, scrollbars, menus, and much more.

Table A.2. java.awt package API reference.
Interfaces Classes Exceptions Error
LayoutManager BorderLayout AWTException AWTError
MenuContainer Button    
  Canvas    
  CardLayout    
  Checkbox    
  CheckboxGroup    
  CheckboxMenuItem    
  Choice    
  Color    
  Component    
  Container    
  Dialog    
Dimension    
  Event    
  FileDialog    
  FlowLayout    
  Font    
  FontMetrics    
  Frame    
  Graphics    
  GridBagConstraints    
  GridBagLayout    
  GridLayout    
  Image    
  Insets    
  Label    
  List    
  MediaTracker    
  Menu    
  MenuBar    
  MenuComponent    
  MenuItem    
  Panel  
  Point    
  Polygon    
  Rectangle    
  Scrollbar    
  TextArea  
  TextComponent    
  TextField    
  Toolkit    
  Window    

Table A.3 shows the objects in the java.awt.image package. This package contains objects that deal with the graphical user interface as a single screen image, which includes the complete window used by your Java program.

Table A.3. java.awt.image package API reference.
Interfaces Classes
ImageConsumer ColorModel
ImageObserver CropImageFilter
ImageProducer DirectColorModel
  FilteredImageSource
  ImageFilter
  IndexColorModel
  MemoryImageSource
  PixelGrabber
  RGBImageFilter

Table A.4 shows the objects in the java.awt.peer package. This package provides platform-dependent graphics for the screen image, which is the complete window used by your Java program.

Table A.4. java.awt.peer package API reference.
Interfaces
ButtonPeer
CanvasPeer
CheckboxMenuItemPeer
CheckboxPeer
ChoicePeer
ComponentPeer
ContainerPeer
DialogPeer
FileDialogPeer
FramePeer
LabelPeer
ListPeer
MenuBarPeer
MenuComponentPeer
MenuItemPeer
MenuPeer
PanelPeer
ScrollbarPeer
TextAreaPeer
TextComponentPeer
TextFieldPeer
WindowPeer

Table A.5 shows the objects in the java.io package. This package contains objects used in handling the input and output between Java and any device on your computer system. 

Table A.5. java.io package API reference.
Interfaces Classes Exceptions
DataInput BufferedInputStream EOFException
DataOutput BufferedOutputStream FileNotFoundException
FilenameFilter ByteArrayInputStream IOException
  ByteArrayOutputStream InterruptedIOException
  DataInputStream UTFDataFormatException
  DataOutputStream  
  File  
  FileDescriptor  
  FileInputStream  
  FileOutputStream  
  FilterInputStream  
  FilterOutputStream  
  InputStream  
  LineNumberInputStream  
  OutputStream  
  PipedInputStream  
  PipedOutputStream  
  PrintStream  
  PushbackInputStream  
  RandomAccessFile  
  SequenceInputStream  
  StreamTokenizer  
  StringBufferInputStream  

Table A.6 shows the objects in the java.lang package. This package contains the objects that define the fundamental elements of Java and is imported by default into each class at compile time.

Table A.6. java.lang package API reference.
Interfaces Classes Exceptions Error
Cloneable Boolean ArithmeticException AbstractMethodError
Runnable Character ArrayIndexOutOfBoundsException ClassCircularityError
  Class ArrayStoreException ClassFormatError
  ClassLoader ClassCastException Error
  Compiler ClassNotFoundException IllegalAccessError
  Double CloneNotSupportedException IncompatibleClassChange
Error
  Float Exception InstantiationError
  Integer IllegalAccessException InternalError
  Long IllegalArgumentException LinkageError
  Math IllegalMonitorStateException NoClassDefFoundError
  Number IllegalThreadStateException NoSuchFieldError
  Object IndexOutOfBoundsException NoSuchMethodError
  Process InstantiationException OutOfMemoryError
  Runtime InterruptedException StackOverflowError
  SecurityManager NegativeArraySizeException ThreadDeath
  String NoSuchMethodException UnknownError
  StringBuffer NullPointerException UnsatisfiedLinkError
  System NumberFormatException VerifyError
  Thread RuntimeException VirtualMachineError
  ThreadGroup SecurityException  
  Throwable StringIndexOutOfBounds
Exception
 

Table A.7 shows the objects in the java.net package. This package contains the objects that interact with network protocols.

Table A.7. java.net package API reference.
Interfaces Classes Exceptions
ContentHandlerFactory ContentHandler MalformedURLException
SocketImplFactory DatagramPacket ProtocolException
URLStreamHandlerFactory DatagramSocket SocketException
  InetAddress UnknownHostException
  ServerSocket UnknownServiceException
  Socket  
  SocketImpl  
  URL  
  URLConnection  
  URLEncoder  
  URLStreamHandler  

Table A.8 shows the objects in the java.util package. This package contains objects used for system utilities. 

Table A.8. java.util package API reference.
Interfaces Classes Exceptions
Enumeration BitSet EmptyStackException
Observer Date NoSuchElementException
  Dictionary  
  Hashtable  
  Observable  
  Properties  
  Random  
  Stack  
  StringTokenizer  
  Vector  

Table A.9 shows the objects in the sun.tools.debug package. The objects in this package are used for debugging Java programs with a client application such as the Java debugger. 

Table A.9. sun.tools.debug package API reference.
Interfaces Classes Exceptions
DebuggerCallback RemoteArray NoSessionException
  RemoteBoolean NoSuchFieldException
  RemoteByte NoSuchLineNumberException
  RemoteChar  
  RemoteClass  
  RemoteDebugger  
  RemoteDouble  
  RemoteField  
  RemoteFloat  
  RemoteInt  
  RemoteLong  
  RemoteObject  
  RemoteShort  
  RemoteStackFrame  
  RemoteStackVariable  
  RemoteString  
  RemoteThread  
  RemoteThreadGroup  
  RemoteValue  
  StackFrame  

Java Tutorials