サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
大谷翔平
www.moriwaki.net
import java.io.IOException; import org.apache.commons.io.IOUtils; import ch.ethz.ssh2.Connection; import ch.ethz.ssh2.Session; import ch.ethz.ssh2.StreamGobbler; public class SshConnection { private final static String HOSTNAME = "hostname"; private final static String USERNAME = "userid"; private final static String PASSWORD = "pass"; private final static String ENCODE = "UTF-8"; public SshConnec
jQuery UI アニメーションエフェクトのまとめ(サンプルをクリックでアニメーション) サンプル エフェクト オプション 説明
String readFile = "xxx.pdf"; FileInputStream pdfStream = null; try { pdfStream = new FileInputStream(readFile); PDFParser pdfParser = new PDFParser(pdfStream); pdf = pdfParser.getPDDocument(); } catch (Exception e) { e.printStackTrace(); } finally { if (pdfStream != null) { pdfStream.close(); } } String writeFile = "xxx.pdf"; COSWriter writer = null; FileOutputStream stream = null; try { stream =
public class Person implements Comparable { private String id; // ID public Person(String id, String name, String nameKana) { this.id = id; this.name = name; this.nameKana = nameKana; } public String getId() { return id; } public String getName() { return name; } public String getNameKana() { return nameKana; } public void setId(String string) { id = string; } public void setName(String string) {
if (StringUtils.isEmpty(str)) { System.out.println(str.toUpperCase()); } StringUtils.split(" abc def ") -> ["abc", "def"] StringUtils.split("abc def", null) -> ["abc", "def"] StringUtils.split("ab:cd:ef", ":") -> ["ab", "cd", "ef"] StringUtils.split("ab::ef", ":") -> ["ab", "ef"] StringUtils.join([null, "", "a", "bc"]) -> "abc" StringUtils.join(["a", "b", "c"], null) -> "abc" StringUtils.join([nul
CacheManager manager = CacheManager.getInstance(); URL url = getClass().getResource("/package/anothername.xml"); CacheManager manager = CacheManager.create(url); CacheManager manager = CacheManager.create("src/config/ehcache.xml"); manager.shutdown(); Cache cache = manager.getCache("sampleCache1"); // Cache(String name, int maximumSize, boolean overflowToDisk, // boolean eternal, long timeToLiveSe
String text = "Hello World!"; Pattern p = Pattern.compile("Hello"); Matcher m = p.matcher(text); if (m.find()) { } else { } String text = "www.hoge.net"; Pattern p = Pattern.compile("\\.net"); Matcher m = p.matcher(text); String replaced = m.replaceFirst(".info"); System.out.println(replaced); Matcher m = p.matcher(st); String replaced = m.replaceAll(""); String text = "Name: Regular Expressions";
try { InputStream in = new FileInputStream("C:\\tmp\\org.txt"); OutputStream out = new FileOutputStream("C:\\tmp\\copy.txt"); CopyUtils.copy(in, out); } catch (Exception e) { e.printStackTrace(); } InputStream in = null; try { in = new URL("http://www.moriwaki.net/wiki/").openStream(); System.out.println(IOUtils.toString(in)); } catch (Exception e) { e.printStackTrace(); } finally { IOUtils.closeQ
Last-modified: Tue, 09 Mar 2010 01:48:41 UTC (5280d) Link: FrontPage(3346d) Modified by MT22(Moriwaki Takashi) "PukiWiki" 1.3.7 Copyright © 2001,2002,2003 PukiWiki Developers Team. License is GNU/GPL. Based on "PukiWiki" 1.3 by sng Powered by PHP 7.4.33 HTML convert time to 0.027 sec.
Last-modified: Wed, 24 Jun 2015 13:18:07 UTC (3194d) Link: InterWikiSandBox(6144d) (6871d) (6975d) Modified by MT22(Moriwaki Takashi) "PukiWiki" 1.3.7 Copyright © 2001,2002,2003 PukiWiki Developers Team. License is GNU/GPL. Based on "PukiWiki" 1.3 by sng Powered by PHP 7.4.33 HTML convert time to 0.023 sec.
package test; import java.util.List; import java.util.Properties; import net.sf.hibernate.Hibernate; import net.sf.hibernate.HibernateException; import net.sf.hibernate.Session; import net.sf.hibernate.Transaction; import net.sf.hibernate.cfg.Configuration; import net.sf.hibernate.expression.Expression; public class SampleMain { public static void main(String[] args) { Configuration cfg = null; Se
pdfFontName="HeiseiKakuGo-W5" pdfEncoding="UniJIS-UCS2-H" isPdfEmbedded="false" pdfFontName="HeiseiMin-W3" pdfEncoding="UniJIS-UCS2-HW-H" isPdfEmbedded="false" JAVA_OPTS="-server -Xmx256M -Xms128M -Xss256k -Djava.awt.headless=true" Last-modified: Fri, 30 Oct 2009 04:35:42 UTC (5257d) Link: FrontPage(3194d) (5128d) Modified by MT22(Moriwaki Takashi) "PukiWiki" 1.3.7 Copyright © 2001,2002,2003 PukiW
このページを最初にブックマークしてみませんか?
『MORIWAKI.NET』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く