摘要: java从一个较大的文本文档中查找字符串 public static void findStr(File fileParam) throws IOException{ FileReader fread = null; BufferedReader bufferRead = null; fread = 阅读全文
posted @ 2022-12-09 17:47 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: [root@VFSD ~]# netstat -tunlp |grep 80tcp6 0 0 127.0.0.1:8005 :::* LISTEN 29218/javatcp6 0 0 :::80 :::* LISTEN 29218/java tcp6 0 0 :::8080 :::* LISTEN 阅读全文
posted @ 2022-12-08 14:20 西北逍遥 阅读(0) 评论(0) 推荐(0) 编辑
摘要: html中追加script Element headElement = htmlDocument.selectFirst("head"); if(headElement !=null) { headElement.appendElement("script").attr("src", "http:/ 阅读全文
posted @ 2022-12-07 13:37 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: java读取csv文件 /** * 读取CSV文件内容 * @param csvFileName * @throws IOException */ public static void readCSVAndWrite( String inputCsvFileName1 ) throws IOExce 阅读全文
posted @ 2022-12-06 13:29 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: java 给csv增加一列 /** * 读取CSV文件内容 * @param csvFileName * @throws IOException */ public static void readCSVAndWrite( String inputCsvFileName1, String outpu 阅读全文
posted @ 2022-12-05 09:11 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: java FileInputStream读取文件 public static void readFileData(String filePath) throws IOException { File classFile = new File(filePath); FileInputStream fi 阅读全文
posted @ 2022-12-04 21:57 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: java FileReader FileWriter修改文件内容 public static void editContent(File fileParamOld,File fileParamNew) throws IOException{ FileReader fr = new FileReade 阅读全文
posted @ 2022-12-03 12:11 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: java copyFile public static void copyFile(File oldFile,File newFile) throws IOException{ FileInputStream fis = new FileInputStream(oldFile); FileOutpu 阅读全文
posted @ 2022-12-02 17:47 西北逍遥 阅读(4) 评论(0) 推荐(0) 编辑
摘要: java扫描操作部分文件 public void findStrFromManyFiles(String dirName,String endStr) throws IOException{ File dir = new File(dirName); File[] files = dir.listF 阅读全文
posted @ 2022-12-01 08:47 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: java统计某个目录下某种文件的个数 public static void countNum(String filePath,String endStr) throws IOException{ File dirFile = new File(filePath); if(dirFile.isDire 阅读全文
posted @ 2022-11-30 20:28 西北逍遥 阅读(7) 评论(0) 推荐(0) 编辑
摘要: java list根据对象的某个属性排序 Collections.sort(list1, new Comparator<BlogRank>() { @Override public int compare(BlogRank blogRankObj1, BlogRank blogRankObj2) { 阅读全文
posted @ 2022-11-29 20:46 西北逍遥 阅读(5) 评论(0) 推荐(0) 编辑
摘要: Appendable /* * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to lice 阅读全文
posted @ 2022-11-28 22:57 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: AutoCloseable /* * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to l 阅读全文
posted @ 2022-11-27 16:39 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Closeable /* * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to licen 阅读全文
posted @ 2022-11-26 19:30 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: x y z -75.61 21.43 127.96 -75.61 21.43 108.66-10.5 21.43 127.96 长:66.3 宽:20.35 阅读全文
posted @ 2022-11-25 09:46 西北逍遥 阅读(1) 评论(0) 推荐(0) 编辑
摘要: pyqt5绘制坐标系 def paintEvent(self, event): painter = QPainter() painter.begin(self) # 绘制图像 image = self.pix if image.width()>0: rect = QRect(0, 0, image. 阅读全文
posted @ 2022-11-24 20:23 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Flushable /* * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to licen 阅读全文
posted @ 2022-11-23 22:28 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Writer /* * Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license 阅读全文
posted @ 2022-11-22 14:40 西北逍遥 阅读(31) 评论(0) 推荐(0) 编辑
摘要: OutputStreamWriter /* * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject 阅读全文
posted @ 2022-11-21 16:47 西北逍遥 阅读(5) 评论(0) 推荐(0) 编辑
摘要: FileWriter /* * Copyright (c) 1996, 2001, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to lice 阅读全文
posted @ 2022-11-20 16:31 西北逍遥 阅读(3) 评论(0) 推荐(0) 编辑
摘要: BufferedWriter /* * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to 阅读全文
posted @ 2022-11-19 21:15 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Collections /* * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to lic 阅读全文
posted @ 2022-11-18 18:36 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: BaseStream /* * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to lice 阅读全文
posted @ 2022-11-17 19:05 西北逍遥 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Stream /* * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license 阅读全文
posted @ 2022-11-16 20:47 西北逍遥 阅读(13) 评论(0) 推荐(0) 编辑
摘要: Iterable /* * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to licens 阅读全文
posted @ 2022-11-15 19:59 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Collection /* * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to lice 阅读全文
posted @ 2022-11-14 19:31 西北逍遥 阅读(24) 评论(0) 推荐(0) 编辑
摘要: redis重置某些key import redis client_redis1 = redis.StrictRedis(host='127.0.0.1', port=6379, db=0, password ="123123") #1 client1_all_keys = client_redis1 阅读全文
posted @ 2022-11-13 16:50 西北逍遥 阅读(5) 评论(0) 推荐(0) 编辑
摘要: Queue /* * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * * * Written by Doug Lea with assistance from members of JCP JSR-1 阅读全文
posted @ 2022-11-12 19:50 西北逍遥 阅读(4) 评论(0) 推荐(0) 编辑
摘要: unity3d修改对象属性 #region void loadWorkerModel(Vector3 init_position, string worker_name,string BDID) { GameObject obj = (GameObject)Instantiate(Resources 阅读全文
posted @ 2022-11-11 21:48 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Deque /* * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * * * * * * Written by Doug Lea and Josh Bloch with assistance from 阅读全文
posted @ 2022-11-10 19:20 西北逍遥 阅读(2) 评论(0) 推荐(0) 编辑