public interface AsicReader extends Closeable
| Modifier and Type | Method and Description |
|---|---|
no.difi.commons.asic.jaxb.asic.AsicManifest |
getAsicManifest() |
String |
getNextFile()
Provides the name of the next entry in the ASiC archive and positions the inputstream at the beginning of the data.
|
InputStream |
inputStream()
Returns InputStream to read the content.
|
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.
|
String getNextFile() throws IOException
IOExceptionvoid writeFile(File file) throws IOException
file - into which the contents should be written.IOExceptionvoid writeFile(Path path) throws IOException
path - into which the contents of current entry should be written.IOExceptionvoid writeFile(OutputStream outputStream) throws IOException
outputStream - into which data from current entry should be written.IOExceptionInputStream inputStream() throws IOException
IOExceptionno.difi.commons.asic.jaxb.asic.AsicManifest getAsicManifest()
Copyright © 2017 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.