Java 标准类库列表

本文列出了Java标准类库中的主要组件和类,包括awt、swing、事件处理、数据传输、字体、图形、输入输出、布局管理等多个方面,旨在提供一个方便查询的参考。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


Java 标准类库列表

在网上找了一圈,没找到,于是利用 jdk 中带的 src.zip 生成一个,供查询用。

java/
java/applet/
java/applet/Applet
java/applet/AppletContext
java/applet/AppletStub
java/applet/AudioClip
java/awt/
java/awt/AWTError
java/awt/AWTEvent
java/awt/AWTEventMulticaster
java/awt/AWTException
java/awt/AWTKeyStroke
java/awt/AWTPermission
java/awt/ActiveEvent
java/awt/Adjustable
java/awt/AlphaComposite
java/awt/AttributeValue
java/awt/BasicStroke
java/awt/BorderLayout
java/awt/BufferCapabilities
java/awt/Button
java/awt/Canvas
java/awt/CardLayout
java/awt/Checkbox
java/awt/CheckboxGroup
java/awt/CheckboxMenuItem
java/awt/Choice
java/awt/Color
java/awt/ColorPaintContext
java/awt/Component
java/awt/ComponentOrientation
java/awt/Composite
java/awt/CompositeContext
java/awt/Conditional
java/awt/Container
java/awt/ContainerOrderFocusTraversalPolicy
java/awt/Cursor
java/awt/DefaultFocusTraversalPolicy
java/awt/DefaultKeyboardFocusManager
java/awt/Dialog
java/awt/Dimension
java/awt/DisplayMode
java/awt/Event
java/awt/EventDispatchThread
java/awt/EventQueue
java/awt/FileDialog
java/awt/FlowLayout
java/awt/FocusTraversalPolicy
java/awt/Font
java/awt/FontFormatException
java/awt/FontMetrics
java/awt/Frame
java/awt/GradientPaint
java/awt/GradientPaintContext
java/awt/Graphics
java/awt/Graphics2D
java/awt/GraphicsCallback
java/awt/GraphicsConfigTemplate
java/awt/GraphicsConfiguration
java/awt/GraphicsDevice
java/awt/GraphicsEnvironment
java/awt/GridBagConstraints
java/awt/GridBagLayout
java/awt/GridLayout
java/awt/HeadlessException
java/awt/IllegalComponentStateException
java/awt/Image
java/awt/ImageCapabilities
java/awt/Insets
java/awt/ItemSelectable
java/awt/JobAttributes
java/awt/KeyEventDispatcher
java/awt/KeyEventPostProcessor
java/awt/KeyboardFocusManager
java/awt/Label
java/awt/LayoutManager
java/awt/LayoutManager2
java/awt/List
java/awt/MediaTracker
java/awt/Menu
java/awt/MenuBar
java/awt/MenuComponent
java/awt/MenuContainer
java/awt/MenuItem
java/awt/MenuShortcut
java/awt/MouseInfo
java/awt/PageAttributes
java/awt/Paint
java/awt/PaintContext
java/awt/Panel
java/awt/Point
java/awt/PointerInfo
java/awt/Polygon
java/awt/PopupMenu
java/awt/PrintGraphics
java/awt/PrintJob
java/awt/Rectangle
java/awt/RenderingHints
java/awt/Robot
java/awt/ScrollPane
java/awt/ScrollPaneAdjustable
java/awt/Scrollbar
java/awt/SentEvent
java/awt/SequencedEvent
java/awt/Shape
java/awt/Stroke
java/awt/SystemColor
java/awt/TextArea
java/awt/TextComponent
java/awt/TextField
java/awt/TexturePaint
java/awt/TexturePaintContext
java/awt/Toolkit
java/awt/Transparency
java/awt/Window
java/awt/color/
java/awt/color/CMMException
java/awt/color/ColorSpace
java/awt/color/ICC_ColorSpace
java/awt/color/ICC_Profile
java/awt/color/ICC_ProfileGray
java/awt/color/ICC_ProfileRGB
java/awt/color/ProfileDataException
java/awt/datatransfer/
java/awt/datatransfer/Clipboard
java/awt/datatransfer/ClipboardOwner
java/awt/datatransfer/DataFlavor
java/awt/datatransfer/FlavorEvent
java/awt/datatransfer/FlavorListener
java/awt/datatransfer/FlavorMap
java/awt/datatransfer/FlavorTable
java/awt/datatransfer/MimeType
java/awt/datatransfer/MimeTypeParameterList
java/awt/datatransfer/MimeTypeParseException
java/awt/datatransfer/StringSelection
java/awt/datatransfer/SystemFlavorMap
java/awt/datatransfer/Transferable
java/awt/datatransfer/UnsupportedFlavorException
java/awt/dnd/
java/awt/dnd/Autoscroll
java/awt/dnd/DnDConstants
java/awt/dnd/DnDEventMulticaster
java/awt/dnd/DragGestureEvent
java/awt/dnd/DragGestureListener
java/awt/dnd/DragGestureRecognizer
java/awt/dnd/DragSource
java/awt/dnd/DragSourceAdapter
java/awt/dnd/DragSourceContext
java/awt/dnd/DragSourceDragEvent
java/awt/dnd/DragSourceDropEvent
java/awt/dnd/DragSourceEvent
java/awt/dnd/DragSourceListener
java/awt/dnd/DragSourceMotionListener
java/awt/dnd/DropTarget
java/awt/dnd/DropTargetAdapter
java/awt/dnd/DropTargetContext
java/awt/dnd/DropTargetDragEvent
java/awt/dnd/DropTargetDropEvent
java/awt/dnd/DropTargetEvent
java/awt/dnd/DropTargetListener
java/awt/dnd/InvalidDnDOperationException
java/awt/dnd/MouseDragGestureRecognizer
java/awt/dnd/SerializationTester
java/awt/dnd/peer/
java/awt/dnd/peer/DragSourceContextPeer
java/awt/dnd/peer/DropTargetContextPeer
java/awt/dnd/peer/DropTargetPeer
java/awt/event/
java/awt/event/AWTEventListener
java/awt/event/AWTEventListenerProxy
java/awt/event/ActionEvent
java/awt/event/ActionListener
java/awt/event/AdjustmentEvent
java/awt/event/AdjustmentListener
java/awt/event/ComponentAdapter
java/awt/event/ComponentEvent
java/awt/event/ComponentListener
java/awt/event/ContainerAdapter
java/awt/event/ContainerEvent
java/awt/event/ContainerListener
java/awt/event/FocusAdapter
java/awt/event/FocusEvent
java/awt/event/FocusListener
java/awt/event/HierarchyBoundsAdapter
java/awt/event/HierarchyBoundsListener
java/awt/event/HierarchyEvent
java/awt/event/HierarchyListener
java/awt/event/InputEvent
java/awt/event/InputMethodEvent
java/awt/event/InputMethodListener
java/awt/event/InvocationEvent
java/awt/event/ItemEvent
java/awt/event/ItemListener
java/awt/event/KeyAdapter
java/awt/event/KeyEvent
java/awt/event/KeyListener
java/awt/event/MouseAdapter
java/awt/event/MouseEvent
java/awt/event/MouseListener
java/awt/event/MouseMotionAdapter
java/awt/event/MouseMotionListener
java/awt/event/MouseWheelEvent
java/awt/event/MouseWheelListener
java/awt/event/NativeLibLoader
java/awt/event/PaintEvent
java/awt/event/TextEvent
java/awt/event/TextListener
java/awt/event/WindowAdapter
java/awt/event/WindowEvent
java/awt/event/WindowFocusListener
java/awt/event/WindowListener
java/awt/event/WindowStateListener
java/awt/font/
java/awt/font/CharArrayIterator
java/awt/font/FontRenderContext
java/awt/font/GlyphJustificationInfo
java/awt/font/GlyphMetrics
java/awt/font/GlyphVector
java/awt/font/GraphicAttribute
java/awt/font/ImageGraphicAttribute
java/awt/font/LineBreakMeasurer
java/awt/font/LineMetrics
java/awt/font/MultipleMaster
java/awt/font/NumericShaper
java/awt/font/OpenType
java/awt/font/ShapeGraphicAttribute
java/awt/font/StyledParagraph
java/awt/font/TextAttribute
java/awt/font/TextHitInfo
java/awt/font/TextJustifier
java/awt/font/TextLayout
java/awt/font/TextLine
java/awt/font/TextMeasurer
java/awt/font/TransformAttribute
java/awt/geom/
java/awt/geom/AffineTransform
java/awt/geom/Arc2D
java/awt/geom/ArcIterator
java/awt/geom/Area
java/awt/geom/CubicCurve2D
java/awt/geom/CubicIterator
java/awt/geom/Dimension2D
java/awt/geom/Ellipse2D
java/awt/geom/EllipseIterator
java/awt/geom/FlatteningPathIterator
java/awt/geom/GeneralPath
java/awt/geom/GeneralPathIterator
java/awt/geom/IllegalPathStateException
java/awt/geom/Line2D
java/awt/geom/LineIterator
java/awt/geom/NoninvertibleTransformException
java/awt/geom/PathIterator
java/awt/geom/Point2D
java/awt/geom/QuadCurve2D
java/awt/geom/QuadIterator
java/awt/geom/RectIterator
java/awt/geom/Rectangle2D
java/awt/geom/RectangularShape
java/awt/geom/RoundRectIterator
java/awt/geom/RoundRectangle2D
java/awt/im/
java/awt/im/InputContext
java/awt/im/InputMethodHighlight
java/awt/im/InputMethodRequests
java/awt/im/InputSubset
java/awt/im/spi/
java/awt/im/spi/InputMethod
java/awt/im/spi/InputMethodContext
java/awt/im/spi/InputMethodDescriptor
java/awt/image/
java/awt/image/AffineTransformOp
java/awt/image/AreaAveragingScaleFilter
java/awt/image/BandCombineOp
java/awt/image/BandedSampleModel
java/awt/image/BufferStrategy
java/awt/image/BufferedImage
java/awt/image/BufferedImageFilter
java/awt/image/BufferedImageOp
java/awt/image/ByteLookupTable
java/awt/image/ColorConvertOp
java/awt/image/ColorModel
java/awt/image/ComponentColorModel
java/awt/image/ComponentSampleModel
java/awt/image/ConvolveOp
java/awt/image/CropImageFilter
java/awt/image/DataBuffer
java/awt/image/DataBufferByte
java/awt/image/DataBufferDouble
java/awt/image/DataBufferFloat
java/awt/image/DataBufferInt
java/awt/image/DataBufferShort
java/awt/image/DataBufferUShort
java/awt/image/DirectColorModel
java/awt/image/FilteredImageSource
java/awt/image/ImageConsumer
java/awt/image/ImageFilter
java/awt/image/ImageObserver
java/awt/image/ImageProducer
java/awt/image/ImagingOpException
java/awt/image/IndexColorModel
java/awt/image/Kernel
java/awt/image/LookupOp
java/awt/image/LookupTable
java/awt/image/MemoryImageSource
java/awt/image/MultiPixelPackedSampleModel
java/awt/image/PackedColorModel
java/awt/image/PixelGrabber
java/awt/image/PixelInterleavedSampleModel
java/awt/image/RGBImageFilter
java/awt/image/Raster
java/awt/image/RasterFormatException
java/awt/image/RasterOp
java/awt/image/RenderedImage
java/awt/image/ReplicateScaleFilter
java/awt/image/RescaleOp
java/awt/image/SampleModel
java/awt/image/ShortLookupTable
java/awt/image/SinglePixelPackedSampleModel
java/awt/image/TileObserver
java/awt/image/VolatileImage
java/awt/image/WritableRaster
java/awt/image/WritableRenderedImage
java/awt/image/renderable/
java/awt/image/renderable/ContextualRenderedImageFactory
java/awt/image/renderable/ParameterBlock
java/awt/image/renderable/RenderContext
java/awt/image/renderable/RenderableImage
java/awt/image/renderable/RenderableImageOp
java/awt/image/renderable/RenderableImageProducer
java/awt/image/renderable/RenderedImageFactory
java/awt/peer/
java/awt/peer/ButtonPeer
java/awt/peer/CanvasPeer
java/awt/peer/CheckboxMenuItemPeer
java/awt/peer/CheckboxPeer
java/awt/peer/ChoicePeer
java/awt/peer/ComponentPeer
java/awt/peer/ContainerPeer
java/awt/peer/DialogPeer
java/awt/peer/FileDialogPeer
java/awt/peer/FontPeer
java/awt/peer/FramePeer
java/awt/peer/KeyboardFocusManagerPeer
java/awt/peer/LabelPeer
java/awt/peer/LightweightPeer
java/awt/peer/ListPeer
java/awt/peer/MenuBarPeer
java/awt/peer/MenuComponentPeer
java/awt/peer/MenuItemPeer
java/awt/peer/MenuPeer
java/awt/peer/MouseInfoPeer
java/awt/peer/PanelPeer
java/awt/peer/PopupMenuPeer
java/awt/peer/RobotPeer
java/awt/peer/ScrollPanePeer
java/awt/peer/ScrollbarPeer
java/awt/peer/TextAreaPeer
java/awt/peer/TextComponentPeer
java/awt/peer/TextFieldPeer
java/awt/peer/WindowPeer
java/awt/print/
java/awt/print/Book
java/awt/print/PageFormat
java/awt/print/Pageable
java/awt/print/Paper
java/awt/print/Printable
java/awt/print/PrinterAbortException
java/awt/print/PrinterException
java/awt/print/PrinterGraphics
java/awt/print/PrinterIOException
java/awt/print/PrinterJob
java/beans/
java/beans/AppletInitializer
java/beans/BeanDescriptor
java/beans/BeanInfo
java/beans/Beans
java/beans/Customizer
java/beans/DefaultPersistenceDelegate
java/beans/DesignMode
java/beans/Encoder
java/beans/EventHandler
java/beans/EventSetDescriptor
java/beans/ExceptionListener
java/beans/Expression
java/beans/FeatureDescriptor
java/beans/IndexedPropertyChangeEvent
java/beans/IndexedPropertyDescriptor
java/beans/IntrospectionException
java/beans/Introspector
java/beans/MetaData
java/beans/MethodDescriptor
java/beans/NameGenerator
java/beans/ParameterDescriptor
java/beans/PersistenceDelegate
java/beans/PropertyChangeEvent
java/beans/PropertyChangeListener
java/beans/PropertyChangeListenerProxy
java/beans/PropertyChangeSupport
java/beans/PropertyDescriptor
java/beans/PropertyEditor
java/beans/PropertyEditorManager
java/beans/PropertyEditorSupport
java/beans/PropertyVetoException
java/beans/ReflectionUtils
java/beans/SimpleBeanInfo
java/beans/Statement
java/beans/VetoableChangeListener
java/beans/VetoableChangeListenerProxy
java/beans/VetoableChangeSupport
java/beans/Visibility
java/beans/XMLDecoder
java/beans/XMLEncoder
java/beans/beancontext/
java/beans/beancontext/BeanContext
java/beans/beancontext/BeanContextChild
java/beans/beancontext/BeanContextChildComponentProxy
java/beans/beancontext/BeanContextChildSupport
java/beans/beancontext/BeanContextContainerProxy
java/beans/beancontext/BeanContextEvent
java/beans/beancontext/BeanContextMembershipEvent
java/beans/beancontext/BeanContextMembershipListener
java/beans/beancontext/BeanContextProxy
java/beans/beancontext/BeanContextServiceAvailableEvent
java/beans/beancontext/BeanContextServiceProvider
java/beans/beancontext/BeanContextServiceProviderBeanInfo
java/beans/beancontext/BeanContextServiceRevokedEvent
java/beans/beancontext/BeanContextServiceRevokedListener
java/beans/beancontext/BeanContextServices
java/beans/beancontext/BeanContextServicesListener
java/beans/beancontext/BeanContextServicesSupport
java/beans/beancontext/BeanContextSupport
java/io/
java/io/Bits
java/io/BufferedInputStream
java/io/BufferedOutputStream
java/io/BufferedReader
java/io/BufferedWriter
java/io/ByteArrayInputStream
java/io/ByteArrayOutputStream
java/io/CharArrayReader
java/io/CharArrayWriter
java/io/CharConversionException
java/io/Closeable
java/io/DataInput
java/io/DataInputStream
java/io/DataOutput
java/io/DataOutputStream
java/io/EOFException
java/io/ExpiringCache
java/io/Externalizable
java/io/File
java/io/FileFilter
java/io/FileInputStream
java/io/FileNotFoundException
java/io/FileOutputStream
java/io/FilePermission
java/io/FileReader
java/io/FileSystem
java/io/FileWriter
java/io/FilenameFilter
java/io/FilterInputStream
java/io/FilterOutputStream
java/io/FilterReader
java/io/FilterWriter
java/io/Flushable
java/io/IOException
java/io/InputStream
java/io/InputStreamReader
java/io/InterruptedIOException
java/io/InvalidClassException
java/io/InvalidObjectException
java/io/LineNumberInputStream
java/io/LineNumberReader
java/io/NotActiveException
java/io/NotSerializableException
java/io/ObjectInput
java/io/ObjectInputStream
java/io/ObjectInputValidation
java/io/ObjectOutput
java/io/ObjectOutputStream
java/io/ObjectStreamClass
java/io/ObjectStreamConstants
java/io/ObjectStreamException
java/io/ObjectStreamField
java/io/OptionalDataException
java/io/OutputStream
java/io/OutputStreamWriter
java/io/PipedInputStream
java/io/PipedOutputStream
java/io/PipedReader
java/io/PipedWriter
java/io/PrintStream
java/io/PrintWriter
java/io/PushbackInputStream
java/io/PushbackReader
java/io/RandomAccessFile
java/io/Reader
java/io/SequenceInputStream
java/io/Serializable
java/io/SerializablePermission
java/io/StreamCorruptedException
java/io/StreamTokenizer
java/io/StringBufferInputStream
java/io/StringReader
java/io/StringWriter
java/io/SyncFailedException
java/io/UTFDataFormatException
java/io/UnsupportedEncodingException
java/io/WriteAbortedException
java/io/Writer
java/io/FileDescriptor
java/io/UnixFileSystem
java/lang/
java/lang/AbstractMethodError
java/lang/AbstractStringBuilder
java/lang/Appendable
java/lang/ArithmeticException
java/lang/ArrayIndexOutOfBoundsException
java/lang/ArrayStoreException
java/lang/AssertionError
java/lang/AssertionStatusDirectives
java/lang/Boolean
java/lang/Byte
java/lang/CharSequence
java/lang/Character
java/lang/Class
java/lang/ClassCastException
java/lang/ClassCircularityError
java/lang/ClassFormatError
java/lang/ClassLoader
java/lang/ClassNotFoundException
java/lang/CloneNotSupportedException
java/lang/Cloneable
java/lang/Comparable
java/lang/Compiler
java/lang/ConditionalSpecialCasing
java/lang/Deprecated
java/lang/Double
java/lang/Enum
java/lang/EnumConstantNotPresentException
java/lang/Error
java/lang/Exception
java/lang/ExceptionInInitializerError
java/lang/Float
java/lang/IllegalAccessError
java/lang/IllegalAccessException
java/lang/IllegalArgumentException
java/lang/IllegalMonitorStateException
java/lang/IllegalStateException
java/lang/IllegalThreadStateException
java/lang/IncompatibleClassChangeError
java/lang/IndexOutOfBoundsException
java/lang/InheritableThreadLocal
java/lang/InstantiationError
java/lang/InstantiationException
java/lang/Integer
java/lang/InternalError
java/lang/InterruptedException
java/lang/Iterable
java/lang/LinkageError
java/lang/Long
java/lang/Math
java/lang/NegativeArraySizeException
java/lang/NoClassDefFoundError
java/lang/NoSuchFieldError
java/lang/NoSuchFieldException
java/lang/NoSuchMethodError
java/lang/NoSuchMethodException
java/lang/NullPointerException
java/lang/Number
java/lang/NumberFormatException
java/lang/Object
java/lang/OutOfMemoryError
java/lang/Override
java/lang/Package
java/lang/Process
java/lang/ProcessBuilder
java/lang/Readable
java/lang/Runnable
java/lang/Runtime
java/lang/RuntimeException
java/lang/RuntimePermission
java/lang/SecurityException
java/lang/SecurityManager
java/lang/Short
java/lang/Shutdown
java/lang/StackOverflowError
java/lang/StackTraceElement
java/lang/StrictMath
java/lang/String
java/lang/StringBuffer
java/lang/StringBuilder
java/lang/StringCoding
java/lang/StringIndexOutOfBoundsException
java/lang/SuppressWarnings
java/lang/System
java/lang/Thread
java/lang/ThreadDeath
java/lang/ThreadGroup
java/lang/ThreadLocal
java/lang/Throwable
java/lang/TypeNotPresentException
java/lang/UnknownError
java/lang/UnsatisfiedLinkError
java/lang/UnsupportedClassVersionError
java/lang/UnsupportedOperationException
java/lang/VerifyError
java/lang/VirtualMachineError
java/lang/Void
java/lang/annotation/
java/lang/annotation/Annotation
java/lang/annotation/AnnotationFormatError
java/lang/annotation/AnnotationTypeMismatchException
java/lang/annotation/Documented
java/lang/annotation/ElementType
java/lang/annotation/IncompleteAnnotationException
java/lang/annotation/Inherited
java/lang/annotation/Retention
java/lang/annotation/RetentionPolicy
java/lang/annotation/Target
java/lang/instrument/
java/lang/instrument/ClassDefinition
java/lang/instrument/ClassFileTransformer
java/lang/instrument/IllegalClassFormatException
java/lang/instrument/Instrumentation
java/lang/instrument/UnmodifiableClassException
java/lang/management/
java/lang/management/ClassLoadingMXBean
java/lang/management/CompilationMXBean
java/lang/management/GarbageCollectorMXBean
java/lang/management/ManagementFactory
java/lang/management/ManagementPermission
java/lang/management/MemoryMXBean
java/lang/management/Memory
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值