일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Eclipse
- 안드로이드
- 웹뷰
- decompiler
- html
- 이클립스
- 웹 서비스
- Apache Lucene
- 자바스크립트
- Java
- TextBox
- asp.net
- javascript
- MSsql
- Web Service
- STS
- MANTIS
- WebView
- C#
- SpringSource Tool Suite
- Android
- 자바
- varags
- Redirect
- MS-SQL
- jsp
- 컬럼명
- Bootstrap
- Maven
- scrollView
- 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..