摘要:
Java代码 //判断字符串是否为数字 function checkRate(input) { var re = /^[0-9]+.?[0-9]*$/; if (!re.test(input.rate.value)) { alert("请输入数字(例:0.02)"); input.rate.focu 阅读全文
摘要:
1:byte[]转换为InputStream InputStream sbs = new ByteArrayInputStream(byte[] buf); 2:InputStream转换为InputStreambyte[] ByteArrayOutputStream swapStream = ne 阅读全文