Class AttachedFiles
java.lang.Object
org.qubership.atp.dataset.migration.formula.model.AttachedFiles
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.apache.poi.poifs.filesystem.Ole10Native> createAttachedFiles(org.apache.poi.xssf.usermodel.XSSFWorkbook book, FalloutReport report) Search for file attachments from a XSSFWorkbook.static FileDatacreateFileParameterFromAttachedFile(org.apache.poi.poifs.filesystem.Ole10Native file, UUID uuid) Creation FileData.static Optional<org.apache.poi.poifs.filesystem.Ole10Native> findFileFromList(List<org.apache.poi.poifs.filesystem.Ole10Native> attachedFiles, String name, String dsName) Search for a file in the list by attribute name and dataset name.
-
Constructor Details
-
AttachedFiles
public AttachedFiles()
-
-
Method Details
-
createAttachedFiles
public static List<org.apache.poi.poifs.filesystem.Ole10Native> createAttachedFiles(org.apache.poi.xssf.usermodel.XSSFWorkbook book, FalloutReport report) Search for file attachments from a XSSFWorkbook. -
findFileFromList
public static Optional<org.apache.poi.poifs.filesystem.Ole10Native> findFileFromList(List<org.apache.poi.poifs.filesystem.Ole10Native> attachedFiles, String name, String dsName) Search for a file in the list by attribute name and dataset name.- Parameters:
name- Attribute name.dsName- Dataset name.
-
createFileParameterFromAttachedFile
public static FileData createFileParameterFromAttachedFile(org.apache.poi.poifs.filesystem.Ole10Native file, UUID uuid) Creation FileData.- Parameters:
uuid- Parameter UUID.
-