jad -o -r -sjava -8 -dtest target/**/*.class


-o : 덮어쓰기

-r : 해당 패키지 형태로 디렉토리 구조를 만듬(restore package directory structure)
-s java : 디컴파일된 파일의 확장자를 java로 생성

-8 : 유니코드 스트링을 ANSI 스트링으로 변환, (주로 유니코드 -> 한글)


-d : 디컴파일될 디렉토리(-d <dir> - directory for output files)


마지막은 디컴파일 해야할 타겟 지정 (target/**/*.class -> target 폴더 하위에 존재하는 class파일을 대상으로)

'Java' 카테고리의 다른 글

ConcurrentModificationException  (0) 2012.11.08
Serializable, 직렬화 (2)  (0) 2012.08.30
Serializable, 직렬화 (1)  (0) 2012.08.30

+ Recent posts