sun.security.mule.krb5.internal.util
Class KrbDataInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
sun.security.mule.krb5.internal.util.KrbDataInputStream
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- CCacheInputStream, KeyTabInputStream
public class KrbDataInputStream
- extends BufferedInputStream
This class implements a buffered input stream. It provides methods to read a chunck
of data from underlying data stream.
- Author:
- Yanni Zhang
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KrbDataInputStream
public KrbDataInputStream(InputStream is)
setNativeByteOrder
public void setNativeByteOrder()
read
public int read(int num)
throws IOException
- Reads up to the specific number of bytes from this input stream.
- Parameters:
num - the number of bytes to be read.
- Returns:
- the int value of this byte array.
- Throws:
IOException.
IOException
readVersion
public int readVersion()
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.