org.squashtest.tm.service.internal.importer
Class ExcelTestCaseParserImpl

java.lang.Object
  extended by org.squashtest.tm.service.internal.importer.ExcelTestCaseParserImpl

public class ExcelTestCaseParserImpl
extends Object


Field Summary
static String ACTION_STEP_TAG
           
static String CREATED_BY_TAG
           
static String CREATED_ON_TAG
           
static String DESCRIPTION_TAG
           
static String IMPORTANCE_TAG
           
static String NATURE_TAG
           
static String PREREQUISITE_TAG
           
static String STATUS_TAG
           
static String TYPE_TAG
           
 
Constructor Summary
ExcelTestCaseParserImpl()
           
 
Method Summary
 org.squashtest.tm.domain.testcase.TestCase parseFile(InputStream stream, ImportSummaryImpl summary)
           
 org.squashtest.tm.domain.testcase.TestCase parseFile(org.apache.poi.ss.usermodel.Workbook workbook, ImportSummaryImpl summary)
           
 String stripFileExtension(String fullName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTION_TAG

public static final String DESCRIPTION_TAG
See Also:
Constant Field Values

IMPORTANCE_TAG

public static final String IMPORTANCE_TAG
See Also:
Constant Field Values

NATURE_TAG

public static final String NATURE_TAG
See Also:
Constant Field Values

TYPE_TAG

public static final String TYPE_TAG
See Also:
Constant Field Values

STATUS_TAG

public static final String STATUS_TAG
See Also:
Constant Field Values

CREATED_ON_TAG

public static final String CREATED_ON_TAG
See Also:
Constant Field Values

CREATED_BY_TAG

public static final String CREATED_BY_TAG
See Also:
Constant Field Values

PREREQUISITE_TAG

public static final String PREREQUISITE_TAG
See Also:
Constant Field Values

ACTION_STEP_TAG

public static final String ACTION_STEP_TAG
See Also:
Constant Field Values
Constructor Detail

ExcelTestCaseParserImpl

public ExcelTestCaseParserImpl()
Method Detail

parseFile

public org.squashtest.tm.domain.testcase.TestCase parseFile(InputStream stream,
                                                            ImportSummaryImpl summary)
                                                     throws org.squashtest.tm.exception.SheetCorruptedException
Throws:
org.squashtest.tm.exception.SheetCorruptedException

parseFile

public org.squashtest.tm.domain.testcase.TestCase parseFile(org.apache.poi.ss.usermodel.Workbook workbook,
                                                            ImportSummaryImpl summary)
                                                     throws org.squashtest.tm.exception.SheetCorruptedException
Throws:
org.squashtest.tm.exception.SheetCorruptedException

stripFileExtension

public String stripFileExtension(String fullName)


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.