Package org.qubership.atp.dataset.ei
Class FileSystemCreator
java.lang.Object
org.qubership.atp.dataset.ei.FileSystemCreator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(Path path, CheckedConsumer<Path, IOException> consumer) Creates file or directory due toCheckedConsumerlogic.
-
Constructor Details
-
FileSystemCreator
public FileSystemCreator()
-
-
Method Details
-
create
public void create(Path path, CheckedConsumer<Path, IOException> consumer) throws org.qubership.atp.ei.node.exceptions.ExportExceptionCreates file or directory due toCheckedConsumerlogic.- Parameters:
path- which is needed to create file/directoryconsumer-CheckedConsumerfor creation of file or directory.- Throws:
org.qubership.atp.ei.node.exceptions.ExportException- the export exception
-