锘??xml version="1.0" encoding="utf-8" standalone="yes"?>幸运赛车组号过滤:BlogJava-鏂版墜鍖?/title><link>//www.cqk4s.cn/beginner</link><description>涓撴敞浜嶫ava鎶鏈?/description><language>zh-cn</language><lastBuildDate>Mon, 20 May 2019 19:05:28 GMT</lastBuildDate><pubDate>Mon, 20 May 2019 19:05:28 GMT</pubDate><ttl>60</ttl><item><title>python鎿嶄綔鏂囦欢瀛樺湪鐨勯棶棰樿В鍐冲姙娉?/title><link>//www.cqk4s.cn/tjyhy590/archive/2019/05/14/433783.html</link><dc:creator>楦块泚</dc:creator><author>楦块泚</author><pubDate>Tue, 14 May 2019 15:04:00 GMT</pubDate><guid>//www.cqk4s.cn/tjyhy590/archive/2019/05/14/433783.html</guid><wfw:comment>//www.cqk4s.cn/tjyhy590/comments/433783.html</wfw:comment><comments>//www.cqk4s.cn/tjyhy590/archive/2019/05/14/433783.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.cqk4s.cn/tjyhy590/comments/commentRss/433783.html</wfw:commentRss><trackback:ping>//www.cqk4s.cn/tjyhy590/services/trackbacks/433783.html</trackback:ping><description><![CDATA[ 1銆佸湪瀛︿範浠庢枃浠惰鍙栨暟鎹腑锛屽啓浜嗕釜绀轰緥浠g爜锛岃鍙栦笉鍦ㄥ悓涓涓洰褰曠殑file.txt锛岃繍琛屽悗鎶ヨ繖涓狿ython OSError: [Errno 22] Invalid argument:閿欒锛? 锛?锛夈侀鍏堬紝鍦‵鐩樼殑python_stu涓柊澧炰簡涓涓猣ile.txt锛屽悓鏃跺湪F鐩樼殑python_stu鏂囦欢鐩綍搴曚笅鏂板涓涓猣ile鏂囦欢澶癸紝閲岄潰鏈変釜file_reader.py鏉ヨ鍙杙ython_stu鏂囦欢鐩綍搴曚笅鐨刦ile.txt锛屼唬鐮佸垎鍒涓嬶細 file.txt锛? 娴嬭瘯 娴嬭瘯2 娴嬭瘯3 file_reader.py锛? with open('F:\python_stu\file.txt') as file_obj: contents = file_obj.read(); print(contents.rstrip()); 锛?锛夈佽繍琛屽悗鎶ラ敊锛? 锛?锛夈佸嚭鐜拌繖绉嶉敊璇殑鍘熷洜鏄敱浜庤鍙栦笉鍒拌繖涓枃浠讹紝鐪婽raceback鎶ョ殑閿欒锛屾渶鍚庝竴琛岋紝寰堟槑鏄捐鍙栦笉鍒癴ile.txt锛屽墠闈㈢殑F:\\python_stu娌¢敊锛屽悗闈㈢殑鍚嶇О鎬庝箞鍙樹簡锛岃繕鏄痻0cile.txt銆? 锛?锛夈佽В鍐冲姙娉曪紝鍙慨鏀逛笂杩扮涓琛屼唬鐮佷负锛? with open('F:\python_stu/file.txt') as file_obj: 鎴栬咃細 with open('F:/python_stu/file.txt') as file_obj: 鎴栬咃細 with open('F://python_stu//file.txt') as file_obj: 鍙堟垨鑰咃細 with open('F:\\python_stu\\file.txt') as file_obj: 杩樻湁涓浜涙垜灏变笉闄勪笂浜嗭紝涓婇潰绗竴绉嶆柟寮忎笉缁熶竴锛屾渶濂戒笉瑕佺敤锛岀敤缁熶竴鐨勬柟寮忥紝鑰屼笖鏈夋椂鍊欒繕鏈夋敞鎰忎竴浜涜浆涔夊瓧绗︼紝姣斿 \t锛孿n涔熶細瀵艰嚧鎶ラ敊銆? <img src ="//www.cqk4s.cn/tjyhy590/aggbug/433783.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.cqk4s.cn/tjyhy590/" target="_blank">楦块泚</a> 2019-05-14 23:04 <a href="//www.cqk4s.cn/tjyhy590/archive/2019/05/14/433783.html#Feedback" target="_blank" style="text - ▼幸运赛车规则▼幸运赛车投注▼幸运赛车开奖结果查询▼湖南幸运赛车开奖奖金▼幸运赛车走势▼//www.cqk4s.cn/paulwong/archive/2019/05/09/433761.htmlpaulwongpaulwongThu, 09 May 2019 02:15:00 GMT//www.cqk4s.cn/paulwong/archive/2019/05/09/433761.html//www.cqk4s.cn/paulwong/comments/433761.html//www.cqk4s.cn/paulwong/archive/2019/05/09/433761.html#Feedback0//www.cqk4s.cn/paulwong/comments/commentRss/433761.html//www.cqk4s.cn/paulwong/services/trackbacks/433761.htmlJava 8鏂扮壒鎬э紙鍥涳級锛氭柊鐨勬椂闂村拰鏃ユ湡APIhttps://lw900925.github.io/java/java8-newtime-api.html
 

paulwong 2019-05-09 10:15 鍙戣〃璇勮
]]>
SPRING BOOT BATCH璧勬簮 - ▼幸运赛车规则▼幸运赛车投注▼幸运赛车开奖结果查询▼湖南幸运赛车开奖奖金▼幸运赛车走势▼//www.cqk4s.cn/paulwong/archive/2019/05/07/433753.htmlpaulwongpaulwongTue, 07 May 2019 09:07:00 GMT//www.cqk4s.cn/paulwong/archive/2019/05/07/433753.html//www.cqk4s.cn/paulwong/comments/433753.html//www.cqk4s.cn/paulwong/archive/2019/05/07/433753.html#Feedback0//www.cqk4s.cn/paulwong/comments/commentRss/433753.html//www.cqk4s.cn/paulwong/services/trackbacks/433753.html Spring Boot涓婼pring Batch鍏ラ棬瀹炰緥 https://www.jianshu.com/p/305192ea4cb1
 

SPRING BATCH + QUARTZ
https://examples.javacodegeeks.com/enterprise-java/spring/batch/quartz-spring-batch-example/
https://blog.kingbbode.com/posts/spring-batch-quartz

Spring Batch Tutorial: Batch Processing Made Easy with Spring
https://www.toptal.com/spring/spring-batch-tutorial

paulwong 2019-05-07 17:07 鍙戣〃璇勮
]]>
浠ユ祦鐨勬柟寮忚В閲婂法澶SON鏂囦欢 - ▼幸运赛车规则▼幸运赛车投注▼幸运赛车开奖结果查询▼湖南幸运赛车开奖奖金▼幸运赛车走势▼//www.cqk4s.cn/paulwong/archive/2019/05/03/433743.htmlpaulwongpaulwongFri, 03 May 2019 07:22:00 GMT//www.cqk4s.cn/paulwong/archive/2019/05/03/433743.html//www.cqk4s.cn/paulwong/comments/433743.html//www.cqk4s.cn/paulwong/archive/2019/05/03/433743.html#Feedback0//www.cqk4s.cn/paulwong/comments/commentRss/433743.html//www.cqk4s.cn/paulwong/services/trackbacks/433743.htmlhttps://www.ngdata.com/parsing-a-large-json-file-efficiently-and-easily/


https://sites.google.com/site/gson/streaming

//www.acuriousanimal.com/2015/10/23/reading-json-file-in-stream-mode-with-gson.html

    public static void main(String [] args) throws IOException {
        String filePath = "C:big-data.json";
        FileInputStream in = new FileInputStream(new File(filePath));
        JsonReader reader = new JsonReader(new InputStreamReader(in, "UTF-8"));
        Gson gson = new GsonBuilder().create();
//        reader.beginObject();
//        reader.nextName();
        reader.beginObject();//璺宠繃"{"
        while (reader.hasNext()) {
            // Read data into object model
            JsonToken jsonToken = reader.peek();
            if(jsonToken.equals(JsonToken.NAME)) {
                String name = reader.nextName();
                if(name.equalsIgnoreCase("SUMMARY")) {
//                    reader.beginObject();
                    Summary summary = gson.fromJson(reader, Summary.class);
                    logger.info(summary.toString());
                    break;
//                    reader.endObject();//璺宠繃"}"
                }
            } /*else if(jsonToken.equals(JsonToken.BEGIN_OBJECT)) {
                reader.beginObject();
            } else if(jsonToken.equals(JsonToken.STRING)) {
                logger.info(reader.nextString());
            } else if(jsonToken.equals(JsonToken.NUMBER)) {
                logger.info(reader.nextInt() + "");
            } else if(jsonToken.equals(JsonToken.END_OBJECT)) {
                reader.endObject();
            } 
*/
//            Summary summary = gson.fromJson(reader, Summary.class);
//            break;
        }
        reader.close();
    }


paulwong 2019-05-03 15:22 鍙戣〃璇勮
]]>
寰悓鍟嗗煄浣跨敤绉佸簱瑙e喅鎵撳寘缂栬瘧闂 - ▼幸运赛车规则▼幸运赛车投注▼幸运赛车开奖结果查询▼湖南幸运赛车开奖奖金▼幸运赛车走势▼//www.cqk4s.cn/sdyjmc/archive/2019/04/04/433704.html鍗曢鍗曢Thu, 04 Apr 2019 01:36:00 GMT//www.cqk4s.cn/sdyjmc/archive/2019/04/04/433704.html//www.cqk4s.cn/sdyjmc/comments/433704.html//www.cqk4s.cn/sdyjmc/archive/2019/04/04/433704.html#Feedback0//www.cqk4s.cn/sdyjmc/comments/commentRss/433704.html//www.cqk4s.cn/sdyjmc/services/trackbacks/433704.html寰悓鍟嗗煄 鎼缓绉佹湇
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:
deploy (default-deploy) on project platform: Failed to deploy artifacts: Could n
ot find artifact com.platform:platform:pom:1.0.0 in releases(//nkf:
8081/repository/xiaowang-host/) -> [Help 1]

    <modelVersion>4.0.0</modelVersion>
    <groupId>com.platform</groupId>
    <artifactId>platform</artifactId>
    <version>1.0.0</version>
    <packaging>pom</packaging>
    <description>platform</description>
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:
deploy (default-deploy) on project platform: Deployment failed: repository eleme
nt was not specified in the POM inside distributionManagement element or in -Dal
tDeploymentRepository=id::layout::url parameter -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:
deploy (default-deploy) on project platform-mp: Failed to deploy artifacts: Coul
d not find artifact com.platform:platform-mp:jar:1.0.0 in releases (http:
//nkf:8081/repository/xiaowang-host/) -> [Help 1]
鎼缓绉佹湇
D:\public\mvn\apache-maven-3.2.2\conf\settings.xml
<mirror>
        <id>nexus-aliyun</id>
        <mirrorOf>central</mirrorOf>
        <name>Nexus aliyun</name>
        <url>//maven.aliyun.com/nexus/content/groups/public</url>
    </mirror>
闃块噷浠撳簱鏀逛负涓ぎ浠撳簱

N:\JetBrains\platform\pom.xml

瑙e喅涓婁紶绗簩鏂筳ar鏂囦欢鍜屼笅杞界浜屾柟jar鏂囦欢闂:

<distributionManagement>
      <repository>
        <id>releases.xiaowang</id>
        <name>Releases</name>
        <url>//server2:8081/repository/xiaowang-host/</url>
      </repository>
      <snapshotRepository>
        <id>snapshots.xiaowang</id>
        <name>Snapshot</name>
        <url>//server2:8081/repository/xiaowang-host/</url>
      </snapshotRepository>
    </distributionManagement>
    <repositories>
        <repository>
          <id>releases.xiaowang</id>
          <url>//server2:8081/repository/xiaowang-host/</url>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </snapshots>
        </repository>
    </repositories>


鍏跺畠pom.xml鏂囦欢鏃犻渶鍋氭敼鍙?灏卞彲浠ヤ娇鐢╩vn deploy 涓婁紶鍜屼笅杞界浜屾柟jar鏂囦欢
鐒跺悗浣跨敤mvn package 灏辨病鏈夐棶棰樹簡銆?/div>

]]>
  • 女性之声——全国妇联 2019-05-12
  • 中国科学家给2.2万年前的大熊猫测基因 2019-05-11
  • 有神论跟无神论的差别在哪你都不知道,还要扯啥呢。 2019-05-11
  • 福州五一广场举行“十一”升国旗仪式 2019-05-08
  • 强村带弱村结对共发展 2019-04-07
  • 父亲节,你知道 有几成“男人装”? 2019-03-28
  • 苹果-热门标签-华商生活 2019-03-10
  • “奥运新秀”亮相上海 亚帆联杯等你来看 2019-03-07
  • 蔡奇就历史文化遗产保护调研:把燕都金中都建设保护好 2019-02-23
  • 红曲美的绿盒子,绿色生活大不同 2019-02-23
  • 理发迎接世界杯 梅西粉丝将偶像笑脸“抛在脑后” 2018-11-26
  • 我省各类创业孵化载体累计“毕业”企业3054家 2018-11-26
  • 鸿山慈善会厦门佛事展举行义诊活动 赢得群众交口称赞 2018-11-24
  • 特色小镇里的税收服务 定海国地税多措并举提升效能 2018-11-24
  • 端午小长假我市旅游总收入同比增20.5% 2018-08-12