본문 바로가기

Bitaholic

검색하기
Bitaholic
프로필사진 Bitaholic

  • 분류 전체보기 (56)
    • Computer (53)
      • 프로그래밍일반 (13)
      • Linux (8)
      • Ruby&Rails (1)
      • WebService (2)
      • Mac (2)
      • web2.0 (1)
      • Java (11)
      • DB (3)
      • PHP (4)
      • OS (1)
      • 컴터관리Tips (0)
      • HIbernate (1)
      • Basic (2)
      • Spring (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • Koders
  • KLDP
  • TLDP
«   2025/05   »
일 월 화 수 목 금 토
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
  • Java5
  • db
  • spring3.0
  • 독서
  • Ant
  • 요리
  • 중고
  • 효민이
  • 육아
  • 미국드라마
  • 행복이
  • 부동산
  • Vista
  • Mac
  • Linux
  • PSP
  • Spring
  • WebLogic
  • Eclipse
  • Swing
  • ThinkFree
  • Programing
  • 이승철
  • Java
  • 책
  • Programming
  • OS
  • 판매
  • WebService
  • php
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록IO (1)

Bitaholic

Java에서 현재 디렉토리 경로 알아오기..

import java.io.File; public class CurrentDir { public static void main (String args[]) {File dir1 = new File ("."); File dir2 = new File ("..");try { System.out.println ("Current dir : " +dir1.getCanonicalPath()); System.out.println ("Parent dir : " +dir2.getCanonicalPath()); } catch(Exception e) { e.printStackTrace(); } } }

Computer/Java 2006. 11. 17. 20:40
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바