public interface ChangeSetReader extends Iterable<FileEntry>
Iterable
which means you can iterate over change set files as follows:
ChangeSetReader reader = ...
for (FileEntry entry : reader) {
...
}
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader.
|
Headers |
getHeaders()
Returns the headers from change set file.
|
FileEntry |
read()
Read and return the next file entry or null if the end of the file has been reached.
|
Headers getHeaders() throws ChangeSetReaderException
ChangeSetReaderException - If an error occurs reading the file or the headers
are not formatted correctly.FileEntry read() throws ChangeSetReaderException
ChangeSetReaderException - if an IO error occurs or if the file entry is not
properly formatted.void close()
throws ChangeSetReaderException
ChangeSetReaderException - if an IO error occursCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.