| Modifier and Type | Class and Description |
|---|---|
class |
Mxl.Output.MxlOutputStream
An OutputStream sub-classed in order to intercept closing.
|
| Constructor and Description |
|---|
Output(File file)
Create an
Output object on a provided output file. |
Output(OutputStream out)
Create an
Output object on a provided output stream. |
| Modifier and Type | Method and Description |
|---|---|
ZipEntry |
addEntry(RootFile rootFile)
Insert a new RootFile entry into this file.
|
ZipEntry |
addFirstEntry(RootFile rootFile)
Insert the provided RootFile as the FIRST entry.
|
void |
close()
Write the container and close the underlying output stream.
|
OutputStream |
getOutputStream()
Report the underlying Zip output stream.
|
public Output(OutputStream out)
Output object on a provided output stream.out - the provided output streampublic Output(File file) throws FileNotFoundException
Output object on a provided output file.file - the file to writeFileNotFoundExceptionpublic ZipEntry addEntry(RootFile rootFile) throws Mxl.MxlException
rootFile - the provided RootFileMxl.MxlExceptionpublic ZipEntry addFirstEntry(RootFile rootFile) throws Mxl.MxlException
rootFile - the provided RootFileMxl.MxlExceptionpublic void close()
throws IOException
IOExceptionpublic OutputStream getOutputStream()
Copyright © 2016 Audiveris Ltd. All rights reserved.