본문 바로가기

java

Capture Video from Logitech QuickCam Pro 3000 David Fischer's Java Programming Examples: Capture Video from Logitech QuickCam Pro 3000 Camera with Java JMF Homepage (in German Language) This example program will capture the video and audio stream from a Logitech QuickCam Pro 3000 USB camera for 10 seconds and stores it on a file, named "testcam.avi". You can later use the microsoft windows media player to display this file. 100% written in .. 더보기
JAVA 에서 Excel 파일 다루기 우선 http://www.andykhan.com/jexcelapi/download.html 에 가서 jexcelapi_2_4_5.tar.gz 파일을 다운로드해서 압출을 해제한다. 압축 파일안에 보면 jxl.jar 파일이 있다. java classpath에 이 파일을 걸어준다. 아래 링크는 Tutorial이 나와있는 사이트이다. Tutorial Link 자바로 엑셀을 핸들링 할 수 있는 방법은 크게 두가지로 나누어 진다. 1. Java Excel API http://www.andykhan.com/jexcelapi/ 2. POI http://jakarta.apache.org/poi/index.html ※ 흔히 POI를 엑셀을 핸들링 하기 위한 것으로만 오해하기 쉬운데, POI 프로젝트는 마이크로소프트 OLE.. 더보기
javascript - replace("find","replacestr") 자바 스크립트에서 replace() 함수는 의 기능에서 반복되는 문자가 있을 시 예를 들어 (-) 하이픈 --;; 날짜에 2008-11-06 이라는 날짜 문자에서 - 을 모두 '' 로 처리 하고 싶다고 가정한다면 JAVA 에서는 replaceAll 메소드가 있지만.. javascript 에서는 그런 메소드가 없다... 이럴 때는... 아래 예재를 참고 하길 바란다. Example 3 - Global Search In the following example we will perform a global match, and the word Microsoft will be replaced each time it is found: The output of the code above will be: Welcome .. 더보기
아직도 자바의 구조에 대해.. 잘 모르겠다... 더보기