Package org.eclipse.net4j.util.io
Klasse XORInputStream
java.lang.Object
java.io.InputStream
org.eclipse.net4j.util.io.DelegatingInputStream
org.eclipse.net4j.util.io.XORInputStream
- Alle implementierten Schnittstellen:
Closeable
,AutoCloseable
- Autor:
- Eike Stepper
-
Feldübersicht
Von Klasse geerbte Felder org.eclipse.net4j.util.io.DelegatingInputStream
in
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Von Klasse geerbte Methoden org.eclipse.net4j.util.io.DelegatingInputStream
available, close, getDelegate, mark, markSupported, reset, skip
Von Klasse geerbte Methoden java.io.InputStream
nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Konstruktordetails
-
XORInputStream
-
-
Methodendetails
-
getKey
public int[] getKey() -
read
Beschreibung aus Klasse kopiert:DelegatingInputStream
Reads the next byte of data from this input stream. The value byte is returned as anint
in the range0
to255
. If no byte is available because the end of the stream has been reached, the value-1
is returned. This method blocks until input data is available, the end of the stream is detected, or an exception is thrown.This method simply performs
in.read()
and returns the result.- Setzt außer Kraft:
read
in KlasseDelegatingInputStream
- Gibt zurück:
- the next byte of data, or
-1
if the end of the stream is reached. - Löst aus:
IOException
- if an I/O error occurs.- Siehe auch:
-