Wesley13 Wesley13
4年前
java读取自定义的.properties 配置文件 中的key
  /读取.properties配置文件@parampropertiesUrl配置文件的路径@return配置文件中的keyvalue值/publicstaticMap<String,StringgetPrope
Wesley13 Wesley13
4年前
java入门(3)
函数和方法如果我们经常要进行一些相似的处理过程,就可以把这个处理过程封装为函数。函数可以被多次重复调用,从而实现代码重用和隔离的目的。在面向对象的语言中,函数经常和对象绑定在一起,为区分起见,这时它被称为方法。因为java是完全面向对象的,函数必须从属于某个类。所以java中的函数都被称为方法。如果方法前以s
Easter79 Easter79
4年前
Vue+koa2开发一款全栈小程序(7.图书录入功能)
1.图书录入功能1.获取图书信息1.在mydemo/src/until.js中封装工具函数post和get//工具函数importconfigfrom'./config'//httpget工具函数获取数据exportfu
Easter79 Easter79
4年前
substring c# js java
cString.SubString(intindex,intlength)String.SubString(intstart)等效于javascriptstringObject.substr(start,length)stringObject.substr(start) java 
Wesley13 Wesley13
4年前
jasypt
1问题描述在SpringBoot中使用jasyptspringboot进行加密,但是提示:Description:Failedtobindpropertiesunder'spring.datasource.password'tojava.lang.String:
PHP写入日志文件
/写入文件$paytype文件名$content内容(string类型)/publicstaticfunctiondingdinglog($paytype,$content)$filename$SERVER'DOCUMENTROOT'.'/log/';$filename$filename.$paytype.
Stella981 Stella981
4年前
Set和List如何转换
★ 数组转Collection使用ApacheJakartaCommonsCollections:1.importorg.apache.commons.collections.CollectionUtils;  3.String\\strArray{"aaa","bbb","ccc"};  4.L
Wesley13 Wesley13
4年前
Java ASM 简单例子
Test的代码比较简单publicclassTest{/\\\@paramargs\/publicstaticvoidmain(String\\args){test01();}staticvoidtest01(){System.out.println("HelloInTes
Wesley13 Wesley13
4年前
FMDB源码阅读(二)
随笔31文章0评论101【原】FMDB源码阅读(二)阅读目录1.前言2.executeUpdate:系列函数3.executeStatements:系列函数4.executeQueryWithFormat:和executeUpdateWithFormat:函数5.(void)bindObje
Wesley13 Wesley13
4年前
JS格式化时间(支持小程序,兼容IOS)
constREGEX/(\d{4})(\d{2})(\d{2})T(\d{2}):(\d{2}):(\d{2})//@functionformattime@paramval,format@return{string}@example