Package com.io7m.montarre.api.io
Interface MPackageWriterType
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
MPackageWriter
A package being written.
-
Method Summary
-
Method Details
-
addFile
Add a file to the package.- Parameters:
name- The file namefile- The file- Throws:
MException- On errors
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
MException
-
packFrom
Pack all files in the given directory hierarchy.- Parameters:
inputDirectory- The input directory- Throws:
MException
-