List of usage examples for org.apache.hadoop.crypto CryptoInputStream getWrappedStream
public InputStream getWrappedStream()
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"); }