Package org.eclipse.net4j.util.io
Class XOROutputStream
- java.lang.Object
- 
- java.io.OutputStream
- 
- org.eclipse.net4j.util.io.DelegatingOutputStream
- 
- org.eclipse.net4j.util.io.XOROutputStream
 
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.io.Flushable,- java.lang.AutoCloseable
 
 public class XOROutputStream extends DelegatingOutputStream - Author:
- Eike Stepper
 
- 
- 
Field Summary- 
Fields inherited from class org.eclipse.net4j.util.io.DelegatingOutputStreamout
 
- 
 - 
Constructor SummaryConstructors Constructor Description XOROutputStream(java.io.OutputStream out, int... key)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]getKey()voidwrite(int b)Writes the specifiedbyteto this output stream.- 
Methods inherited from class org.eclipse.net4j.util.io.DelegatingOutputStreamclose, flush, getDelegate
 
- 
 
- 
- 
- 
Method Detail- 
getKeypublic int[] getKey() 
 - 
writepublic void write(int b) throws java.io.IOExceptionDescription copied from class:DelegatingOutputStreamWrites the specifiedbyteto this output stream.The writemethod ofDelegatingOutputStreamcalls thewritemethod of its underlying output stream, that is, it performs out.write(b).Implements the abstract write method of OutputStream. - Overrides:
- writein class- DelegatingOutputStream
- Parameters:
- b- the- byte.
- Throws:
- java.io.IOException- if an I/O error occurs.
 
 
- 
 
-