public File(
IInputStream stream
) throws FileFormatException
{
reader = new Reader(stream, this);
FileInfo info = reader.readInfo();
version = info.getVersion();
trailer = info.getTrailer();
if(trailer.containsKey(PdfName.Encrypt)) // Encrypted file.