Class LFileModelImport
java.lang.Object
com.io7m.laurel.filemodel.internal.LFileModelImport
- All Implemented Interfaces:
LFileModelImportType,AutoCloseable
A file import operation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static LFileModelImportTypeCreate an import operation.events()execute()Execute the operation.
-
Method Details
-
create
Create an import operation.- Parameters:
directory- The source directoryoutputFile- The output file- Returns:
- The operation
-
events
- Specified by:
eventsin interfaceLFileModelImportType- Returns:
- The stream of events
-
execute
Description copied from interface:LFileModelImportTypeExecute the operation.- Specified by:
executein interfaceLFileModelImportType- Returns:
- The operation in process
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceLFileModelImportType
-