XLS 파일 읽어오기 public static void main(String[] args){ try{ readXLS(); }catch(Exception ex){ ex.printStackTrace(); } } public static void readXLS() throws Exception { POIFSFileSystem fs = new POIFSFileSystem(new FileInputStream("C:\\JAVA.XLS")); //파일을 읽어오는 부분 HSSFWorkbook wb = new HSSFWorkbook(fs); HSSFSheet sheet = wb.getSheetAt(0); //첫번재 시트 설정 HSSFRow row = null; //줄 HSSFCell cell = null; //셀 int rowcnt; int.. 더보기 이전 1 ··· 9 10 11 12 13 14 15 다음