블로그 이미지
올해목표 // 10월 어학연수 떠나자~ 자수씨

카테고리

전체글 (1457)
Brand New! (28)
주절주절 (213)
MOT (11)
해외쇼핑 (49)
쇼핑노트 (150)
취미생활 (94)
iPhone (4)
Eclipse (121)
Google (83)
Spring (31)
JAVA (176)
JavaScript (59)
WEB (49)
Database (20)
OS (26)
Tools (8)
Tips (26)
IT정보 (1)
Book (21)
Programming (37)
외부행사 (43)
주변인들 (17)
여행노트 (60)
학교생활 (30)
회사생활 (52)
사회생활 (5)
외국어공부 (12)
잡동사니 (30)
Total
Today
Yesterday
 
05-20 02:12
 

달력

« » 2024.5
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
 

최근에 올라온 글

최근에 달린 댓글

[JAXB] Unmarshaller 이용~

JAVA/JAXB / 2008. 2. 22. 01:20
이전에 만들어진 java beans를 활용하여 xml을 unmarshalling에 도전!!!

mailboxlist.xml


UnmarshallTest.java


xml 데이터가 java beans에 알아서 값들이 쏙쏙 들어간다.

예전에 비슷하게 만들었던 적이 있었는데... 역시 다른 사람들이 만든걸 쓰는게 낫겠죱~

후후~ 다음번에는 marshalling에 도전!!!

Posted by 자수씨
, |

MailBoxList가 최상위 노드가 되고 하위에 MailBox들이 들어가는 형식으로

xsd 생성에 도전!!

MailBoxes.java

MailBox.java

build.xml


ant를 실행시키면 다음과 같은 결과가 나오게됩니다.
init:
   [delete] Deleting directory E:\Development\workspaceNew\JAXBTest\build
    [mkdir] Created dir: E:\Development\workspaceNew\JAXBTest\build
    [mkdir] Created dir: E:\Development\workspaceNew\JAXBTest\build\schemas
schemagen:
[schemagen] Generating schema from 2 source files
[schemagen] Note: Writing schema1.xsd
BUILD SUCCESSFUL
Total time: 1 second


ant를 실행시킨 디렉토리를 확인하게 되면 schema1.xsd가 생성되었습니다.
schema1.xsd



Posted by 자수씨
, |

[Tip] FileUtils~~

JAVA / 2008. 2. 20. 12:03
파일처리에 상당히 고민이 많았는데 역시 apache...

apache.io 에 포함되어 있는 FileUtils 클래스는 다음과 같은 역할을 한다.

ㅁ 디렉토리 복사 (하위 포함)
ㅁ 디렉토리 삭제 (하위 포함)
ㅁ 바이트를 GB, MG, KB, Bytes 등과 같이 디스플레이용으로 변환



ㅁ 디렉토리 복사

Posted by 자수씨
, |
이건.. 3기가가 넘는다 후덜덜덜...

흠;; 유마일 인코더로도 변환이 안되는 ㅠ_ㅠ.... 헹헹

Posted by 자수씨
, |
업로드 대기중;;;  40분 찍었는데 1.7기가.. 인코딩에서 올려야겠구나

회사가서 올려야지~

처음 사회진행이라 당황하는 소리;;; 불쌍 ㅠ_ㅠ.. 나랑 그렇게 연습을 했겄만..

Posted by 자수씨
, |

블로그에 사진올려서 트랙백걸어 놓으면 선물준다는 말에 그만...
옥회장님 재치꾼~

0123

Posted by 자수씨
, |
왜 사람들이 9시 50분 부터 줄을 설까하는 생각도 들었지만 어차피 사전접수했으니깐 괜찮겠지라는
생각으로 열심히 기념품을 받으러 돌아다니기 시작~

9시 53분...

사람들이 줄을 서기 시작한다...

01234567
 기념품 감사요~


01

사람들이;;; 후덜덜덜;;; 10시 14분인뎅;;;


 

시간이 지나면 지날수록 줄은 안 줄어들고... 접수하러 갔을 때는 쇼핑백이 떨어졌다는 이유로

종이만.... 여자친구 셋팅 도와주느라 한가할때 해야지라는 생각으로 좀 늦게갔을 뿐인데...


Posted by 자수씨
, |
소리가 1트랙 사회자로 참여한 JCO 컨퍼런스~
아침에 같이 따라나와서 소리외 JCO 스탭들이 열심히 일하고 있을 때 두리번 거리면서 사진을 찍었다.

01234


좋은 기념품을 주시는 부스들도 준비 중인 곳을 비집고 들어가서 찰칵~

012

아직까지 한산한 그랜드볼룸 로비~ 허나 30분 후에 있을 일들은 아무도 예상하지 못하였다는....

012345

Posted by 자수씨
, |

signjar로 인증처리까지 했는데 저런 오류가 뜬다면...

이미 다른 인증이 있기 때문입니다.

예를 들어서 eclipse에 jface jar를 직접만든 프로젝트에서 웹스타트를 통해

배포한다면 문제가 발생할 것입니다.

해당 jar원본의 압축을 풀어서 META-INF 폴더를 보게되면

ECLIPSE.RSA와 ECLIPSE.SF 파일이 있는데 이걸 지우고 다시 jar로 묶은 후에

signjar로 인증처리를 하고 webstart로 올리면 문제가 해결될 것입니다~~

-------------
추가적으로... plugin 속성을 가지고 있는 것을 처리하려면 META-INF 폴더는 빼고

jar로 묶습니다.

Posted by 자수씨
, |
윈도우에서 심볼릭 링크 걸일들이 있었는데 요런게 있었다니.. ㅎㅎㅎ
요긴하게 쓸만한 것 같다~
 

Junction v1.05

By Mark Russinovich

Published: July 24, 2007

Introduction

Windows 2000 and higher supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer. For example, if the directory D:\SYMLINK specified C:\WINNT\SYSTEM32 as its target, then an application accessing D:\SYMLINK\DRIVERS would in reality be accessing C:\WINNT\SYSTEM32\DRIVERS. Directory symbolic links are known as NTFS junctions in Windows. Unfortunately, Windows comes with no tools for creating junctions - you have to purchase the Win2K Resource Kit, which comes with the linkd program for creating junctions. I therefore decided to write my own junction-creating tool: Junction. Junction not only allows you to create NTFS junctions, it allows you to see if files or directories are actually reparse points. Reparse points are the mechanism on which NTFS junctions are based, and they are used by Windows' Remote Storage Service (RSS), as well as volume mount points.

Please read this Microsoft KB article for tips on using junctions.

Note that Windows does not support junctions to directories on remote shares.

If you want to view reparse information, the usage for Junction is the following:

Usage: junction [-s] <directory or file name>

-s

Recurse subdirectories.

If you want to create or delete a junction, use Junction like this:

Usage: junction [-d] <junction directory> [<junction target>]

To delete a junction specify the -d switch and the junction name.


원문:  http://www.microsoft.com/technet/sysinternals/FileAndDisk/Junction.mspx

Posted by 자수씨
, |

글 보관함

최근에 받은 트랙백