일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- 웹뷰
- 웹 서비스
- MSsql
- Java
- SpringSource Tool Suite
- jsp
- javascript
- Maven
- Apache Lucene
- MS-SQL
- 안드로이드
- html
- Redirect
- Web Service
- 자바스크립트
- MANTIS
- asp.net
- scrollView
- varags
- C#
- STS
- 자바
- decompiler
- TextBox
- 이클립스
- WebView
- Android
- Eclipse
- Bootstrap
- 컬럼명
- Today
- Total
목록Java (18)
bboks.net™
1. FileStream private static void copyFileUsingFileStreams(File source, File dest) throws IOException { InputStream input = null; OutputStream output = null; try { input = new FileInputStream(source); output = new FileOutputStream(dest); byte[] buf = new byte[1024]; int bytesRead; while ((bytesRead = input.read(buf)) > 0) { output.write(buf, 0, bytesRead); } } finally { input.close(); output.clo..
아파치의 RandomStringUtils 사용 import org.apache.commons.lang.RandomStringUtils; public class RandomStringUtilsTest { int length = 10; String randomString = RandomStringUtils.random(length, true, true); System.out.println(randomString); } Maven Repositoryhttp://mvnrepository.com/artifact/org.apache.commons/commons-lang3/3.3.2 org.apache.commons commons-lang3 3.3.2 [출처] 자바 (Java)에서 랜덤 (Random) 문자열 (St..
import java.lang.reflect.Method; public class BrowserControl { /** * Method to Open the Broser with Given URL * * @param url */ public static void openUrl(String url) { String os = System.getProperty("os.name"); Runtime runtime = Runtime.getRuntime(); try { // Block for Windows Platform if (os.startsWith("Windows")) { String cmd = "rundll32 url.dll,FileProtocolHandler " + url; Process p = runtim..