org.apache.hadoop.fs.crypto
Class CryptoFSDataInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.apache.hadoop.fs.FSDataInputStream
org.apache.hadoop.fs.crypto.CryptoFSDataInputStream
- All Implemented Interfaces:
- Closeable, DataInput, ByteBufferReadable, CanSetDropBehind, CanSetReadahead, org.apache.hadoop.fs.HasEnhancedByteBufferAccess, org.apache.hadoop.fs.HasFileDescriptor, PositionedReadable, Seekable
public class CryptoFSDataInputStream
- extends FSDataInputStream
Methods inherited from class org.apache.hadoop.fs.FSDataInputStream |
getFileDescriptor, getPos, read, read, read, read, readFully, readFully, releaseBuffer, seek, seekToNewSource, setDropBehind, setReadahead |
Methods inherited from class java.io.DataInputStream |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CryptoFSDataInputStream
public CryptoFSDataInputStream(FSDataInputStream in,
org.apache.hadoop.crypto.CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv)
throws IOException
- Throws:
IOException
CryptoFSDataInputStream
public CryptoFSDataInputStream(FSDataInputStream in,
org.apache.hadoop.crypto.CryptoCodec codec,
byte[] key,
byte[] iv)
throws IOException
- Throws:
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.