Example usage for org.apache.hadoop.crypto CryptoInputStream getWrappedStream

List of usage examples for org.apache.hadoop.crypto CryptoInputStream getWrappedStream

Introduction

In this page you can find the example usage for org.apache.hadoop.crypto CryptoInputStream getWrappedStream.

Prototype

public InputStream getWrappedStream() 

Source Link

Usage

From source file:com.mellanox.r4h.client.HdfsDataInputStream.java

License:Apache License

public HdfsDataInputStream(CryptoInputStream in) throws IOException {
    super(in);//from  www  .j a  v  a2s.  co m
    Preconditions.checkArgument(in.getWrappedStream() instanceof DFSInputStream,
            "CryptoInputStream should wrap a DFSInputStream");
}