|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DuDeOutput
DuDeOutput
is an interface for writing DuDeObjectPair
s onto an stream.
Method Summary | |
---|---|
void |
close()
Closes the stream. |
DuDeOutput |
withData()
Enables printing the data. |
DuDeOutput |
withoutData()
Disables printing the data. |
void |
write(DuDeObjectPair pair)
Writes the DuDeObjectPair onto an stream. |
void |
writeDuplicatesOnly(DuDeObjectPair pair)
Writes the passed DuDeObjectPair onto the stream, if it is flagged as a duplicate. |
Method Detail |
---|
void write(DuDeObjectPair pair) throws IOException
DuDeObjectPair
onto an stream.
pair
- A pair of two DuDeObject
s that are written into an OutputStream
.
IOException
- If an error occurs while writing onto the stream.void writeDuplicatesOnly(DuDeObjectPair pair) throws IOException
DuDeObjectPair
onto the stream, if it is flagged as a duplicate.
pair
- The pair that shall be written to the stream.
IOException
- If an error occurs while writing onto the stream.DuDeObjectPair.getDuplicateInfo()
void close() throws IOException
IOException
- If an error occurs while closing the stream.DuDeOutput withData()
DuDeOutput withoutData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |