|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ChangeSetReader
Reads change set file in a sequential fashion. Note that class extends Iterable
which means you can iterate over change set files as follows:
ChangeSetReader reader = ...
for (FileEntry entry : reader) {
...
}
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
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 occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||