@Service public class ParseService extends Object
| Constructor and Description |
|---|
ParseService() |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
convertFileToTargetObject(org.springframework.web.multipart.MultipartFile file,
Class<T> target) |
byte[] |
generateFileByPayload(DataPayload data) |
<T> Optional<T> |
getDataFromFile(org.springframework.web.multipart.MultipartFile input,
com.fasterxml.jackson.core.type.TypeReference<T> typeReference) |
Optional<DataPayload> |
getDefaultData() |
public <T> Optional<T> getDataFromFile(org.springframework.web.multipart.MultipartFile input, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
public Optional<DataPayload> getDefaultData()
public byte[] generateFileByPayload(DataPayload data)
Copyright © 2020. All rights reserved.