SheetFactory.java 772 B

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * @(#)file SheetTDFactory.java
  3. * @(#)author [개발자명]
  4. * @(#)version 1.0
  5. * @(#)date May 10, 2007
  6. * @(#)since JDK 1.4.2
  7. *
  8. * Copyright (c) www.hwenc.co.kr, Inc.
  9. * All rights reserved.
  10. * This software is the proprietary information of Hanwha E&C, Inc.
  11. */
  12. package kr.co.udapsoft.common.sheet;
  13. import kr.co.udapsoft.common.sheet.SheetTD;
  14. public class SheetFactory {
  15. private SheetFactory() {
  16. }
  17. /**
  18. * SheetTD[]를 생성하여 리턴
  19. * @param createSheetTDCount
  20. * @return
  21. */
  22. public static SheetTD[] createSheetTD(int createSheetTDCount) {
  23. SheetTD[] sheetTDs = new SheetTD[createSheetTDCount];
  24. for( int i = 0 ; i < createSheetTDCount ; i++ ) {
  25. sheetTDs[i] = new SheetTD();
  26. sheetTDs[i].tdIndex = i;
  27. }
  28. return sheetTDs;
  29. }
  30. }