java中API是什么意思

Python010

java中API是什么意思,第1张

API (Application Program Interface):应用程序接口;是Java提供很多类和接口以来帮助我们编程;

你的这个问题是 magnifier.java文件用了一个Java不赞成使用的类(a deprecated API)可能是因为安全或者性能方面的问题,提示你用

javac -Xlint magnifier.java命令 重新编译,看看哪里出了问题;

当然,即使你不重新编译,原来产生的类文件,一般情况下也能正常工作。

看看,能不能帮助你。

JAVA API(Java Application Interface)是JAVA的应用编程接口。作为Sun开发的Java程序,用于Java编程人员使用的程序接口,并不是说使用Java和接口有关,而是表示Java所提供的现成的类库,供编程人员使用。这与 Win32 中的 dll 文件有点像,封装了好多函数,只暴露也函数名、参数等信息,不提供具体实体,暴露出来的这些就称为API了。也就是说 Java 也是封装了好多的方法,提供了些方法名和参数等信息,便于别人使用啊。由于Java是开源的,还可是看到类库中方法的具体实现。

JAVA API官方文档中文版(CHM):每个已文档化的软件包、类和接口都有各自的“使用”页面。此页面介绍了使用给定类或软件包的任何部分的软件包、类、方法、构造方法和字段。对于给定的类或接口 A,其“使用”页面包含 A 的子类、声明为 A 的字段、返回 A 的方法,以及带有类型为 A 的参数的方法和构造方法。

Android中文版

api手册地址:http://www.matools.com/api/android

Ant最新版

api手册地址:http://www.matools.com/api/ant

ASM字节码操作

api手册地址:http://www.matools.com/api/asm

Axis2最新版

api手册地址:http://www.matools.com/api/axis2

Bash脚本

api手册地址:http://www.matools.com/api/bash

Bootstrap 3

api手册地址:http://www.matools.com/api/bootstrap3

Bootstrap 4

api手册地址:http://www.matools.com/api/bootstrap4

C/C++

api手册地址:http://www.matools.com/api/c

C3P0连接池

api手册地址:http://www.matools.com/api/c3p0

CentOS使用文档

api手册地址:http://www.matools.com/api/centos

Commons-Beanutils

api手册地址:http://www.matools.com/api/commons-beanutils

Commons-Fileupload

api手册地址:http://www.matools.com/api/commons-fileupload

Commons-IO最新版

api手册地址:http://www.matools.com/api/commons-io

Commons-Lang最新版

api手册地址:http://www.matools.com/api/commons-long

Commons-Net最新版

api手册地址:http://www.matools.com/api/commons-net

CSS 3

api手册地址:http://www.matools.com/api/css

DBCP连接池

api手册地址:http://www.matools.com/api/dbcp

Dom4j

api手册地址:http://www.matools.com/api/dom4j

dubbo中文文档

api手册地址:http://www.matools.com/api/dubbo

EhCache

api手册地址:http://www.matools.com/api/ehcache

Freemarker

api手册地址:http://www.matools.com/api/freemarker

Go语言

api手册地址:http://www.matools.com/api/go

Hadoop

api手册地址:http://www.matools.com/api/hadoop

Hibernate中文版

api手册地址:http://www.matools.com/api/hibernate

IKAnalyzer中文版

api手册地址:http://www.matools.com/api/ikanalyzer

Java 10

api手册地址:http://www.matools.com/api/java10

Java 6

api手册地址:http://www.matools.com/api/java6

Java 7

api手册地址:http://www.matools.com/api/java7

Java 8中文版

api手册地址:http://www.matools.com/api/java8

jqGrid中文版

api手册地址:http://www.matools.com/api/jqgrid

Jquery中文版

api手册地址:http://www.matools.com/api/jquery

Json-lib

api手册地址:http://www.matools.com/api/json-lib

Junit4最新版

api手册地址:http://www.matools.com/api/junit

Kryo

api手册地址:http://www.matools.com/api/kryo

Log4j最新版

api手册地址:http://www.matools.com/api/log4j

Lucene

api手册地址:http://www.matools.com/api/lucene

Maven

api手册地址:http://www.matools.com/api/maven

Windows MFC中文版

api手册地址:http://www.matools.com/api/msdn

Mybatis

api手册地址:http://www.matools.com/api/mybatis

MySql中文版

api手册地址:http://www.matools.com/api/mysql

Netty 3.6

api手册地址:http://www.matools.com/api/netty

Nginx中文版

api手册地址:http://www.matools.com/api/nginx

OpenJPA最新版

api手册地址:http://www.matools.com/api/openjpa

PHP中文版

api手册地址:http://www.matools.com/api/php

POI-apache

api手册地址:http://www.matools.com/api/poi

QuickServer

api手册地址:http://www.matools.com/api/quickserver

redis中文参考文档

api手册地址:http://www.matools.com/api/redis

Ruby

api手册地址:http://www.matools.com/api/ruby

Ruby-library

api手册地址:http://www.matools.com/api/ruby-library

Ruby on Rails

api手册地址:http://www.matools.com/api/rubyonrails

Shiro

api手册地址:http://www.matools.com/api/shiro

Spring最新版

api手册地址:http://www.matools.com/api/spring

Spring for Android

api手册地址:http://www.matools.com/api/spring-android

Spring Boot

api手册地址:http://www.matools.com/api/spring-boot

Spring Cloud中文文档

api手册地址:http://www.matools.com/api/spring-cloud

Spring Security

api手册地址:http://www.matools.com/api/spring-security

Spring中文版

api手册地址:http://www.matools.com/api/spring-zh

Struts 2最新版

api手册地址:http://www.matools.com/api/struts2

Taperstry

api手册地址:http://www.matools.com/api/taperstry

TensorFlow中文

api手册地址:http://www.matools.com/api/tensorflow

Tomcat

api手册地址:http://www.matools.com/api/tomcat

Ubuntu

api手册地址:http://www.matools.com/api/ubuntu

Velocity 1.7

api手册地址:http://www.matools.com/api/velocity

VelocityTools2.0

api手册地址:http://www.matools.com/api/velocity-tools

Vue Router中文参考

api手册地址:http://www.matools.com/api/vue-router

vue.js中文文档

api手册地址:http://www.matools.com/api/vuejs

XMLBeans

api手册地址:http://www.matools.com/api/xmlbeans

Yahoo UI中文版

api手册地址:http://www.matools.com/api/yui

Zend Framework中文版

api手册地址:http://www.matools.com/api/zend-framework

Zookeeper

api手册地址:http://www.matools.com/api/zookeeper