锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲成年人电影在线观看,久久亚洲美女精品国产精品,久久精品国产亚洲av日韩http://www.tkk7.com/lyyb2001/鍙槸涓烘柟渚胯嚜宸辨壘璁板綍鑰屽凡zh-cnSat, 10 May 2025 19:02:31 GMTSat, 10 May 2025 19:02:31 GMT60easyui validate瀵瑰崟涓緭鍏ユ鐨勯獙璇?/title><link>http://www.tkk7.com/lyyb2001/archive/2017/09/19/432827.html</link><dc:creator>skycity</dc:creator><author>skycity</author><pubDate>Tue, 19 Sep 2017 07:59:00 GMT</pubDate><guid>http://www.tkk7.com/lyyb2001/archive/2017/09/19/432827.html</guid><wfw:comment>http://www.tkk7.com/lyyb2001/comments/432827.html</wfw:comment><comments>http://www.tkk7.com/lyyb2001/archive/2017/09/19/432827.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/lyyb2001/comments/commentRss/432827.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/lyyb2001/services/trackbacks/432827.html</trackback:ping><description><![CDATA[琛ㄥ崟閲岄潰鍏堝鏌愪竴涓帶浠舵湁鏁堟ч獙璇?濡傛墜鏈哄彿鐮侊紝褰撴墜鏈哄彿鐮佽緭鍏ユ紜紝鎵嶅彂閫侀獙璇佺爜錛屾渶鍚庢墠鏄琛ㄥ崟楠岃瘉) <div> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: #3933ff;"><span style="color: #009193"><</span><span style="color: #4e9192">input</span><span style="color: #000000"> </span><span style="color: #932192">type</span><span style="color: #000000">=</span>"text"<span style="color: #000000"> </span><span style="color: #932192">id</span><span style="color: #000000">=</span>"mobile"<span style="color: #000000"> </span><span style="color: #932192">name</span><span style="color: #000000">=</span>"mobile" <span style="color: #932192;">placeholder</span><span style="color: #000000;">=</span>"璇瘋緭鍏ユ?zhèn)ㄧ殑鎵嬫満鍙风? <span style="color: #932192;">class</span><span style="color: #000000;">=</span>"easyui-validatebox form-control" <span style="color: #932192;">data-options</span><span style="color: #000000;">=</span>"required:true,validType:'mobile'"<span style="color: #000000;"> </span><span style="color: #009193;">/></span></p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: #3933ff;"><span style="color: #009193;">validateType鑷繁鎵╁睍瑙勫垯</span></p> <div>瀵瑰崟涓緭鍏ユ鐨勯獙璇佷負(fù)錛?span style="font-family: Monaco; font-size: 11px;">$(</span><span style="color: #3933ff; font-family: Monaco; font-size: 11px;">"#mobile"</span><span style="font-family: Monaco; font-size: 11px;">).validatebox(</span><span style="color: #3933ff; font-family: Monaco; font-size: 11px;">'isValid'</span><span style="font-family: Monaco; font-size: 11px;">) 閫氳繃榪斿洖true</span></div> </div><img src ="http://www.tkk7.com/lyyb2001/aggbug/432827.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/lyyb2001/" target="_blank">skycity</a> 2017-09-19 15:59 <a href="http://www.tkk7.com/lyyb2001/archive/2017/09/19/432827.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍒╃敤lumbda灝唀num杞垚maphttp://www.tkk7.com/lyyb2001/archive/2017/07/11/432660.htmlskycityskycityTue, 11 Jul 2017 03:40:00 GMThttp://www.tkk7.com/lyyb2001/archive/2017/07/11/432660.htmlhttp://www.tkk7.com/lyyb2001/comments/432660.htmlhttp://www.tkk7.com/lyyb2001/archive/2017/07/11/432660.html#Feedback0http://www.tkk7.com/lyyb2001/comments/commentRss/432660.htmlhttp://www.tkk7.com/lyyb2001/services/trackbacks/432660.html    public enum Section {
KITTING(1),
LABELKITTING(2),
PACKING(3);

private final int code;

private Section(int code)
{
this.code=code;
}
public int getCode()
{
return this.code;
}
}

Map<Integer,Section> MAP=Arrays.stream(Section.values()).collect(Collectors.toMap(s->s.code, section->section));


skycity 2017-07-11 11:40 鍙戣〃璇勮
]]>
java 8 stream鏍規(guī)嵁瀵硅薄榪涜姣旇緝錛屾垨鑰呮渶澶х殑閭f潯璁板綍鐨勫?http://www.tkk7.com/lyyb2001/archive/2017/07/06/432648.htmlskycityskycityThu, 06 Jul 2017 07:43:00 GMThttp://www.tkk7.com/lyyb2001/archive/2017/07/06/432648.htmlhttp://www.tkk7.com/lyyb2001/comments/432648.htmlhttp://www.tkk7.com/lyyb2001/archive/2017/07/06/432648.html#Feedback0http://www.tkk7.com/lyyb2001/comments/commentRss/432648.htmlhttp://www.tkk7.com/lyyb2001/services/trackbacks/432648.html Optional<MaterialPaneModel> maxMaterial = list.stream().max(Comparator.comparingInt(MaterialPaneModel::getMaterialQty));

skycity 2017-07-06 15:43 鍙戣〃璇勮
]]>
cxf 瀹㈡湇绔皟鐢ㄨ緗秴鏃?/title><link>http://www.tkk7.com/lyyb2001/archive/2016/12/08/432062.html</link><dc:creator>skycity</dc:creator><author>skycity</author><pubDate>Thu, 08 Dec 2016 06:19:00 GMT</pubDate><guid>http://www.tkk7.com/lyyb2001/archive/2016/12/08/432062.html</guid><wfw:comment>http://www.tkk7.com/lyyb2001/comments/432062.html</wfw:comment><comments>http://www.tkk7.com/lyyb2001/archive/2016/12/08/432062.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/lyyb2001/comments/commentRss/432062.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/lyyb2001/services/trackbacks/432062.html</trackback:ping><description><![CDATA[<p>try{</p> <p> JaxWsProxyFactoryBean factoryBean = new JaxWsProxyFactoryBean();</p> <p> factoryBean.getInInterceptors().add(new LoggingInInterceptor());</p> <p> factoryBean.getOutInterceptors().add(new LoggingOutInterceptor());</p> <p> factoryBean.setServiceClass(AutoPackServiceIntf.class);</p> <p> factoryBean.setAddress("http://10.241.0.105:17000/TEST");</p> <p> AutoPackServiceIntf factory = (AutoPackServiceIntf) factoryBean.create();</p> <p> Client client = ClientProxy.getClient(factory);</p> <p> HTTPConduit conduit = (HTTPConduit) client.getConduit();</p> <p> HTTPClientPolicy policy = new HTTPClientPolicy();</p> <p> policy.setConnectionTimeout(30000); //榪炴帴瓚呮椂鏃墮棿</p> <p> policy.setReceiveTimeout(120000); //璇鋒眰瓚呮椂鏃墮棿.</p> <p> conduit.setClient(policy);</p> <p> System.out.println(factory.getFirstUnitCramp("1"));</p> <p> }catch(WebServiceException ex){</p> <p> long l2 = System.currentTimeMillis();</p> <p> System.out.println((l2-l1)+"ms");</p> <p> System.out.println("榪炴帴寮傚父");</p> <p> }</p><img src ="http://www.tkk7.com/lyyb2001/aggbug/432062.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/lyyb2001/" target="_blank">skycity</a> 2016-12-08 14:19 <a href="http://www.tkk7.com/lyyb2001/archive/2016/12/08/432062.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>JBOSS 濡備綍璇誨彇properties鏂囦歡http://www.tkk7.com/lyyb2001/archive/2016/11/03/431949.htmlskycityskycityThu, 03 Nov 2016 10:17:00 GMThttp://www.tkk7.com/lyyb2001/archive/2016/11/03/431949.htmlhttp://www.tkk7.com/lyyb2001/comments/431949.htmlhttp://www.tkk7.com/lyyb2001/archive/2016/11/03/431949.html#Feedback0http://www.tkk7.com/lyyb2001/comments/commentRss/431949.htmlhttp://www.tkk7.com/lyyb2001/services/trackbacks/431949.html閫氳繃Application

ApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext();

     classPath = classPathXmlApplicationContext.getResource("classpath:config.properties").getFile().getPath();

        if(classPath.indexOf("WEB-INF")>0){

            classPath = classPath.substring(0,classPath.indexOf("WEB-INF")+7)+"/classes/"+xmlFile;

        }

 



skycity 2016-11-03 18:17 鍙戣〃璇勮
]]>
java8 stream groupingby澶氫釜鏉′歡鐨勯棶棰?/title><link>http://www.tkk7.com/lyyb2001/archive/2016/03/22/429766.html</link><dc:creator>skycity</dc:creator><author>skycity</author><pubDate>Tue, 22 Mar 2016 08:14:00 GMT</pubDate><guid>http://www.tkk7.com/lyyb2001/archive/2016/03/22/429766.html</guid><wfw:comment>http://www.tkk7.com/lyyb2001/comments/429766.html</wfw:comment><comments>http://www.tkk7.com/lyyb2001/archive/2016/03/22/429766.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/lyyb2001/comments/commentRss/429766.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/lyyb2001/services/trackbacks/429766.html</trackback:ping><description><![CDATA[@import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">Map<Integer,Map<String,List<DocLotDetail>>> <span style="color: #7e504f">amp</span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span>= <span style="color: #7e504f;">docLotDetailLists</span>.parallelStream().collect(Collectors.groupingBy(DocLotDetail::getGroupOrder,Collectors.groupingBy(DocLotDetail::getBaseValueName)));</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><br /> </p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><br /> </p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><br /> </p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><br /> </p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><span style="color: #7e504f">amp</span>.forEach((<span style="color: #7e504f">key</span>,<span style="color: #7e504f">value</span>)->{</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><span id="ukoi2ug" class="Apple-tab-span" style="white-space:pre"> </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span>System.<span style="color: #0326cc;">out</span>.println(<span style="color: #7e504f;">key</span>);</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span id="w662igc" class="Apple-tab-span" style="white-space: pre;"> </span><span style="color: #7e504f;">value</span>.forEach((<span style="color: #7e504f;">key2</span>,<span style="color: #7e504f;">value2</span>)->{</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><span id="wymgseo" class="Apple-tab-span" style="white-space:pre"> </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span>System.<span style="color: #0326cc;">out</span>.println(<span style="color: #7e504f;">key2</span>);</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><span id="kw22sqi" class="Apple-tab-span" style="white-space:pre"> </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span><span style="font-family: verdana, 'courier new'; font-size: 14px;">    </span>});</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"> </p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><span id="2q6gyew" class="Apple-tab-span" style="white-space:pre"> </span>});</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">鏈緇堣繑鍥炵殑緇撴灉</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">2</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">闅忔満鍏夌洏</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">3</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">璧勬枡琚嬮檮浠?/p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">4</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">璧勬枡鐩掗檮浠?/p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">5</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">鍖呰杈呮枡</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">8</p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"> </p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;">鍓嶅伐搴忕墿鏂?/p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><br /> </p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><br /> </p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><br /> </p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><br /> </p> <p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;"><br /> </p> @import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);<img src ="http://www.tkk7.com/lyyb2001/aggbug/429766.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/lyyb2001/" target="_blank">skycity</a> 2016-03-22 16:14 <a href="http://www.tkk7.com/lyyb2001/archive/2016/03/22/429766.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Caused by: org.apache.cxf.BusException: No binding factory for namespace http://schemas.xmlsoap.org/soap/ registered.http://www.tkk7.com/lyyb2001/archive/2016/03/04/429535.htmlskycityskycityFri, 04 Mar 2016 07:02:00 GMThttp://www.tkk7.com/lyyb2001/archive/2016/03/04/429535.htmlhttp://www.tkk7.com/lyyb2001/comments/429535.htmlhttp://www.tkk7.com/lyyb2001/archive/2016/03/04/429535.html#Feedback0http://www.tkk7.com/lyyb2001/comments/commentRss/429535.htmlhttp://www.tkk7.com/lyyb2001/services/trackbacks/429535.htmlcxf webservice瀹㈡埛绔▼搴忓湪eclipse閲岄潰榪愯鐨勫ソ濂界殑錛屼絾鏄竴鏃︾敤mvn assembly:assembly灝嗕緷璧栧拰涓諱唬鐮佹墦鎴愪竴涓彲榪愯鐨刯ar鏃訛紝璋冪敤灝變細(xì)鍑虹幇濡備笅閿欒錛?/p>


Exception in thread "main" org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve a binding for null

at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:352)

at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:259)

at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:144)

at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)

at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)

at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)

at com.nabf.start.NABFClient.main(NABFClient.java:30)

Caused by: org.apache.cxf.BusException: No binding factory for namespace http://schemas.xmlsoap.org/soap/ registered.

at org.apache.cxf.bus.managers.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:93)

at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:339)

... 6 more

鑰岀敤mV clean package dependency:copy-dependencies -DoutputDirectory=target/lib鍚姩鐨勬椂鍊欏姞杞絣ib鍖呬笅鎵鏈夌殑鏂囦歡涔熶笉浼?xì)鍑虹幇閿欒?/div>

瑙e喅鍔炴硶錛氬湪pom.xml鐨刡uild涓坊鍔犲涓嬶紝鐒跺悗鎵цmV clean package錛屾墦鍑烘潵鐨勫寘灝卞惈鏈変緷璧栧寘錛屼笖闂瑙e喅銆傚師鍥狅紵

                            <plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-shade-plugin</artifactId>

<version>1.6</version>

<configuration>

<archive>

<manifest>

<addClasspath>true</addClasspath>

<mainClass>com.nabf.start.NABFClient</mainClass>

</manifest>

</archive>

</configuration>

<executions>

<execution>

<phase>package</phase>

<goals>

<goal>shade</goal>

</goals>

<configuration>

<transformers>

<transformer

implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">

<resource>META-INF/cxf/bus-extensions.txt</resource>

</transformer>

</transformers>

</configuration>

</execution>

</executions>

</plugin> 




@import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);

skycity 2016-03-04 15:02 鍙戣〃璇勮
]]>properties鏂囦歡鏇挎崲http://www.tkk7.com/lyyb2001/archive/2015/06/11/425628.htmlskycityskycityThu, 11 Jun 2015 08:10:00 GMThttp://www.tkk7.com/lyyb2001/archive/2015/06/11/425628.htmlhttp://www.tkk7.com/lyyb2001/comments/425628.htmlhttp://www.tkk7.com/lyyb2001/archive/2015/06/11/425628.html#Feedback0http://www.tkk7.com/lyyb2001/comments/commentRss/425628.htmlhttp://www.tkk7.com/lyyb2001/services/trackbacks/425628.htmlMessageFormat.format(str,str1,str2,str3)

鐢ㄤ簬鏇挎崲str涓瓄0},{1},{2}榪欐牱鐨勭粨鏋?/p>

String.format(str,str1,str2,str3)

鐢ㄤ簬鍖歸厤str涓?s鐨勭粨鏋?/p>

skycity 2015-06-11 16:10 鍙戣〃璇勮
]]>
鐧婚檰鐢ㄦ埛鍚嶇殑鍔犲瘑涓庤В瀵?/title><link>http://www.tkk7.com/lyyb2001/archive/2015/03/27/423881.html</link><dc:creator>skycity</dc:creator><author>skycity</author><pubDate>Fri, 27 Mar 2015 02:50:00 GMT</pubDate><guid>http://www.tkk7.com/lyyb2001/archive/2015/03/27/423881.html</guid><wfw:comment>http://www.tkk7.com/lyyb2001/comments/423881.html</wfw:comment><comments>http://www.tkk7.com/lyyb2001/archive/2015/03/27/423881.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/lyyb2001/comments/commentRss/423881.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/lyyb2001/services/trackbacks/423881.html</trackback:ping><description><![CDATA[package com.skycity.framework.utility;<br /> <div>import javax.crypto.Cipher;</div> <div>import javax.crypto.KeyGenerator;</div> <div>import javax.crypto.SecretKey;</div> <div>import javax.crypto.spec.SecretKeySpec;</div> <div><br /> </div> <div>import sun.misc.BASE64Decoder;</div> <div>import sun.misc.BASE64Encoder;</div> <div><br /> </div> <div>import com.skycity.framework.Constant;</div> <div><br /> </div> <div>public class EncryptUtil {</div> <div>    // 鍔犲瘑瀛楃涓?/div> <div>    public static String encryptMode(String keybyte, String src) {</div> <div>        try { // 鐢熸垚瀵嗛挜</div> <div>            SecretKey deskey = new SecretKeySpec(new BASE64Decoder().decodeBuffer(keybyte), Constant.ALGORITHM); // 鍔犲瘑</div> <div>            Cipher c1 = Cipher.getInstance(Constant.ALGORITHM);</div> <div>            c1.init(Cipher.ENCRYPT_MODE, deskey);</div> <div>            byte[] result = c1.doFinal(src.getBytes());</div> <div>            return new BASE64Encoder().encode(result);</div> <div>        } catch (java.security.NoSuchAlgorithmException e1) {</div> <div>            e1.printStackTrace();</div> <div>        } catch (javax.crypto.NoSuchPaddingException e2) {</div> <div>            e2.printStackTrace();</div> <div>        } catch (java.lang.Exception e3) {</div> <div>            e3.printStackTrace();</div> <div>        }</div> <div>        return null;</div> <div>    }</div> <div> </div> <div>    // 瑙e瘑瀛楃涓?/div> <div>    public static String decryptMode(String keybyte, String encryStr) {</div> <div>        try { // 鐢熸垚瀵嗛挜</div> <div>            SecretKey deskey = new SecretKeySpec(new BASE64Decoder().decodeBuffer(keybyte), Constant.ALGORITHM); // 瑙e瘑</div> <div>            Cipher c1 = Cipher.getInstance(Constant.ALGORITHM);</div> <div>            c1.init(Cipher.DECRYPT_MODE, deskey);</div> <div>            byte[] result = c1.doFinal(new BASE64Decoder().decodeBuffer(encryStr));</div> <div>            return new String(result);</div> <div>        } catch (java.security.NoSuchAlgorithmException e1) {</div> <div>            e1.printStackTrace();</div> <div>        } catch (javax.crypto.NoSuchPaddingException e2) {</div> <div>            e2.printStackTrace();</div> <div>        } catch (java.lang.Exception e3) {</div> <div>            e3.printStackTrace();</div> <div>        }</div> <div>        return null;</div> <div>    }</div> <div>    //鍒涘緩涓涓瘑閽?/div> <div>    public static byte[] createSecretKey() {</div> <div><span id="ee4akqi" class="Apple-tab-span" style="white-space:pre"> </span>KeyGenerator keygen = null;</div> <div><span id="4w4sss4" class="Apple-tab-span" style="white-space:pre"> </span>try {</div> <div><span id="2o2umsc" class="Apple-tab-span" style="white-space:pre"> </span>keygen = KeyGenerator.getInstance(Constant.ALGORITHM);</div> <div><span id="oe6mecm" class="Apple-tab-span" style="white-space:pre"> </span>SecretKey deskey = keygen.generateKey();</div> <div><span id="6yy8wew" class="Apple-tab-span" style="white-space:pre"> </span>return deskey.getEncoded();</div> <div><span id="sqogmaq" class="Apple-tab-span" style="white-space:pre"> </span>} catch (Exception e) {</div> <div><span id="gwwgom2" class="Apple-tab-span" style="white-space:pre"> </span>LogUtil.error("NoSuchAlgorithmException!");</div> <div><span id="ucsccui" class="Apple-tab-span" style="white-space:pre"> </span>}</div> <div><span id="88gwweu" class="Apple-tab-span" style="white-space:pre"> </span>return null;</div> <div><span id="c2aaik8" class="Apple-tab-span" style="white-space:pre"> </span>}</div> <div>    </div> <div>    public static void main(String[] args){ </div> <div>        final byte[] keyBytes = createSecretKey();    </div> <div>        String key= new BASE64Encoder().encode(keyBytes);</div> <div>        String szSrc = "admin";</div> <div>        System.out.println("鍔犲瘑鍓嶇殑瀛楃涓?" + szSrc);</div> <div>        String password = encryptMode(key,szSrc);</div> <div>        System.out.println("鍔犲瘑鍚庣殑瀛楃涓?" + password);</div> <div><span id="6mu8us4" class="Apple-tab-span" style="white-space:pre"> </span>String result = decryptMode(key, password);</div> <div>        System.out.println("瑙e瘑鍚庣殑瀛楃涓?" + result);</div> <div>    }</div> <div>}</div> <div><br /> </div> <div>鏁版嵁搴撹〃涓湁涓涓瓧孌電敤浜庝繚瀛楰ey錛屼竴涓瓧孌電敤浜庝繚瀛榩assword,鏇存敼瀵嗙爜鐨勬椂鍊欙紝閲嶆柊鐢熸垚涓涓狵EY,鐒跺悗鐢熸垚涓涓狿ASSWORD,鍖歸厤淇濆瓨鍒版暟鎹簱涓?/div> <div>褰撶櫥闄嗘椂錛岀敤鏁版嵁搴撲繚瀛樼殑KEY鍜宲assword榪涜瑙e瘑錛岀劧鍚庝笌鐧婚檰鏃惰緭鍏ョ殑password榪涜姣旇緝錛屽鏋滅浉絳夛紝鍒欐垚鍔熴?/div> <div>綆楁硶鏀寔<span style="color: #4e9072; font-family: Monaco; font-size: 11px; line-height: normal;">AES,DES,DESede,Blowfish絳夌畻娉?/span></div><img src ="http://www.tkk7.com/lyyb2001/aggbug/423881.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/lyyb2001/" target="_blank">skycity</a> 2015-03-27 10:50 <a href="http://www.tkk7.com/lyyb2001/archive/2015/03/27/423881.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>姝e垯鍖歸厤http://www.tkk7.com/lyyb2001/archive/2015/03/27/423879.htmlskycityskycityFri, 27 Mar 2015 02:41:00 GMThttp://www.tkk7.com/lyyb2001/archive/2015/03/27/423879.htmlhttp://www.tkk7.com/lyyb2001/comments/423879.htmlhttp://www.tkk7.com/lyyb2001/archive/2015/03/27/423879.html#Feedback0http://www.tkk7.com/lyyb2001/comments/commentRss/423879.htmlhttp://www.tkk7.com/lyyb2001/services/trackbacks/423879.htmlpublic static String readString = "Print([QDT],[Read([SQLServer#10.176.1.178#Mas2006],[select top 1 print_model + '.jasper' as reportname from tbl_mas_print_stru where Machine_No='SS110521Z8'],['@@Lang'])],[Read([SQLServer#10.176.1.178#Mas2006],[select  Machine_No, Check_Code, Model_Packing, Start_Date, Material_Name, Material_No, IIPC_part_code, Material_Qty, Print_Order, Machine_Product_No, print_model, SoftWareName, SoftWare_No, SoftWareQty from dbo.tbl_mas_print_stru where Machine_No='SS110521Z8'],['@@Lang'])])";


public static void splitScriptWithMethod(String script) {

// check if args

String subMethodReg = "";

if(script.indexOf("Read([") !=script.lastIndexOf("Read([")){

subMethodReg = "(.+)\\(\\[(.+)\\],\\[(.+\\(\\[.+\\]\\))\\],\\[(.+\\(\\[.+\\]\\))\\]";

}else{

subMethodReg = "(.+)\\(\\[(.+)\\],\\[(.+)\\],\\[(.+\\(\\[.+\\]\\))\\]";

}

Pattern p = Pattern.compile(subMethodReg);

Matcher matcher = p.matcher(readString);

while (matcher.find()) {

for (int i = 1; i <= matcher.groupCount(); i++) {  

            System.out.println("grp " + i + " :" + matcher.group(i));  

        } 

}

}



grp 1 :Print

grp 2 :QDT

grp 3 :Read([SQLServer#10.176.1.178#Mas2006],[select top 1 print_model + '.jasper' as reportname from tbl_mas_print_stru where Machine_No='SS110521Z8'],['@@Lang'])

grp 4 :Read([SQLServer#10.176.1.178#Mas2006],[select  Machine_No, Check_Code, Model_Packing, Start_Date, Material_Name, Material_No, IIPC_part_code, Material_Qty, Print_Order, Machine_Product_No, print_model, SoftWareName, SoftWare_No, SoftWareQty from dbo.tbl_mas_print_stru where Machine_No='SS110521Z8'],['@@Lang'])


鍏朵腑錛岀敤浜庡尮閰?.+)\\(\\[(.+)\\],\\[(.+\\(\\[.+\\]\\))\\],\\[(.+\\(\\[.+\\]\\))\\],print([],[Read([],[],[])],[Read([],[],[])])榪欐牱鐨勭粨鏋?/span>
鑰?.+)\\(\\[(.+)\\],\\[(.+)\\],\\[(.+\\(\\[.+\\]\\))\\]錛岀敤浜庡尮閰峱rint([],[],[Read([],[],[])]榪欐牱鐨勭粨鏋?/span>


skycity 2015-03-27 10:41 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 精品特级一级毛片免费观看| 国产在线播放免费| 国产免费久久精品99久久| 亚洲人成网国产最新在线| 亚洲精品自产拍在线观看| 国产高清免费的视频| 国产免费AV片在线播放唯爱网| 成全视频高清免费观看电视剧| 一级毛片人与动免费观看| 亚洲国产精品自在自线观看| 亚洲永久中文字幕在线| 亚洲av色影在线| 亚洲av无码精品网站| 中文字幕亚洲综合久久菠萝蜜| 国产免费观看网站| 在线观看永久免费视频网站| 日韩亚洲国产高清免费视频| 中国人xxxxx69免费视频| 国产一区二区三区免费观看在线| 亚洲天堂免费在线视频| 深夜久久AAAAA级毛片免费看| 亚洲另类无码一区二区三区| 美女视频黄免费亚洲| 亚洲国产激情在线一区| 亚洲狠狠ady亚洲精品大秀| 亚洲一区二区三区夜色| 亚洲国产精品免费视频| 亚洲人成在线影院| 精品无码一区二区三区亚洲桃色 | 国产成A人亚洲精V品无码| 亚洲一区二区精品视频| 亚洲成a人一区二区三区 | 无人视频免费观看免费视频| 精品国产亚洲一区二区三区在线观看 | 一区免费在线观看| 国产综合激情在线亚洲第一页| 亚洲爆乳AAA无码专区| 亚洲av乱码中文一区二区三区| 亚洲色大成网站www永久男同| 亚洲色成人四虎在线观看| 亚洲爆乳无码精品AAA片蜜桃|