Time of Update: 2018-02-05
標籤:開啟 下載 位置 etl date exce amp exception depend 在網上看了一些Java產生pdf檔案的,寫的有點亂,有的不支援寫入中文字型,有的不支
Time of Update: 2018-01-24
標籤:body rgs oid string may demo div ati 數字 import java.util.*; public class DateDemo { public
Time of Update: 2018-01-16
標籤:版本號碼 準備 能力 填充 boolean nbsp tor 容量 資料表 一、最近使用到了產生二維碼的技術,特此記錄本文介紹的是Denso的QRCODE。二、知識準備2.1、QRCODE
Time of Update: 2018-01-15
標籤:stream ring cep 讀寫檔案 檔案的 建立 結果 pos post Files.readAllBytes(Path)方法把整個檔案讀入記憶體,此方法返回一個位元組數組,還可以把
Time of Update: 2018-01-12
標籤:form not etc 查看 變數 cto could not ror 環境變數 在執行hdfs namenode -format時報錯Error occurred
Time of Update: 2018-01-12
標籤:調用 app 運行 map 代碼 nbsp 地方 問題排查 type Result Maps collection does not contain value for
Time of Update: 2017-12-23
標籤:shutdown obd uart entity 增量 down body sql 定義 quartz 任務調度架構
Time of Update: 2017-12-22
標籤:out 分享 pad secret str div 兩種 base64 encrypt 如下的java代碼,手動對block進行填充後,使其為16的整數倍後,加密的時候竟然強行再填充了16
Time of Update: 2017-11-14
標籤:iter 資料庫 example 時鐘 except reg over 儲存 忘記 你是否正打算最佳化hashCode()方法?是否想要繞開Regex?Lukas
Time of Update: 2017-11-07
標籤:center issue fail 技術 尋找 依賴 change nested 很多 出錯情況:由於介面的更改,在工程中更新了一個外部依賴的jar包,在編譯啟動後遇到了下述問題:Caus
Time of Update: 2017-09-15
標籤:href ges 列表 總結 height 多態性 toolbar 結構 內部實現 轉載 http://www.cnblogs.com/chenssy/p/3372
Time of Update: 2018-02-06
Java開發工具Eclipse提示全域搜尋和更替,eclipse提示本文研究的主要是Eclipse中全域搜尋和更替,下面看看具體操作方法。Eclipse全域搜尋步驟 使用快速鍵“ctrl+H”開啟檔案搜尋對話方塊,選擇“File Search”標籤,在Containing text中輸入你需要搜尋的字串,在Scope中,選擇你要搜尋的範圍,點擊Search。在Search視圖中,會列出搜尋得到的結果,點擊開啟屬性結構。雙擊搜尋結構,就會顯示原始碼中的搜尋結果。Eclipse全域替換步驟
Time of Update: 2018-02-02
Java 替換word文檔文字並指定位置插入圖片,word插入圖片先說下 需要的依賴包<dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-excelant</artifactId> <version>3.12</version> </dependency> <dependency&
Time of Update: 2018-01-07
Maven setting.xml設定檔詳解,mavensetting.xmlmaven的設定檔settings.xml存在於兩個地方:1.安裝的地方:${M2_HOME}/conf/settings.xml2.使用者的目錄:${user.home}/.m2/settings.xml前者又被叫做全域配置,對作業系統的所有使用者生效;後者被稱為使用者配置,只對當前作業系統的使用者生效。如果兩者都存在,它們的內容將被合并,並且使用者範圍的settings.xml會覆蓋全域的settings.xml。
Time of Update: 2017-11-20
Java學習筆記15---instanceof與向下轉型,感冒咳嗽停更了幾天,今天恢複更新了。先來看下instanceof與向下轉型的概念:1.instanceof instanceof是一個二元操作符,用法是:boolean result = a instanceof ClassA,即判斷對象a是否是類ClassA的執行個體,如果是的話,則返回true,否則返回false。 2.向下轉型
Time of Update: 2017-11-11
mybatis-自訂緩衝-redis二級緩衝,mybatis--redis在mybatis一級緩衝二級緩衝中已經介紹過了二級緩衝的大致原理。下面我們用redis來實現一下二級緩衝。環境是springmvc+mybatis+redis步驟一、引入redis相關的maven依賴<!-- spring-redis實現 --><dependency> <groupId>org.springframework.data</groupId>
Time of Update: 2017-11-08
Json多層對象訪問,json多層對象背景說明本文主要記錄示範,利用Gson工具,對多層的 Json 資料進行轉換讀取的樣本。原始 Json 字串格式化效果如下: 範例程式碼import java.util.Iterator;import com.google.gson.Gson;import com.google.gson.GsonBuilder;import com.google.gson.JsonArray;import
Time of Update: 2017-10-14
eclipse 匯出Runnable JAR file ,雙擊無法執行原因與解決 雙擊後閃退的原因,eclipserunnableeclipse 匯出Runnable JAR file匯出後如果系統沒有JRE,雙擊無法運行,需要用命令方法安裝後解決, 雙擊後閃退的原因,通過執行 java -jar TingGe.jar
Time of Update: 2017-10-13
使用 RuPengGame遊戲引擎包 建立遊戲表單 如鵬遊戲引擎包 Thread Runnable 賣票執行個體,rupenggamerunnable package com.swift;import com.rupeng.game.GameCore;//匯入遊戲引擎包//實現Runnable介面public class Game_RuPeng implements Runnable { public static void main(String[] args) {
Time of Update: 2017-10-13
檔案下載(下載檔案名稱亂碼解決方案),檔案名稱亂碼1. 下載就是向用戶端響應位元組資料! 原來我們響應的都是html的字元資料! 把一個檔案變成位元組數組,使用response.getOutputStream()來各應給瀏覽器!!!2. 下載的要求 * 兩個頭一個流! > Content-Type:你傳遞給用戶端的檔案是什麼MIME類型,例如:image/pjpeg * 通過檔案名稱調用ServletContext的getMimeType()方法,得到MIME類型!