public class PayloadBuilderServiceImpl extends Object implements PayloadBuilderService
| Modifier and Type | Field and Description | 
|---|---|
static String | 
SWID_BODY_ELEMENT  | 
static String | 
SWID_ELEMENT  | 
static String | 
SWID_LIST_ELEMENT  | 
static String | 
TAG_TYPE_ELEMENT  | 
| Constructor and Description | 
|---|
PayloadBuilderServiceImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
buildPayload(List<String> tagFileNames,
            TagType tagType)
Construct payload from one or more tag files 
 | 
public static final String SWID_BODY_ELEMENT
public static final String TAG_TYPE_ELEMENT
public static final String SWID_ELEMENT
public static final String SWID_LIST_ELEMENT
public String buildPayload(List<String> tagFileNames, TagType tagType) throws UnsupportedEncodingException, IOException
buildPayload in interface PayloadBuilderServicetagFileNames - the SWID tag file names listtagType - the tag typeUnsupportedEncodingException - if encoding is not supportedIOException - if read or write error occursCopyright © 2020 National Institute of Standards and Technology. All rights reserved.