`
yangxiutian
  • 浏览: 59760 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论
文章列表
  public static int min(int a, int b) { return (a <= b) ? a : b; } public static long min(long a, long b) { return (a <= b) ? a : b; } public static float min(float a, float b) { if (a != a) return a; // a is NaN if ((a == 0.0f) && (b == 0.0f) & ...

记录的

 
应package com.yangxiutian.test; import java.util.regex.Matcher; import java.util.regex.Pattern; /* * stop字母任意组合的正则表达式 \b(?i)[s|t|o|p]{4}\b */ public class Test { public static void main(String[] args) { //System.out.println("sTop".matches("(?i)[s|t|o|p]{4 ...

lrc

写道 /** * 把显示歌词封装在一个线程里 * @param <T> */ public class LRCDisplayThread<T extends LRCDisplayAction> implements Runnable { /** * 读取lrc文件必须的路径 */ private final String filename; /** * 解析出的lrc对象 * <p>一个lrc对应一个显示线程,歌词显示完后 * ,该歌词对应的线程自然死亡,所以歌词对象用final</p> * <p&g ...
package com.yangxiutian; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import ...

axis2报文

axis2组装发送报文     /** * 组装报文 * @return */ public static OMElement getBody() { String nsValue = "http://com"; String nsName = "m"; OMFactory fac = OMAbstractFactory.getOMFactory(); OMNamespace ns = fac.createOMNamespa ...
<service name="MyService" > <description> Please Type your service description here </description> <messageReceivers> <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only" class="org.apache.axis2.rpc.receivers.RPCInOnlyMessage ...
eclipse下的tomcat配数据源,文件名为context.xml: <Resource auth="Container" driverClassName="oracle.jdbc.driver.OracleDriver" maxActive="100" maxIdle="10" maxWait="5000" name="iac" password="dd" type="javax.sql.DataSource" url=&qu ...

axis2请求地址

http://localhost:8888/axis2[项目名]/services/simpleServer[发布服务名]?wsdl

axis

package axis2; import javax.xml.stream.XMLStreamReader; import model.User; import org.apache.axiom.om.OMAbstractFactory; import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMNamespace; import org.apache.axiom.om.impl.builder.StAXOMBuilder; import org.apache.axiom.om.impl.llom.factory ...
<img src="data:image/gif;base64,R0lGODlhDwAPAKECAAAAzMzM/////  wAAACwAAAAADwAPAAACIISPeQHsrZ5ModrLlN48CXF8m2iQ3YmmKqVlRtW4ML  wWACH+H09wdGltaXplZCBieSBVbGVhZCBTbWFydFNhdmVyIQAAOw=="  alt="Base64 encoded image" width="150" height="150"/>
a表示a标签对象 a.text//a标签中的文本 a.href//链接地址 a.target//所替换的iframe a.className//样式名 /////js 子页面调用父页面的方法 parent.parentFunctionName();

记录的

package jmp123.debug; import java.util.Arrays; /**return (int) ((float) total / (float) timeSize * offset); *criteria *select * from ims_business where  regexp_like(u_operation_name,'.*pIn.*','i'); * Arbortext Editor  (?i)[s|t|o|p]{4} * 标识标签 \\[[\\w][\\w]:.*\\] * 时间标签\\[\\d{2}?:\\d{2}?.\\d{2}?\\] *H ...

测试代码

package test; import java.io.File; import java.io.IOException; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.DataLine; import javax.sound.sampled.LineUnavailableException; import javax.sound.sa ...
public class TestAudio {     public static void main(String[] args) throws LineUnavailableException,             UnsupportedAudioFileException, IOException     {         AudioInputStream ais = AudioSystem.getAudioInputStream(new File(                 "C:\\Documents and Settings\\zkf57310\\桌面\\2. ...
onpropertychange:属性改变时调用其他function(火狐不支持) size:文本框长度 maxlength:最大输入字符数
Global site tag (gtag.js) - Google Analytics