Live2D
摘要: DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();//得到解析工厂 DocumentBuilder newDocumentBuilder = factory.newDocumentBuilder();//文档解析器 阅读全文
posted @ 2021-05-07 14:06 ΜΑΗΑΙΓΞ小白 阅读(58) 评论(0) 推荐(0)
摘要: import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOu 阅读全文
posted @ 2021-05-07 14:05 ΜΑΗΑΙΓΞ小白 阅读(70) 评论(0) 推荐(0)
摘要: import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import j 阅读全文
posted @ 2021-05-07 14:04 ΜΑΗΑΙΓΞ小白 阅读(122) 评论(0) 推荐(0)
摘要: public V put(K k, V v) { //在这里要判断一个size是否达到了一个扩容的标准 if(size >= defaultLength * defaultLoader){ up2size(); } // 1 创建一个hash函数 根据key和hash函数算出数组下标 int ind 阅读全文
posted @ 2021-05-07 14:03 ΜΑΗΑΙΓΞ小白 阅读(47) 评论(0) 推荐(0)
摘要: import java.security.MessageDigest; import org.springframework.util.StringUtils; /** * 各种加密算法的java实现,比如MD5等. * * */ public class Encrypt { /** * 使用MD5 阅读全文
posted @ 2021-05-07 14:02 ΜΑΗΑΙΓΞ小白 阅读(355) 评论(0) 推荐(0)
摘要: package Email; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMess 阅读全文
posted @ 2021-05-07 14:00 ΜΑΗΑΙΓΞ小白 阅读(262) 评论(0) 推荐(0)
摘要: static int socketTimeout = 300000;// 请求超时时间 static int connectTimeout = 300000;// 传输超时时间 /** * 使用SOAP1.1发送消息 * * @param postUrl * @param mapXml * @par 阅读全文
posted @ 2021-05-07 13:55 ΜΑΗΑΙΓΞ小白 阅读(198) 评论(0) 推荐(0)
摘要: /** * AXIS 调用 .NET开发的wbservice接口 * @param endPointAddr webservice接口路径 * @param nameSpace nameSpace 就是你用浏览器打开WSURl路径加上?wsdl,即http://xxx/SendWebService. 阅读全文
posted @ 2021-05-07 13:54 ΜΑΗΑΙΓΞ小白 阅读(219) 评论(0) 推荐(0)
摘要: import java.util.*; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); String s = scan.nextLine(); int 阅读全文
posted @ 2021-05-07 13:52 ΜΑΗΑΙΓΞ小白 阅读(75) 评论(0) 推荐(0)
摘要: import java.sql.*; public class dfsdfds { public static void main(String[] args) throws ClassNotFoundException, SQLException { // TODO Auto-generated 阅读全文
posted @ 2021-05-07 13:50 ΜΑΗΑΙΓΞ小白 阅读(67) 评论(0) 推荐(0)