Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- XMLHTTP
- jQuery
- lsusb
- Injection
- ajax
- euc-kr
- submit
- Getrows
- DS718+
- javascript
- readonly
- 무선랜카드
- AC1300
- 커널
- RTL88x2BU
- jquery 레이어
- disabled
- ASP
- SQL Injection
- FileSystemObject
- 시놀로지
- 크로스 컴파일
- include
- form
- replace
- 따라다니는 배너
- synology
- println
- utf-8
- PHP GCM
Archives
- Today
- Total
목록println (2)
아는 것이 좋은 것이다.
[Java] 문자열 세기 Length
String txt1 = "가나다라마"; String txt2 = "ABCDEF"; System.out.println(txt1.length()); // 출력 결과: 5 System.out.println(txt2.length()); // 출력 결과: 6
Java Programing
2014. 6. 1. 22:55
[Java] 로그 저장, System.out.println 데이터 저장
import java.io.*; public class SaveLog { public static void main(String[] args) throws FileNotFoundException { // TODO Auto-generated method stub File file = new File("Save.txt"); PrintStream printStream = new PrintStream(new FileOutputStream(file)); System.out.println("출력한다."); System.setOut(printStream); System.out.println("저장하고 출력하지 않는다."); } }
Java Programing
2014. 5. 7. 13:25