public class AsicReader extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the underlying zip input stream.
|
no.difi.xsd.asic.model._1.AsicManifest |
getAsicManifest()
Property getter for the AsicManifest of the ASiC archive.
|
String |
getNextFile()
Provides the name of the next entry in the ASiC archive and positions the inputstream at the beginning of the data.
|
oasis.names.tc.opendocument.xmlns.manifest._1.Manifest |
getOasisManifest()
Property getter for the OpenDocument manifest.
|
void |
writeFile(File file)
Writes the contents of the current entry into a file
|
void |
writeFile(OutputStream outputStream)
Writes contents of current archive entry to the supplied output stream.
|
void |
writeFile(Path path)
Writes contents of current archive entry into a file.
|
public String getNextFile() throws IOException
IOExceptionpublic void writeFile(File file) throws IOException
file - into which the contents should be written.IOExceptionpublic void writeFile(Path path) throws IOException
path - into which the contents of current entry should be written.IOExceptionpublic void writeFile(OutputStream outputStream) throws IOException
outputStream - into which data from current entry should be written.IOExceptionpublic void close()
throws IOException
IOExceptionpublic no.difi.xsd.asic.model._1.AsicManifest getAsicManifest()
public oasis.names.tc.opendocument.xmlns.manifest._1.Manifest getOasisManifest()
Copyright © 2015 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.