Info Call to External Storage API

Description

List of all external storage API calls. Insecure storage of sensitive information by setting insecure permissions or storing data without encryption might expose this information to an attacker.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method org.spongycastle.jce.examples.PKCS12Example.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p30)
    {
        java.security.Security.addProvider(new org.spongycastle.jce.provider.BouncyCastleProvider());
        java.security.spec.RSAPublicKeySpec v26 = new java.security.spec.RSAPublicKeySpec;
        v26(new java.math.BigInteger("b4a7e46170574f16a97082b22be58b6a2a629798419be12872a4bdba626cfae9900f76abfb12139dce5de56564fab2b6543165a040c606887420e33d91ed7ed7", 16), new java.math.BigInteger("11", 16));
        java.security.spec.RSAPrivateCrtKeySpec v3_1 = new java.security.spec.RSAPrivateCrtKeySpec(new java.math.BigInteger("b4a7e46170574f16a97082b22be58b6a2a629798419be12872a4bdba626cfae9900f76abfb12139dce5de56564fab2b6543165a040c606887420e33d91ed7ed7", 16), new java.math.BigInteger("11", 16), new java.math.BigInteger("9f66f6b05410cd503b2709e88115d55daced94d1a34d4e32bf824d0dde6028ae79c5f07b580f5dce240d7111f7ddb130a7945cd7d957d1920994da389f490c89", 16), new java.math.BigInteger("c0a0758cdf14256f78d4708c86becdead1b50ad4ad6c5c703e2168fbf37884cb", 16), new java.math.BigInteger("f01734d7960ea60070f1b06f2bb81bfac48ff192ae18451d5e56c734a5aab8a5", 16), new java.math.BigInteger("b54bb9edff22051d9ee60f9351a48591b6500a319429c069a3e335a1d6171391", 16), new java.math.BigInteger("d3d83daf2a0cecd3367ae6f8ae1aeb82e9ac2f816c6fc483533d8297dd7884cd", 16), new java.math.BigInteger("b8f52fc6f38593dabb661d3f50f8897f8106eee68b1bce78a95b132b4e5b5d19", 16));
        java.security.spec.RSAPublicKeySpec v23 = new java.security.spec.RSAPublicKeySpec;
        v23(new java.math.BigInteger("8de0d113c5e736969c8d2b047a243f8fe18edad64cde9e842d3669230ca486f7cfdde1f8eec54d1905fff04acc85e61093e180cadc6cea407f193d44bb0e9449b8dbb49784cd9e36260c39e06a947299978c6ed8300724e887198cfede20f3fbde658fa2bd078be946a392bd349f2b49c486e20c405588e306706c9017308e69", 16), new java.math.BigInteger("ffff", 16));
        java.security.spec.RSAPrivateCrtKeySpec v4_3 = new java.security.spec.RSAPrivateCrtKeySpec(new java.math.BigInteger("8de0d113c5e736969c8d2b047a243f8fe18edad64cde9e842d3669230ca486f7cfdde1f8eec54d1905fff04acc85e61093e180cadc6cea407f193d44bb0e9449b8dbb49784cd9e36260c39e06a947299978c6ed8300724e887198cfede20f3fbde658fa2bd078be946a392bd349f2b49c486e20c405588e306706c9017308e69", 16), new java.math.BigInteger("ffff", 16), new java.math.BigInteger("7deb1b194a85bcfd29cf871411468adbc987650903e3bacc8338c449ca7b32efd39ffc33bc84412fcd7df18d23ce9d7c25ea910b1ae9985373e0273b4dca7f2e0db3b7314056ac67fd277f8f89cf2fd73c34c6ca69f9ba477143d2b0e2445548aa0b4a8473095182631da46844c356f5e5c7522eb54b5a33f11d730ead9c0cff", 16), new java.math.BigInteger("ef4cede573cea47f83699b814de4302edb60eefe426c52e17bd7870ec7c6b7a24fe55282ebb73775f369157726fcfb988def2b40350bdca9e5b418340288f649", 16), new java.math.BigInteger("97c7737d1b9a0088c3c7b528539247fd2a1593e7e01cef18848755be82f4a45aa093276cb0cbf118cb41117540a78f3fc471ba5d69f0042274defc9161265721", 16), new java.math.BigInteger("6c641094e24d172728b8da3c2777e69adfd0839085be7e38c7c4a2dd00b1ae969f2ec9d23e7e37090fcd449a40af0ed463fe1c612d6810d6b4f58b7bfa31eb5f", 16), new java.math.BigInteger("70b7123e8e69dfa76feb1236d0a686144b00e9232ed52b73847e74ef3af71fb45ccb24261f40d27f98101e230cf27b977a5d5f1f15f6cf48d5cb1da2a3a3b87f", 16), new java.math.BigInteger("e38f5750d97e270996a286df2e653fd26c242106436f5bab0f4c7a9e654ce02665d5a281f2c412456f2d1fa26586ef04a9adac9004ca7f913162cb28e13bf40d", 16));
        java.security.spec.RSAPublicKeySpec v17 = new java.security.spec.RSAPublicKeySpec;
        v17(new java.math.BigInteger("b259d2d6e627a768c94be36164c2d9fc79d97aab9253140e5bf17751197731d6f7540d2509e7b9ffee0a70a6e26d56e92d2edd7f85aba85600b69089f35f6bdbf3c298e05842535d9f064e6b0391cb7d306e0a2d20c4dfb4e7b49a9640bdea26c10ad69c3f05007ce2513cee44cfe01998e62b6c3637d3fc0391079b26ee36d5", 16), new java.math.BigInteger("11", 16));
        java.security.spec.RSAPrivateCrtKeySpec v5_1 = new java.security.spec.RSAPrivateCrtKeySpec(new java.math.BigInteger("b259d2d6e627a768c94be36164c2d9fc79d97aab9253140e5bf17751197731d6f7540d2509e7b9ffee0a70a6e26d56e92d2edd7f85aba85600b69089f35f6bdbf3c298e05842535d9f064e6b0391cb7d306e0a2d20c4dfb4e7b49a9640bdea26c10ad69c3f05007ce2513cee44cfe01998e62b6c3637d3fc0391079b26ee36d5", 16), new java.math.BigInteger("11", 16), new java.math.BigInteger("92e08f83cc9920746989ca5034dcb384a094fb9c5a6288fcc4304424ab8f56388f72652d8fafc65a4b9020896f2cde297080f2a540e7b7ce5af0b3446e1258d1dd7f245cf54124b4c6e17da21b90a0ebd22605e6f45c9f136d7a13eaac1c0f7487de8bd6d924972408ebb58af71e76fd7b012a8d0e165f3ae2e5077a8648e619", 16), new java.math.BigInteger("f75e80839b9b9379f1cf1128f321639757dba514642c206bbbd99f9a4846208b3e93fbbe5e0527cc59b1d4b929d9555853004c7c8b30ee6a213c3d1bb7415d03", 16), new java.math.BigInteger("b892d9ebdbfc37e397256dd8a5d3123534d1f03726284743ddc6be3a709edb696fc40c7d902ed804c6eee730eee3d5b20bf6bd8d87a296813c87d3b3cc9d7947", 16), new java.math.BigInteger("1d1a2d3ca8e52068b3094d501c9a842fec37f54db16e9a67070a8b3f53cc03d4257ad252a1a640eadd603724d7bf3737914b544ae332eedf4f34436cac25ceb5", 16), new java.math.BigInteger("6c929e4e81672fef49d9c825163fec97c4b7ba7acb26c0824638ac22605d7201c94625770984f78a56e6e25904fe7db407099cad9b14588841b94f5ab498dded", 16), new java.math.BigInteger("dae7651ee69ad1d081ec5e7188ae126f6004ff39556bde90e0b870962fa7b926d070686d8244fe5a9aa709a95686a104614834b0ada4b10f53197a5cb4c97339", 16));
        java.security.KeyFactory v20 = java.security.KeyFactory.getInstance("RSA", "SC");
        java.security.PrivateKey v15 = v20.generatePrivate(v5_1);
        java.security.PublicKey v16 = v20.generatePublic(v17);
        java.security.PrivateKey v21 = v20.generatePrivate(v4_3);
        java.security.PublicKey v22 = v20.generatePublic(v23);
        java.security.PrivateKey v24 = v20.generatePrivate(v3_1);
        java.security.PublicKey v25 = v20.generatePublic(v26);
        java.security.KeyStore v0_10 = new java.security.cert.Certificate[3];
        java.security.cert.Certificate[] v18 = v0_10;
        v18[2] = org.spongycastle.jce.examples.PKCS12Example.createMasterCert(v16, v15);
        v18[1] = org.spongycastle.jce.examples.PKCS12Example.createIntermediateCert(v22, v15, ((java.security.cert.X509Certificate) v18[2]));
        v18[0] = org.spongycastle.jce.examples.PKCS12Example.createCert(v25, v21, v22);
        org.spongycastle.jce.interfaces.PKCS12BagAttributeCarrier v14_1 = ((org.spongycastle.jce.interfaces.PKCS12BagAttributeCarrier) v24);
        v14_1.setBagAttribute(org.spongycastle.asn1.pkcs.PKCSObjectIdentifiers.pkcs_9_at_friendlyName, new org.spongycastle.asn1.DERBMPString("Eric\'s Key"));
        v14_1.setBagAttribute(org.spongycastle.asn1.pkcs.PKCSObjectIdentifiers.pkcs_9_at_localKeyId, new org.spongycastle.x509.extension.SubjectKeyIdentifierStructure(v25));
        java.security.KeyStore v27 = java.security.KeyStore.getInstance("PKCS12", "SC");
        v27.load(0, 0);
        v27.setKeyEntry("Eric\'s Key", v24, 0, v18);
        java.io.FileOutputStream v19 = new java.io.FileOutputStream;
        v19("id.p12");
        v27.store(v19, org.spongycastle.jce.examples.PKCS12Example.passwd);
        v19.close();
        return;
    }

Method org.spongycastle.crypto.examples.DESExample.<init>() calling method java.io.FileOutputStream.<init>()


    public DESExample(String p16, String p17, String p18, boolean p19)
    {
        this.encrypt = 1;
        this.cipher = 0;
        this.in = 0;
        this.out = 0;
        this.key = 0;
        this.encrypt = p19;
        try {
            this.in = new java.io.BufferedInputStream(new java.io.FileInputStream(p16));
            try {
                this.out = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p17));
            } catch (java.io.IOException v2) {
                System.err.println(new StringBuilder().append("Output file not created [").append(p17).append("]").toString());
                System.exit(1);
            }
            if (!p19) {
                try {
                    java.io.BufferedOutputStream v5_3 = new java.io.BufferedInputStream(new java.io.FileInputStream(p18));
                    int v8 = v5_3.available();
                    byte[] v4_1 = new byte[v8];
                    v5_3.read(v4_1, 0, v8);
                    this.key = org.spongycastle.util.encoders.Hex.decode(v4_1);
                } catch (java.io.IOException v3) {
                    System.err.println(new StringBuilder().append("Decryption key file not found, or not valid [").append(p18).append("]").toString());
                    System.exit(1);
                }
            } else {
                java.security.SecureRandom v10 = 0;
                try {
                    java.security.SecureRandom v11_1 = new java.security.SecureRandom();
                    try {
                        v11_1.setSeed("www.spongycastle.org".getBytes());
                        v10 = v11_1;
                    } catch (Exception v9) {
                        v10 = v11_1;
                        System.err.println("Hmmm, no SHA1PRNG, you need the Sun implementation");
                        System.exit(1);
                    } catch (java.io.IOException v1) {
                        System.err.println(new StringBuilder().append("Could not decryption create key file [").append(p18).append("]").toString());
                        System.exit(1);
                    }
                    org.spongycastle.crypto.KeyGenerationParameters v7_1 = new org.spongycastle.crypto.KeyGenerationParameters(v10, 192);
                    org.spongycastle.crypto.generators.DESedeKeyGenerator v6_1 = new org.spongycastle.crypto.generators.DESedeKeyGenerator();
                    v6_1.init(v7_1);
                    this.key = v6_1.generateKey();
                    java.io.BufferedOutputStream v5_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p18));
                    byte[] v4_0 = org.spongycastle.util.encoders.Hex.encode(this.key);
                    v5_1.write(v4_0, 0, v4_0.length);
                    v5_1.flush();
                    v5_1.close();
                } catch (Exception v9) {
                } catch (java.io.IOException v1) {
                }
            }
            return;
        } catch (java.io.IOException v2) {
            System.err.println(new StringBuilder().append("Input file not found [").append(p16).append("]").toString());
            System.exit(1);
        }
    }

Method org.simpleframework.xml.core.Persister.write() calling method java.io.FileOutputStream.<init>()


    public void write(Object p3, java.io.File p4)
    {
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p4);
        try {
            this.write(p3, v0_1);
            v0_1.close();
            return;
        } catch (Throwable v1) {
            v0_1.close();
            throw v1;
        }
    }

Method org.apache.xmlbeans.impl.util.FilerImpl.createBinaryFile() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream createBinaryFile(String p5)
    {
        if (this.verbose) {
            System.err.println(new StringBuffer().append("created binary: ").append(p5).toString());
        }
        java.io.File v0_1 = new java.io.File(this.classdir, p5);
        v0_1.getParentFile().mkdirs();
        return new java.io.FileOutputStream(v0_1);
    }

Method org.apache.xmlbeans.impl.util.FilerImpl.writerForFile() calling method java.io.FileOutputStream.<init>()


    private static final java.io.Writer writerForFile(java.io.File p3)
    {
        java.io.OutputStreamWriter v2_1;
        if (org.apache.xmlbeans.impl.util.FilerImpl.CHARSET != null) {
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p3);
            java.nio.charset.CharsetEncoder v0 = org.apache.xmlbeans.impl.util.FilerImpl.CHARSET.newEncoder();
            v0.onUnmappableCharacter(java.nio.charset.CodingErrorAction.REPORT);
            v2_1 = new java.io.OutputStreamWriter(v1_1, v0);
        } else {
            v2_1 = new java.io.FileWriter(p3);
        }
        return v2_1;
    }

Method org.apache.xmlbeans.impl.tool.SchemaResourceManager.writeInputStreamToFile() calling method java.io.FileOutputStream.<init>()


    protected void writeInputStreamToFile(java.io.InputStream p5, String p6)
    {
        java.io.File v2_1 = new java.io.File(this._directory, p6);
        java.io.File v1 = v2_1.getParentFile();
        if (!v1.exists()) {
            v1.mkdirs();
        }
        org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(p5, new java.io.FileOutputStream(v2_1));
        return;
    }

Method org.apache.xmlbeans.impl.store.Cursor._save() calling method java.io.FileOutputStream.<init>()


    public void _save(java.io.File p4, org.apache.xmlbeans.XmlOptions p5)
    {
        if (p4 != null) {
            java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p4);
            try {
                this._save(v0_1, p5);
                v0_1.close();
                return;
            } catch (Throwable v1_1) {
                v0_1.close();
                throw v1_1;
            }
        } else {
            throw new IllegalArgumentException("Null file specified");
        }
    }

Method org.apache.xmlbeans.impl.schema.StscImporter$DownloadTable.copySchemaSource() calling method java.io.FileOutputStream.<init>()


    private static void copySchemaSource(String p11, org.apache.xmlbeans.impl.schema.StscState p12, boolean p13)
    {
        try {
            if (p12.getSchemasDir() != null) {
                java.io.File v6_1 = new java.io.File(p12.getSchemasDir(), p12.sourceNameForUri(p11));
                if ((p13) || (!v6_1.exists())) {
                    org.apache.xmlbeans.impl.common.IOUtil.createDir(new java.io.File(v6_1.getParent()), 0);
                    java.io.InputStream v2 = new java.net.URL(p11).openStream();
                    if (v2 != null) {
                        org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v2, new java.io.FileOutputStream(v6_1));
                    }
                }
            }
        } catch (java.io.IOException v0) {
            System.err.println(new StringBuffer().append("IO Error ").append(v0).toString());
        }
        return;
    }

Method org.apache.xmlbeans.impl.schema.StscImporter$DownloadTable.copySchemaSource() calling method java.io.FileOutputStream.<init>()


    private static java.io.Reader copySchemaSource(String p10, java.io.Reader p11, org.apache.xmlbeans.impl.schema.StscState p12)
    {
        if (p12.getSchemasDir() != null) {
            java.io.File v5_1 = new java.io.File(p12.getSchemasDir(), p12.sourceNameForUri(p10));
            if (!v5_1.exists()) {
                try {
                    org.apache.xmlbeans.impl.common.IOUtil.createDir(new java.io.File(v5_1.getParent()), 0);
                    java.io.CharArrayReader v0 = org.apache.xmlbeans.impl.schema.StscImporter$DownloadTable.copy(p11);
                    org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v0, new java.io.OutputStreamWriter(new java.io.FileOutputStream(v5_1), new org.apache.xmlbeans.impl.common.XmlEncodingSniffer(v0, 0).getXmlEncoding()));
                    v0.reset();
                    p11 = v0;
                } catch (java.io.IOException v1) {
                    System.err.println(new StringBuffer().append("IO Error ").append(v1).toString());
                }
            }
        }
        return p11;
    }

Method org.apache.xmlbeans.impl.schema.StscImporter$DownloadTable.copySchemaSource() calling method java.io.FileOutputStream.<init>()


    private static java.io.InputStream copySchemaSource(String p9, java.io.InputStream p10, org.apache.xmlbeans.impl.schema.StscState p11)
    {
        if (p11.getSchemasDir() != null) {
            java.io.File v5_1 = new java.io.File(p11.getSchemasDir(), p11.sourceNameForUri(p9));
            if (!v5_1.exists()) {
                try {
                    org.apache.xmlbeans.impl.common.IOUtil.createDir(new java.io.File(v5_1.getParent()), 0);
                    java.io.ByteArrayInputStream v0 = org.apache.xmlbeans.impl.schema.StscImporter$DownloadTable.copy(p10);
                    org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v0, new java.io.FileOutputStream(v5_1));
                    v0.reset();
                    p10 = v0;
                } catch (java.io.IOException v1) {
                    System.err.println(new StringBuffer().append("IO Error ").append(v1).toString());
                }
            }
        }
        return p10;
    }

Method org.apache.xmlbeans.impl.common.XBeanDebug.log() calling method java.io.FileOutputStream.<init>()


    private static declared_synchronized String log(String p6, Throwable p7)
    {
        try {
            if (org.apache.xmlbeans.impl.common.XBeanDebug._err == null) {
                try {
                    java.io.File v0 = java.io.File.createTempFile("xmlbeandebug", ".log");
                    org.apache.xmlbeans.impl.common.XBeanDebug._err = new java.io.PrintStream(new java.io.FileOutputStream(v0));
                    System.err.println(new StringBuffer().append("Diagnostic XML Bean debug log file created: ").append(v0).toString());
                } catch (java.io.IOException v1) {
                    org.apache.xmlbeans.impl.common.XBeanDebug._err = System.err;
                }
            }
        } catch (java.io.PrintStream v2_7) {
            throw v2_7;
        }
        org.apache.xmlbeans.impl.common.XBeanDebug._err.println(p6);
        if (p7 != null) {
            p7.printStackTrace(org.apache.xmlbeans.impl.common.XBeanDebug._err);
        }
        return p6;
    }

Method org.apache.xmlbeans.impl.common.JarHelper.unjar() calling method java.io.FileOutputStream.<init>()


    public void unjar(java.io.InputStream p13, java.io.File p14)
    {
        java.util.jar.JarInputStream v7_1 = new java.util.jar.JarInputStream(p13);
        do {
            java.util.jar.JarEntry v5 = v7_1.getNextJarEntry();
            if (v5 == null) {
                v7_1.close();
                return;
            } else {
                if (!v5.isDirectory()) {
                    byte[] v1 = new byte[2156];
                    java.io.File v3_1 = new java.io.File(p14, v5.getName());
                    if (this.mVerbose) {
                        System.out.println(new StringBuffer().append("unjarring ").append(v3_1).append(" from ").append(v5.getName()).toString());
                    }
                    java.io.BufferedOutputStream v2_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_1), 2156);
                    while(true) {
                        int v0 = v7_1.read(v1, 0, 2156);
                        if (v0 == -1) {
                            break;
                        }
                        v2_1.write(v1, 0, v0);
                    }
                    v2_1.flush();
                    v2_1.close();
                } else {
                    java.io.File v4_1 = new java.io.File(p14, v5.getName());
                    v4_1.mkdir();
                    if (v5.getTime() == -1) {
                    } else {
                        v4_1.setLastModified(v5.getTime());
                    }
                }
            }
        } while(v5.getTime() == -1);
        v3_1.setLastModified(v5.getTime());
    }

Method org.apache.xmlbeans.impl.common.JarHelper.jarDir() calling method java.io.FileOutputStream.<init>()


    public void jarDir(java.io.File p5, java.io.File p6)
    {
        if ((p5 != null) && (p6 != null)) {
            this.mDestJarName = p6.getCanonicalPath();
            java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p6);
            java.util.jar.JarOutputStream v2_1 = new java.util.jar.JarOutputStream(v0_1);
            try {
                this.jarDir(p5, v2_1, 0);
                v2_1.close();
                v0_1.close();
                return;
            } catch (Throwable v3_0) {
                v2_1.close();
                v0_1.close();
                throw v3_0;
            } catch (java.io.IOException v1) {
                throw v1;
            }
        } else {
            throw new IllegalArgumentException();
        }
    }

Method org.apache.xmlbeans.impl.common.IOUtil.copyCompletely() calling method java.io.FileOutputStream.<init>()


    public static void copyCompletely(java.net.URI p9, java.net.URI p10)
    {
        java.io.InputStream v3 = 0;
        try {
            java.io.File v2_1 = new java.io.File(p9);
        } catch (java.io.FileOutputStream v6) {
            java.io.File v5_1 = new java.io.File(p10);
            v5_1.getParentFile().mkdirs();
            if (v3 == null) {
                v3 = p9.toURL().openStream();
            }
            org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v3, new java.io.FileOutputStream(v5_1));
            return;
        } catch (IllegalArgumentException v1) {
            throw new java.io.IOException(new StringBuffer().append("Cannot copy to ").append(p10).toString());
        }
        if (!v2_1.exists()) {
        } else {
            v3 = new java.io.FileInputStream(v2_1);
        }
    }

Method org.apache.xml.security.utils.JavaUtils.writeBytesToFilename() calling method java.io.FileOutputStream.<init>()


    public static void writeBytesToFilename(String p2, byte[] p3)
    {
        try {
            if ((p2 == null) || (p3 == null)) {
                org.apache.xml.security.utils.JavaUtils.log.debug("writeBytesToFilename got null byte[] pointed");
            } else {
                java.io.FileOutputStream v1_2 = new java.io.FileOutputStream(new java.io.File(p2));
                v1_2.write(p3);
                v1_2.close();
            }
        } catch (Exception v0) {
        }
        return;
    }

Method org.apache.poi.xssf.streaming.SXSSFWorkbook.write() calling method java.io.FileOutputStream.<init>()


    public void write(java.io.OutputStream p7)
    {
        java.util.Iterator v0 = this._xFromSxHash.values().iterator();
        while (v0.hasNext()) {
            ((org.apache.poi.xssf.streaming.SXSSFSheet) v0.next()).flushRows();
        }
        java.io.File v3 = java.io.File.createTempFile("poi-sxssf-template", ".xlsx");
        try {
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(v3);
            try {
                this._wb.write(v1_1);
            } catch (Throwable v4_2) {
                v1_1.close();
                throw v4_2;
            }
            v1_1.close();
            this.injectData(v3, p7);
            v3.delete();
            return;
        } catch (Throwable v4_4) {
            v3.delete();
            throw v4_4;
        }
    }

Method org.apache.poi.xssf.streaming.GZIPSheetDataWriter.createWriter() calling method java.io.FileOutputStream.<init>()


    public java.io.Writer createWriter(java.io.File p4)
    {
        return new java.io.OutputStreamWriter(new java.util.zip.GZIPOutputStream(new java.io.FileOutputStream(p4)));
    }

Method org.apache.poi.xssf.dev.XSSFSave.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p9)
    {
        int v0 = 0;
        while (v0 < p9.length) {
            StringBuilder v6_5;
            org.apache.poi.openxml4j.opc.OPCPackage v3 = org.apache.poi.openxml4j.opc.OPCPackage.open(p9[v0]);
            org.apache.poi.xssf.usermodel.XSSFWorkbook v5_1 = new org.apache.poi.xssf.usermodel.XSSFWorkbook(v3);
            StringBuilder v7_4 = new StringBuilder().append(p9[v0].substring(0, p9[v0].lastIndexOf(46))).append("-save.xls");
            if (!v5_1.isMacroEnabled()) {
                v6_5 = "x";
            } else {
                v6_5 = "m";
            }
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(v7_4.append(v6_5).toString());
            v5_1.write(v1_1);
            v1_1.close();
            v3.close();
            v0++;
        }
        return;
    }

Method org.apache.poi.xssf.dev.XSSFDump.dump() calling method java.io.FileOutputStream.<init>()


    public static void dump(java.util.zip.ZipFile p17)
    {
        String v13 = p17.getName();
        java.io.File v10_1 = new java.io.File(v13.substring(0, v13.lastIndexOf(46)));
        v10_1.mkdir();
        java.util.Enumeration v3 = p17.entries();
        while (v3.hasMoreElements()) {
            java.util.zip.ZipEntry v4_1 = ((java.util.zip.ZipEntry) v3.nextElement());
            String v7 = v4_1.getName();
            int v6 = v7.lastIndexOf(47);
            if (v6 != -1) {
                new java.io.File(v10_1, v7.substring(0, v6)).mkdirs();
            }
            java.io.FileOutputStream v9_1 = new java.io.FileOutputStream(new java.io.File(v10_1, v4_1.getName()));
            if ((!v4_1.getName().endsWith(".xml")) && ((!v4_1.getName().endsWith(".vml")) && (!v4_1.getName().endsWith(".rels")))) {
                org.apache.poi.xssf.dev.XSSFDump.dump(p17.getInputStream(v4_1), v9_1);
            } else {
                try {
                    org.apache.xmlbeans.XmlObject v12 = org.apache.xmlbeans.XmlObject$Factory.parse(p17.getInputStream(v4_1));
                    org.apache.xmlbeans.XmlOptions v8_1 = new org.apache.xmlbeans.XmlOptions();
                    v8_1.setSavePrettyPrint();
                    v12.save(v9_1, v8_1);
                } catch (Exception v2) {
                    System.err.println(new StringBuilder().append("Failed to parse ").append(v4_1.getName()).append(", dumping raw content").toString());
                    org.apache.poi.xssf.dev.XSSFDump.dump(p17.getInputStream(v4_1), v9_1);
                }
            }
            v9_1.close();
        }
        return;
    }

Method org.apache.poi.openxml4j.opc.internal.FileHelper.copyFile() calling method java.io.FileOutputStream.<init>()


    public static void copyFile(java.io.File p7, java.io.File p8)
    {
        java.nio.channels.FileChannel v1 = new java.io.FileInputStream(p7).getChannel();
        java.nio.channels.FileChannel v6 = new java.io.FileOutputStream(p8).getChannel();
        v1.transferTo(0, v1.size(), v6);
        v1.close();
        v6.close();
        return;
    }

Method org.apache.poi.openxml4j.opc.OPCPackage.save() calling method java.io.FileOutputStream.<init>()


    public void save(java.io.File p5)
    {
        if (p5 != null) {
            this.throwExceptionIfReadOnly();
            if ((!p5.exists()) || (!p5.getAbsolutePath().equals(this.originalPackagePath))) {
                try {
                    java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p5);
                    this.save(v1_1);
                    v1_1.close();
                    return;
                } catch (java.io.FileNotFoundException v0) {
                    throw new java.io.IOException(v0.getLocalizedMessage());
                }
            } else {
                throw new org.apache.poi.openxml4j.exceptions.InvalidOperationException("You can\'t call save(File) to save to the currently open file. To save to the current file, please just call close()");
            }
        } else {
            throw new IllegalArgumentException("targetFile");
        }
    }

Method org.apache.poi.hssf.dev.ReSave.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p14)
    {
        int v4 = 0;
        int v6 = p14.length;
        int v3 = 0;
        while (v3 < v6) {
            String v0 = p14[v3];
            if (!v0.equals("-dg")) {
                System.out.print(new StringBuilder().append("reading ").append(v0).append("...").toString());
                java.io.FileInputStream v5_1 = new java.io.FileInputStream(v0);
                org.apache.poi.hssf.usermodel.HSSFWorkbook v10_1 = new org.apache.poi.hssf.usermodel.HSSFWorkbook(v5_1);
                v5_1.close();
                System.out.println("done");
                int v2 = 0;
                while (v2 < v10_1.getNumberOfSheets()) {
                    org.apache.poi.hssf.usermodel.HSSFSheet v9 = v10_1.getSheetAt(v2);
                    if (v4 != 0) {
                        v9.getDrawingPatriarch();
                    }
                    v2++;
                }
                String v8 = v0.replace(".xls", "-saved.xls");
                System.out.print(new StringBuilder().append("saving to ").append(v8).append("...").toString());
                java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v8);
                v10_1.write(v7_1);
                v7_1.close();
                System.out.println("done");
            } else {
                v4 = 1;
            }
            v3++;
        }
        return;
    }

Method org.apache.poi.hssf.dev.BiffViewer.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p14)
    {
        try {
            org.apache.poi.hssf.dev.BiffViewer$CommandArgs v6 = org.apache.poi.hssf.dev.BiffViewer$CommandArgs.parse(p14);
            try {
                java.io.PrintStream v0_1;
                if (!v6.shouldOutputToFile()) {
                    v0_1 = System.out;
                } else {
                    v0_1 = new java.io.PrintStream(new java.io.FileOutputStream(new StringBuilder().append(v6.getFile().getAbsolutePath()).append(".out").toString()));
                }
            } catch (Exception v8_1) {
                v8_1.printStackTrace();
                return;
            }
            java.io.InputStream v1 = org.apache.poi.hssf.dev.BiffViewer.getPOIFSInputStream(v6.getFile());
            if (!v6.shouldOutputRawHexOnly()) {
                boolean v2 = v6.shouldDumpRecordInterpretations();
                org.apache.poi.hssf.dev.BiffViewer.runBiffViewer(v0_1, v1, v2, v6.shouldDumpBiffHex(), v2, v6.suppressHeader());
            } else {
                byte[] v7 = new byte[v1.available()];
                v1.read(v7);
                org.apache.poi.util.HexDump.dump(v7, 0, System.out, 0);
            }
            v0_1.close();
            return;
        } catch (Exception v8_0) {
            v8_0.printStackTrace();
            return;
        }
    }

Method org.apache.poi.hssf.dev.BiffDrawingToXml.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p6)
    {
        if (p6.length != 0) {
            String v1 = org.apache.poi.hssf.dev.BiffDrawingToXml.getInputFileName(p6);
            java.io.FileInputStream v0_1 = new java.io.FileInputStream(v1);
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(org.apache.poi.hssf.dev.BiffDrawingToXml.getOutputFileName(v1));
            org.apache.poi.hssf.dev.BiffDrawingToXml.writeToFile(v3_1, v0_1, org.apache.poi.hssf.dev.BiffDrawingToXml.isExcludeWorkbookRecords(p6), p6);
            v0_1.close();
            v3_1.close();
        } else {
            System.out.println("Usage: BiffDrawingToXml [options] inputWorkbook");
            System.out.println("Options:");
            System.out.println("  -exclude-workbook            exclude workbook-level records");
            System.out.println("  -sheet-indexes   <indexes>   output sheets with specified indexes");
            System.out.println("  -sheet-namek  <names>        output sheets with specified name");
        }
        return;
    }

Method org.apache.commons.io.output.LockableFileWriter.initWriter() calling method java.io.FileOutputStream.<init>()


    private java.io.Writer initWriter(java.io.File p8, String p9, boolean p10)
    {
        java.io.OutputStreamWriter v4;
        boolean v1 = p8.exists();
        java.io.FileOutputStream v2 = 0;
        v4 = 0;
        try {
            if (p9 != null) {
                java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(p8.getAbsolutePath(), p10);
                try {
                    v4 = new java.io.OutputStreamWriter(v3_1, p9);
                    v2 = v3_1;
                } catch (RuntimeException v0_1) {
                    v2 = v3_1;
                } catch (RuntimeException v0_0) {
                    v2 = v3_1;
                    org.apache.commons.io.IOUtils.closeQuietly(v4);
                    org.apache.commons.io.IOUtils.closeQuietly(v2);
                    this.lockFile.delete();
                    if (!v1) {
                        p8.delete();
                    }
                    throw v0_0;
                }
                return v4;
            } else {
                v4 = new java.io.FileWriter(p8.getAbsolutePath(), p10);
                return v4;
            }
        } catch (RuntimeException v0_1) {
        } catch (RuntimeException v0_0) {
        }
        org.apache.commons.io.IOUtils.closeQuietly(v4);
        org.apache.commons.io.IOUtils.closeQuietly(v2);
        this.lockFile.delete();
        if (!v1) {
            p8.delete();
        }
        throw v0_1;
    }

Method org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached() calling method java.io.FileOutputStream.<init>()


    protected void thresholdReached()
    {
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(this.outputFile);
        this.memoryOutputStream.writeTo(v0_1);
        this.currentOutputStream = v0_1;
        this.memoryOutputStream = 0;
        return;
    }

Method org.apache.commons.io.FileUtils.openOutputStream() calling method java.io.FileOutputStream.<init>()


    public static java.io.FileOutputStream openOutputStream(java.io.File p4)
    {
        if (!p4.exists()) {
            java.io.File v0 = p4.getParentFile();
            if ((v0 != null) && ((!v0.exists()) && (!v0.mkdirs()))) {
                throw new java.io.IOException(new StringBuffer().append("File \'").append(p4).append("\' could not be created").toString());
            }
        } else {
            if (!p4.isDirectory()) {
                if (!p4.canWrite()) {
                    throw new java.io.IOException(new StringBuffer().append("File \'").append(p4).append("\' cannot be written to").toString());
                }
            } else {
                throw new java.io.IOException(new StringBuffer().append("File \'").append(p4).append("\' exists but is a directory").toString());
            }
        }
        return new java.io.FileOutputStream(p4);
    }

Method org.apache.commons.io.FileUtils.doCopyFile() calling method java.io.FileOutputStream.<init>()


    private static void doCopyFile(java.io.File p6, java.io.File p7, boolean p8)
    {
        if ((!p7.exists()) || (!p7.isDirectory())) {
            java.io.FileInputStream v0_1 = new java.io.FileInputStream(p6);
            try {
                java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p7);
                try {
                    org.apache.commons.io.IOUtils.copy(v0_1, v1_1);
                } catch (long v2_1) {
                    org.apache.commons.io.IOUtils.closeQuietly(v1_1);
                    throw v2_1;
                }
                org.apache.commons.io.IOUtils.closeQuietly(v1_1);
                org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                if (p6.length() == p7.length()) {
                    if (p8) {
                        p7.setLastModified(p6.lastModified());
                    }
                    return;
                } else {
                    throw new java.io.IOException(new StringBuffer().append("Failed to copy full contents from \'").append(p6).append("\' to \'").append(p7).append("\'").toString());
                }
            } catch (long v2_4) {
                org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                throw v2_4;
            }
        } else {
            throw new java.io.IOException(new StringBuffer().append("Destination \'").append(p7).append("\' exists but is a directory").toString());
        }
    }

Method okio.Okio.sink() calling method java.io.FileOutputStream.<init>()


    public static okio.Sink sink(java.io.File p2)
    {
        if (p2 != null) {
            return okio.Okio.sink(new java.io.FileOutputStream(p2));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

Method okio.Okio.appendingSink() calling method java.io.FileOutputStream.<init>()


    public static okio.Sink appendingSink(java.io.File p2)
    {
        if (p2 != null) {
            return okio.Okio.sink(new java.io.FileOutputStream(p2, 1));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

Method jxl.write.biff.WritableWorkbookImpl.setOutputFile() calling method java.io.FileOutputStream.<init>()


    public void setOutputFile(java.io.File p3)
    {
        this.outputFile.setOutputFile(new java.io.FileOutputStream(p3));
        return;
    }

Method jxl.demo.Demo.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p29)
    {
        if (p29.length == 0) {
            jxl.demo.Demo.displayHelp();
            System.exit(1);
        }
        if ((p29[0].equals("-help")) || (p29[0].equals("-h"))) {
            jxl.demo.Demo.displayHelp();
            System.exit(1);
        }
        if (p29[0].equals("-version")) {
            System.out.println(new StringBuilder().append("v").append(jxl.Workbook.getVersion()).toString());
            System.exit(0);
        }
        if (p29[0].equals("-logtest")) {
            jxl.demo.Demo.logger.debug("A sample \"debug\" message");
            jxl.demo.Demo.logger.info("A sample \"info\" message");
            jxl.demo.Demo.logger.warn("A sample \"warning\" message");
            jxl.demo.Demo.logger.error("A sample \"error\" message");
            jxl.demo.Demo.logger.fatal("A sample \"fatal\" message");
            System.exit(0);
        }
        String v10;
        int v25 = 0;
        int v21 = 0;
        int v13 = 0;
        int v4 = 0;
        int v16 = 0;
        int v20 = 0;
        int v9 = 0;
        int v6 = 0;
        int v7 = 0;
        String v18 = 0;
        String v19 = 0;
        if (!p29[0].equals("-write")) {
            if (!p29[0].equals("-formulas")) {
                if (!p29[0].equals("-features")) {
                    if (!p29[0].equals("-escher")) {
                        if (!p29[0].equals("-escherdg")) {
                            if ((!p29[0].equals("-biffdump")) && (!p29[0].equals("-bd"))) {
                                if (!p29[0].equals("-wa")) {
                                    if (!p29[0].equals("-ps")) {
                                        if ((!p29[0].equals("-readwrite")) && (!p29[0].equals("-rw"))) {
                                            v10 = p29[(p29.length - 1)];
                                        } else {
                                            v21 = 1;
                                            v10 = p29[1];
                                            v18 = p29[2];
                                        }
                                    } else {
                                        v20 = 1;
                                        v10 = p29[1];
                                        if (p29.length > 2) {
                                            v19 = p29[2];
                                        }
                                        if (p29.length == 4) {
                                            v18 = p29[3];
                                        }
                                    }
                                } else {
                                    v16 = 1;
                                    v10 = p29[1];
                                }
                            } else {
                                v4 = 1;
                                v10 = p29[1];
                            }
                        } else {
                            v7 = 1;
                            v10 = p29[1];
                        }
                    } else {
                        v6 = 1;
                        v10 = p29[1];
                    }
                } else {
                    v9 = 1;
                    v10 = p29[1];
                }
            } else {
                v13 = 1;
                v10 = p29[1];
            }
        } else {
            v25 = 1;
            v10 = p29[1];
        }
        String v5 = "UTF8";
        int v11 = 13;
        int v12 = 0;
        int v14 = 0;
        if ((v25 == 0) && ((v21 == 0) && ((v13 == 0) && ((v4 == 0) && ((v16 == 0) && ((v20 == 0) && ((v9 == 0) && ((v6 == 0) && (v7 == 0))))))))) {
            int v15 = 0;
            while (v15 < (p29.length - 1)) {
                if (!p29[v15].equals("-unicode")) {
                    if (!p29[v15].equals("-xml")) {
                        if (!p29[v15].equals("-csv")) {
                            if (!p29[v15].equals("-format")) {
                                if (!p29[v15].equals("-hide")) {
                                    System.err.println("Command format:  CSV [-unicode] [-xml|-csv] excelfile");
                                    System.exit(1);
                                } else {
                                    v14 = 1;
                                }
                            } else {
                                v12 = 1;
                            }
                        } else {
                            v11 = 13;
                        }
                    } else {
                        v11 = 14;
                    }
                } else {
                    v5 = "UnicodeBig";
                }
                v15++;
            }
        }
        try {
            if (v25 == 0) {
                if (v21 == 0) {
                    if (v13 == 0) {
                        if (v9 == 0) {
                            if (v6 == 0) {
                                if (v7 == 0) {
                                    if (v4 == 0) {
                                        if (v16 == 0) {
                                            if (v20 == 0) {
                                                int v26_47 = new java.io.File;
                                                v26_47(v10);
                                                jxl.Workbook v24_0 = jxl.Workbook.getWorkbook(v26_47);
                                                if (v11 != 13) {
                                                    if (v11 == 14) {
                                                        new jxl.demo.XML(v24_0, System.out, v5, v12);
                                                    }
                                                } else {
                                                    new jxl.demo.CSV(v24_0, System.out, v5, v14);
                                                }
                                                v24_0.close();
                                            } else {
                                                java.io.FileOutputStream v17_0 = System.out;
                                                if (v18 != null) {
                                                    v17_0 = new java.io.FileOutputStream(v18);
                                                }
                                                String v27_13 = new java.io.File;
                                                v27_13(v10);
                                                new jxl.demo.PropertySetsReader(v27_13, v19, v17_0);
                                            }
                                        } else {
                                            String v27_14 = new java.io.File;
                                            v27_14(v10);
                                            new jxl.demo.WriteAccess(v27_14);
                                        }
                                    } else {
                                        String v27_15 = new java.io.File;
                                        v27_15(v10);
                                        new jxl.demo.BiffDump(v27_15, System.out);
                                    }
                                } else {
                                    int v26_57 = new java.io.File;
                                    v26_57(v10);
                                    jxl.Workbook v24_1 = jxl.Workbook.getWorkbook(v26_57);
                                    new jxl.demo.EscherDrawingGroup(v24_1, System.out, v5);
                                    v24_1.close();
                                }
                            } else {
                                int v26_60 = new java.io.File;
                                v26_60(v10);
                                jxl.Workbook v24_2 = jxl.Workbook.getWorkbook(v26_60);
                                new jxl.demo.Escher(v24_2, System.out, v5);
                                v24_2.close();
                            }
                        } else {
                            int v26_62 = new java.io.File;
                            v26_62(v10);
                            jxl.Workbook v24_3 = jxl.Workbook.getWorkbook(v26_62);
                            new jxl.demo.Features(v24_3, System.out, v5);
                            v24_3.close();
                        }
                    } else {
                        int v26_64 = new java.io.File;
                        v26_64(v10);
                        jxl.Workbook v24_4 = jxl.Workbook.getWorkbook(v26_64);
                        new jxl.demo.Formulas(v24_4, System.out, v5);
                        v24_4.close();
                    }
                } else {
                    jxl.demo.ReadWrite v22 = new jxl.demo.ReadWrite;
                    v22(v10, v18);
                    v22.readWrite();
                }
            } else {
                jxl.Workbook v24_5 = new jxl.demo.Write;
                v24_5(v10);
                v24_5.write();
            }
        } catch (Throwable v23) {
            System.out.println(v23.toString());
            v23.printStackTrace();
        }
        return;
    }

Method jxl.Workbook.createWorkbook() calling method java.io.FileOutputStream.<init>()


    public static jxl.write.WritableWorkbook createWorkbook(java.io.File p3, jxl.WorkbookSettings p4)
    {
        return new jxl.write.biff.WritableWorkbookImpl(new java.io.FileOutputStream(p3), 1, p4);
    }

Method jxl.Workbook.createWorkbook() calling method java.io.FileOutputStream.<init>()


    public static jxl.write.WritableWorkbook createWorkbook(java.io.File p3, jxl.Workbook p4, jxl.WorkbookSettings p5)
    {
        return new jxl.write.biff.WritableWorkbookImpl(new java.io.FileOutputStream(p3), p4, 1, p5);
    }

Method javax.activation.FileDataSource.getOutputStream() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream getOutputStream()
    {
        return new java.io.FileOutputStream(this._file);
    }

Method io.fabric.sdk.android.services.network.HttpRequest.receive() calling method java.io.FileOutputStream.<init>()


    public io.fabric.sdk.android.services.network.HttpRequest receive(java.io.File p5)
    {
        try {
            return ((io.fabric.sdk.android.services.network.HttpRequest) new io.fabric.sdk.android.services.network.HttpRequest$3(this, new java.io.BufferedOutputStream(new java.io.FileOutputStream(p5), this.bufferSize), this.ignoreCloseExceptions, new java.io.BufferedOutputStream(new java.io.FileOutputStream(p5), this.bufferSize)).call());
        } catch (java.io.FileNotFoundException v0) {
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0);
        }
    }

Method io.fabric.sdk.android.services.events.GZIPQueueFileEventStorage.getMoveOutputStream() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream getMoveOutputStream(java.io.File p3)
    {
        return new java.util.zip.GZIPOutputStream(new java.io.FileOutputStream(p3));
    }

Method io.fabric.sdk.android.services.events.QueueFileEventStorage.getMoveOutputStream() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream getMoveOutputStream(java.io.File p2)
    {
        return new java.io.FileOutputStream(p2);
    }

Method com.sun.xml.txw2.output.StreamSerializer.<init>() calling method java.io.FileOutputStream.<init>()


    public StreamSerializer(javax.xml.transform.stream.StreamResult p10)
    {
        java.io.OutputStream[] v5 = new java.io.OutputStream[1];
        if (p10.getWriter() == null) {
            if (p10.getOutputStream() == null) {
                if (p10.getSystemId() == null) {
                    throw new IllegalArgumentException();
                } else {
                    try {
                        java.io.FileOutputStream v8_1 = new java.io.FileOutputStream(this.convertURL(p10.getSystemId()));
                        v5[0] = v8_1;
                        this.writer = com.sun.xml.txw2.output.StreamSerializer.createWriter(v8_1);
                    } catch (java.io.IOException v6) {
                        throw new com.sun.xml.txw2.TxwException(v6);
                    }
                }
            } else {
                this.writer = com.sun.xml.txw2.output.StreamSerializer.createWriter(p10.getOutputStream());
            }
        } else {
            this.writer = com.sun.xml.txw2.output.StreamSerializer.createWriter(p10.getWriter());
        }
        this.serializer = new com.sun.xml.txw2.output.StreamSerializer$1(this, this.writer, this.writer, 0, v5);
        return;
    }

Method com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.setOutput() calling method java.io.FileOutputStream.<init>()


    public void setOutput(javax.xml.transform.stream.StreamResult p3, String p4)
    {
        if (p3.getOutputStream() == null) {
            if (p3.getWriter() == null) {
                if (p3.getSystemId() != null) {
                    this.setOutputUsingStream(new java.io.FileOutputStream(p3.getSystemId()), p4);
                }
            } else {
                this.setOutputUsingWriter(p3.getWriter());
            }
        } else {
            this.setOutputUsingStream(p3.getOutputStream(), p4);
        }
        return;
    }

Method com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl.writeToURI() calling method java.io.FileOutputStream.<init>()


    public boolean writeToURI(org.w3c.dom.Node p23, String p24)
    {
        int v19_27;
        if (p23 != null) {
            org.w3c.dom.Document v7;
            com.sun.org.apache.xml.internal.serialize.XML11Serializer v15 = 0;
            String v18 = 0;
            String v4 = 0;
            if (p23.getNodeType() != 9) {
                v7 = p23.getOwnerDocument();
            } else {
                v7 = ((org.w3c.dom.Document) p23);
            }
            try {
                short v0_25 = new Class[0];
                reflect.Method v9 = v7.getClass().getMethod("getXmlVersion", v0_25);
            } catch (int v19) {
            }
            if (v9 == null) {
                if ((v18 == null) || (!v18.equals("1.1"))) {
                    v15 = this.serializer;
                } else {
                    if (this.xml11Serializer == null) {
                        this.xml11Serializer = new com.sun.org.apache.xml.internal.serialize.XML11Serializer();
                        this.initSerializer(this.xml11Serializer);
                    }
                    this.copySettings(this.serializer, this.xml11Serializer);
                    v15 = this.xml11Serializer;
                }
                try {
                    short v0_57 = new Class[0];
                    reflect.Method v8_0 = v7.getClass().getMethod("getInputEncoding", v0_57);
                } catch (int v19) {
                    if (v4 == null) {
                        try {
                            short v0_63 = new Class[0];
                            reflect.Method v8_1 = v7.getClass().getMethod("getXmlEncoding", v0_63);
                        } catch (int v19) {
                            if (v4 == null) {
                                v4 = "UTF-8";
                            }
                        }
                        if (v8_1 == null) {
                        } else {
                            v4 = ((String) v8_1.invoke(v7, ((Object[]) 0)));
                        }
                    }
                    try {
                        this.prepareForSerialization(v15, p23);
                        v15._format.setEncoding(v4);
                        String v6 = com.sun.org.apache.xerces.internal.impl.XMLEntityManager.expandSystemId(p24, 0, 1);
                        java.net.URL v16 = new java.net.URL;
                    } catch (org.w3c.dom.ls.LSException v12) {
                        throw v12;
                    } catch (Exception v3_1) {
                        if (v3_1 != com.sun.org.apache.xerces.internal.dom.DOMNormalizer.abort) {
                            throw new org.w3c.dom.ls.LSException(82, v3_1.toString());
                        } else {
                            v19_27 = 0;
                            return v19_27;
                        }
                        v19_27 = 1;
                    } catch (Exception v3_0) {
                        if (v15.fDOMErrorHandler != null) {
                            com.sun.org.apache.xerces.internal.dom.DOMErrorImpl v5_1 = new com.sun.org.apache.xerces.internal.dom.DOMErrorImpl();
                            v5_1.fException = v3_0;
                            v5_1.fMessage = v3_0.getMessage();
                            v5_1.fSeverity = 2;
                            v15.fDOMErrorHandler.handleError(v5_1);
                        }
                        throw new org.w3c.dom.ls.LSException(82, v3_0.toString());
                    }
                    if (v6 == null) {
                        v6 = p24;
                    }
                    java.io.OutputStream v13_0;
                    v16(v6);
                    String v14 = v16.getProtocol();
                    String v10 = v16.getHost();
                    if ((!v14.equals("file")) || ((v10 != null) && ((v10.length() != 0) && (!v10.equals("localhost"))))) {
                        java.net.URLConnection v17 = v16.openConnection();
                        v17.setDoInput(0);
                        v17.setDoOutput(1);
                        v17.setUseCaches(0);
                        if ((v17 instanceof java.net.HttpURLConnection)) {
                            ((java.net.HttpURLConnection) v17).setRequestMethod("PUT");
                        }
                        v13_0 = v17.getOutputStream();
                    } else {
                        v13_0 = new java.io.FileOutputStream(this.getPathWithoutEscapes(v16.getFile()));
                    }
                    v15.setOutputByteStream(v13_0);
                    if (p23.getNodeType() != 9) {
                        if (p23.getNodeType() != 11) {
                            if (p23.getNodeType() != 1) {
                                if ((p23.getNodeType() != 3) && ((p23.getNodeType() != 8) && ((p23.getNodeType() != 5) && ((p23.getNodeType() != 4) && (p23.getNodeType() != 7))))) {
                                    v19_27 = 0;
                                    return v19_27;
                                } else {
                                    v15.serialize(p23);
                                }
                            } else {
                                v15.serialize(((org.w3c.dom.Element) p23));
                            }
                        } else {
                            v15.serialize(((org.w3c.dom.DocumentFragment) p23));
                        }
                    } else {
                        v15.serialize(((org.w3c.dom.Document) p23));
                    }
                }
                if (v8_0 == null) {
                } else {
                    v4 = ((String) v8_0.invoke(v7, ((Object[]) 0)));
                }
            } else {
                v18 = ((String) v9.invoke(v7, ((Object[]) 0)));
            }
        } else {
            v19_27 = 0;
        }
        return v19_27;
    }

Method com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl.write() calling method java.io.FileOutputStream.<init>()


    public boolean write(org.w3c.dom.Node p30, org.w3c.dom.ls.LSOutput p31)
    {
        int v24_29;
        if (p30 != null) {
            org.w3c.dom.Document v7;
            com.sun.org.apache.xml.internal.serialize.XML11Serializer v17 = 0;
            String v22 = 0;
            if (p30.getNodeType() != 9) {
                v7 = p30.getOwnerDocument();
            } else {
                v7 = ((org.w3c.dom.Document) p30);
            }
            try {
                short v0_24 = new Class[0];
                reflect.Method v9 = v7.getClass().getMethod("getXmlVersion", v0_24);
            } catch (int v24) {
            }
            if (v9 == null) {
                if ((v22 == null) || (!v22.equals("1.1"))) {
                    v17 = this.serializer;
                } else {
                    if (this.xml11Serializer == null) {
                        this.xml11Serializer = new com.sun.org.apache.xml.internal.serialize.XML11Serializer();
                        this.initSerializer(this.xml11Serializer);
                    }
                    this.copySettings(this.serializer, this.xml11Serializer);
                    v17 = this.xml11Serializer;
                }
                String v4 = p31.getEncoding();
                if (v4 == null) {
                    try {
                        short v0_86 = new Class[0];
                        reflect.Method v8_1 = v7.getClass().getMethod("getInputEncoding", v0_86);
                    } catch (int v24) {
                        if (v4 == null) {
                            try {
                                short v0_1 = new Class[0];
                                reflect.Method v8_0 = v7.getClass().getMethod("getXmlEncoding", v0_1);
                            } catch (int v24) {
                                if (v4 == null) {
                                    v4 = "UTF-8";
                                }
                            }
                            if (v8_0 == null) {
                            } else {
                                v4 = ((String) v8_0.invoke(v7, ((Object[]) 0)));
                            }
                        }
                    }
                    if (v8_1 == null) {
                    } else {
                        v4 = ((String) v8_1.invoke(v7, ((Object[]) 0)));
                    }
                }
                try {
                    this.prepareForSerialization(v17, p30);
                    v17._format.setEncoding(v4);
                    java.io.OutputStream v15 = p31.getByteStream();
                    java.io.Writer v23 = p31.getCharacterStream();
                    String v19 = p31.getSystemId();
                } catch (org.w3c.dom.ls.LSException v12) {
                    throw v12;
                } catch (java.io.UnsupportedEncodingException v18) {
                    if (v17.fDOMErrorHandler != null) {
                        com.sun.org.apache.xerces.internal.dom.DOMErrorImpl v5_5 = new com.sun.org.apache.xerces.internal.dom.DOMErrorImpl();
                        v5_5.fException = v18;
                        v5_5.fType = "unsupported-encoding";
                        v5_5.fMessage = v18.getMessage();
                        v5_5.fSeverity = 3;
                        v17.fDOMErrorHandler.handleError(v5_5);
                    }
                    throw new org.w3c.dom.ls.LSException(82, com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.formatMessage("http://apache.org/xml/serializer", "unsupported-encoding", 0));
                } catch (Exception v3_1) {
                    if (v3_1 != com.sun.org.apache.xerces.internal.dom.DOMNormalizer.abort) {
                        throw new org.w3c.dom.ls.LSException(82, v3_1.toString());
                    } else {
                        v24_29 = 0;
                    }
                } catch (Exception v3_0) {
                    if (v17.fDOMErrorHandler != null) {
                        com.sun.org.apache.xerces.internal.dom.DOMErrorImpl v5_3 = new com.sun.org.apache.xerces.internal.dom.DOMErrorImpl();
                        v5_3.fException = v3_0;
                        v5_3.fMessage = v3_0.getMessage();
                        v5_3.fSeverity = 2;
                        v17.fDOMErrorHandler.handleError(v5_3);
                    }
                    v3_0.printStackTrace();
                    throw new org.w3c.dom.ls.LSException(82, v3_0.toString());
                }
                if (v23 != null) {
                    v17.setOutputCharStream(v23);
                } else {
                    if (v15 != null) {
                        v17.setOutputByteStream(v15);
                    } else {
                        if (v19 != null) {
                            String v6 = com.sun.org.apache.xerces.internal.impl.XMLEntityManager.expandSystemId(v19, 0, 1);
                            java.net.URL v20 = new java.net.URL;
                            if (v6 == null) {
                                v6 = v19;
                            }
                            java.io.OutputStream v14_0;
                            v20(v6);
                            String v16 = v20.getProtocol();
                            String v10 = v20.getHost();
                            if ((!v16.equals("file")) || ((v10 != null) && ((v10.length() != 0) && (!v10.equals("localhost"))))) {
                                java.net.URLConnection v21 = v20.openConnection();
                                v21.setDoInput(0);
                                v21.setDoOutput(1);
                                v21.setUseCaches(0);
                                if ((v21 instanceof java.net.HttpURLConnection)) {
                                    ((java.net.HttpURLConnection) v21).setRequestMethod("PUT");
                                }
                                v14_0 = v21.getOutputStream();
                            } else {
                                v14_0 = new java.io.FileOutputStream(this.getPathWithoutEscapes(v20.getFile()));
                            }
                            v17.setOutputByteStream(v14_0);
                        } else {
                            String v13 = com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.formatMessage("http://apache.org/xml/serializer", "no-output-specified", 0);
                            if (v17.fDOMErrorHandler != null) {
                                com.sun.org.apache.xerces.internal.dom.DOMErrorImpl v5_1 = new com.sun.org.apache.xerces.internal.dom.DOMErrorImpl();
                                v5_1.fType = "no-output-specified";
                                v5_1.fMessage = v13;
                                v5_1.fSeverity = 3;
                                v17.fDOMErrorHandler.handleError(v5_1);
                            }
                            int v24_37 = new org.w3c.dom.ls.LSException;
                            v24_37(82, v13);
                            throw v24_37;
                        }
                    }
                }
                if (p30.getNodeType() != 9) {
                    if (p30.getNodeType() != 11) {
                        if (p30.getNodeType() != 1) {
                            if ((p30.getNodeType() != 3) && ((p30.getNodeType() != 8) && ((p30.getNodeType() != 5) && ((p30.getNodeType() != 4) && (p30.getNodeType() != 7))))) {
                                v24_29 = 0;
                                return v24_29;
                            } else {
                                v17.serialize(p30);
                            }
                        } else {
                            v17.serialize(((org.w3c.dom.Element) p30));
                        }
                    } else {
                        v17.serialize(((org.w3c.dom.DocumentFragment) p30));
                    }
                } else {
                    v17.serialize(((org.w3c.dom.Document) p30));
                }
                v24_29 = 1;
            } else {
                v22 = ((String) v9.invoke(v7, ((Object[]) 0)));
            }
        } else {
            v24_29 = 0;
        }
        return v24_29;
    }

Method com.Hostel.superintendent.pta.PTAMeetingDetailActivity.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.payment_mode.ChecqueDetailFragment.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.ok_http.OkHttpRequestHandler.createTempFileFromBitmap() calling method java.io.FileOutputStream.<init>()


    private java.io.File createTempFileFromBitmap(android.content.Context p8, android.graphics.Bitmap p9, String p10)
    {
        java.io.File v3_1 = new java.io.File(p8.getCacheDir(), p10);
        try {
            v3_1.createNewFile();
            java.io.ByteArrayOutputStream v1_1 = new java.io.ByteArrayOutputStream();
            p9.compress(android.graphics.Bitmap$CompressFormat.PNG, 70, v1_1);
            byte[] v0 = v1_1.toByteArray();
            java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(v3_1);
            v4_1.write(v0);
            v4_1.flush();
            v4_1.close();
        } catch (java.io.IOException v2) {
            v2.printStackTrace();
        }
        return v3_1;
    }

Method com.Hostel.superintendent.inventory.gift.AddGiftItemToStokeFragment.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.inventory.PurchaseRequestDetailFragment.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.StudentPerformanceActivity.writeBytesToImageFileFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToImageFileFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathimage = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".jpeg").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathimage);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.StudentPerformanceActivity.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.PDFAttendanceActvity.createStudentSheetNew() calling method java.io.FileOutputStream.<init>()


    private void createStudentSheetNew(java.io.InputStream p31, java.io.File p32)
    {
        org.apache.poi.xssf.usermodel.XSSFWorkbook v2_1 = new org.apache.poi.xssf.usermodel.XSSFWorkbook(p31);
        org.apache.poi.xssf.usermodel.XSSFSheet v24 = v2_1.getSheetAt(0);
        org.apache.poi.xssf.usermodel.XSSFRow v22 = v24.createRow(0);
        org.apache.poi.xssf.usermodel.XSSFCellStyle v25 = v2_1.createCellStyle();
        org.apache.poi.xssf.usermodel.XSSFFont v18 = v2_1.createFont();
        v18.setColor(12);
        v25.setFont(v18);
        org.apache.poi.ss.usermodel.Cell v3 = v22.createCell(0);
        v3.setCellStyle(v25);
        v3.setCellValue("S.N.");
        org.apache.poi.ss.usermodel.Cell v5 = v22.createCell(1);
        v5.setCellStyle(v25);
        v5.setCellValue("Student Name");
        org.apache.poi.ss.usermodel.Cell v7 = v22.createCell(2);
        v7.setCellStyle(v25);
        v7.setCellValue("Father\'s Name");
        org.apache.poi.ss.usermodel.Cell v9 = v22.createCell(3);
        v9.setCellStyle(v25);
        v9.setCellValue("Date Of Birth");
        org.apache.poi.ss.usermodel.Cell v11 = v22.createCell(4);
        v11.setCellStyle(v25);
        v11.setCellValue("Reference Number");
        org.apache.poi.ss.usermodel.Cell v13 = v22.createCell(5);
        v13.setCellStyle(v25);
        v13.setCellValue("Profile ID");
        int v26 = 6;
        java.io.PrintStream v27_2 = com.Hostel.superintendent.others.HelpUtility.getAllDAtes(Integer.parseInt(new StringBuilder().append(this.yearList.get(this.year_spinner.getSelectedItemPosition())).append("").toString()), this.month_spinner.getSelectedItemPosition()).iterator();
        while (v27_2.hasNext()) {
            String v16_1 = ((String) v27_2.next());
            org.apache.poi.ss.usermodel.Cell v15 = v22.createCell(v26);
            v15.setCellStyle(v25);
            v15.setCellValue(v16_1);
            v26++;
        }
        int v19 = 1;
        while (v19 <= this.studentInfoForAttendanceList.size()) {
            org.apache.poi.xssf.usermodel.XSSFRow v23 = v24.createRow(v19);
            org.apache.poi.ss.usermodel.Cell v4 = v23.createCell(0);
            v4.setCellStyle(v25);
            v4.setCellValue(new StringBuilder().append(v19).append("").toString());
            com.Hostel.superintendent.beans.StudentInfoForAttendance v21_1 = ((com.Hostel.superintendent.beans.StudentInfoForAttendance) this.studentInfoForAttendanceList.get((v19 - 1)));
            org.apache.poi.ss.usermodel.Cell v6 = v23.createCell(1);
            v6.setCellStyle(v25);
            v6.setCellValue(v21_1.getStudentName());
            org.apache.poi.ss.usermodel.Cell v8 = v23.createCell(2);
            v8.setCellStyle(v25);
            v8.setCellValue(v21_1.getFatherName());
            org.apache.poi.ss.usermodel.Cell v10 = v23.createCell(3);
            v10.setCellStyle(v25);
            v10.setCellValue(v21_1.getDOB());
            org.apache.poi.ss.usermodel.Cell v12 = v23.createCell(4);
            v12.setCellStyle(v25);
            v12.setCellValue(v21_1.getReferenceNumber());
            org.apache.poi.ss.usermodel.Cell v14 = v23.createCell(5);
            v14.setCellStyle(v25);
            v14.setCellValue(v21_1.getProfileid());
            v19++;
        }
        java.io.FileOutputStream v20 = new java.io.FileOutputStream;
        v20(p32.getAbsolutePath());
        v2_1.write(v20);
        System.out.println("Writing on Excel file Finished ...");
        v20.flush();
        v20.close();
        return;
    }

Method com.Hostel.superintendent.attendance.PDFAttendanceActvity.createEmployeeSheetNew() calling method java.io.FileOutputStream.<init>()


    private void createEmployeeSheetNew(java.io.InputStream p31, java.io.File p32)
    {
        org.apache.poi.xssf.usermodel.XSSFWorkbook v2_1 = new org.apache.poi.xssf.usermodel.XSSFWorkbook(p31);
        org.apache.poi.xssf.usermodel.XSSFSheet v24 = v2_1.getSheetAt(0);
        org.apache.poi.xssf.usermodel.XSSFRow v22 = v24.createRow(0);
        org.apache.poi.xssf.usermodel.XSSFCellStyle v25 = v2_1.createCellStyle();
        org.apache.poi.xssf.usermodel.XSSFFont v18 = v2_1.createFont();
        v18.setColor(12);
        v25.setFont(v18);
        org.apache.poi.ss.usermodel.Cell v3 = v22.createCell(0);
        v3.setCellStyle(v25);
        v3.setCellValue("S.N.");
        org.apache.poi.ss.usermodel.Cell v5 = v22.createCell(1);
        v5.setCellStyle(v25);
        v5.setCellValue("Employee ID");
        org.apache.poi.ss.usermodel.Cell v7 = v22.createCell(2);
        v7.setCellStyle(v25);
        v7.setCellValue("Employee Name");
        org.apache.poi.ss.usermodel.Cell v9 = v22.createCell(3);
        v9.setCellStyle(v25);
        v9.setCellValue("Post Type");
        org.apache.poi.ss.usermodel.Cell v11 = v22.createCell(4);
        v11.setCellStyle(v25);
        v11.setCellValue("Post Name");
        org.apache.poi.ss.usermodel.Cell v13 = v22.createCell(5);
        v13.setCellStyle(v25);
        v13.setCellValue("ContactNo");
        int v26 = 6;
        java.io.PrintStream v27_2 = com.Hostel.superintendent.others.HelpUtility.getAllDAtes(Integer.parseInt(new StringBuilder().append(this.yearList.get(this.year_spinner.getSelectedItemPosition())).append("").toString()), this.month_spinner.getSelectedItemPosition()).iterator();
        while (v27_2.hasNext()) {
            String v16_1 = ((String) v27_2.next());
            org.apache.poi.ss.usermodel.Cell v15 = v22.createCell(v26);
            v15.setCellStyle(v25);
            v15.setCellValue(v16_1);
            v26++;
        }
        int v19 = 1;
        while (v19 <= this.postMappedEmployeeInfoList.size()) {
            org.apache.poi.xssf.usermodel.XSSFRow v23 = v24.createRow(v19);
            org.apache.poi.ss.usermodel.Cell v4 = v23.createCell(0);
            v4.setCellStyle(v25);
            v4.setCellValue(new StringBuilder().append(v19).append("").toString());
            com.Hostel.superintendent.beans.PostMappedEmployeeInfo v21_1 = ((com.Hostel.superintendent.beans.PostMappedEmployeeInfo) this.postMappedEmployeeInfoList.get((v19 - 1)));
            org.apache.poi.ss.usermodel.Cell v6 = v23.createCell(1);
            v6.setCellStyle(v25);
            v6.setCellValue(v21_1.getEmpCode());
            org.apache.poi.ss.usermodel.Cell v8 = v23.createCell(2);
            v8.setCellStyle(v25);
            v8.setCellValue(v21_1.getName());
            org.apache.poi.ss.usermodel.Cell v10 = v23.createCell(3);
            v10.setCellStyle(v25);
            v10.setCellValue(v21_1.getPostType());
            org.apache.poi.ss.usermodel.Cell v12 = v23.createCell(4);
            v12.setCellStyle(v25);
            v12.setCellValue(v21_1.getPostName());
            org.apache.poi.ss.usermodel.Cell v14 = v23.createCell(5);
            v14.setCellStyle(v25);
            v14.setCellValue(v21_1.getContactNo());
            v19++;
        }
        java.io.FileOutputStream v20 = new java.io.FileOutputStream;
        v20(p32.getAbsolutePath());
        v2_1.write(v20);
        System.out.println("Writing on Excel file Finished ...");
        v20.flush();
        v20.close();
        return;
    }

Method com.Hostel.superintendent.adapter.superintendent.PTAMoMListAdapter.writeBytesToImageFileFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToImageFileFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathimage = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".jpeg").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathimage);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.adapter.superintendent.PTAMoMListAdapter.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.adapter.StudentPerformanceListAdapter.writeBytesToImageFileFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToImageFileFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathimage = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".jpeg").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathimage);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.adapter.StudentPerformanceListAdapter.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.Student.HostelStudentExitActivity.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p10)
    {
        try {
            this.userLogin = new com.Manager.AllPackageManager(this).getUserLogin();
            String v4 = ((com.android.db.UserLogin) this.userLogin.get(0)).getName();
            String v5 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/").mkdirs();
        } catch (String v6_37) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v6_37;
        }
        if (!this.applicationtypeidval.equalsIgnoreCase("2")) {
            if (!this.applicationtypeidval.equalsIgnoreCase("3")) {
                if (this.applicationtypeidval.equalsIgnoreCase("4")) {
                    this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/Transfer").append(v4).append(v5).append(".pdf").toString();
                }
            } else {
                this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/Exit").append(v4).append(v5).append(".pdf").toString();
            }
        } else {
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/Renewal").append(v4).append(v5).append(".pdf").toString();
        }
        java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
        v3_1.write(p10);
        v3_1.flush();
        v3_1.close();
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.Student.HostelStudentDetailsViewActivity.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p8)
    {
        try {
            this.userLogin = new com.Manager.AllPackageManager(this).getUserLogin();
            String v3 = ((com.android.db.UserLogin) this.userLogin.get(0)).getUsername();
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/HSA").append(v3).append(v4).append(".pdf").toString();
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(this.filepathpdf);
            v2_1.write(p8);
            v2_1.flush();
            v2_1.close();
        } catch (Exception v5_15) {
            if (0 != 0) {
                try {
                    0.flush();
                    0.close();
                } catch (Exception v6) {
                }
            }
            throw v5_15;
        }
        if (0 != 0) {
            try {
                0.flush();
                0.close();
            } catch (Exception v5) {
            }
        }
        return;
    }

Method com.Hostel.Student.HostelStudentAdapter.StudentMontlyPerofrmanceListAdapter.writeBytesToImageFileFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToImageFileFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathimage = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".jpeg").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathimage);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.Student.HostelStudentAdapter.StudentMontlyPerofrmanceListAdapter.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Adapter.BenificaryRecordListAdapter.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p8, String p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/BFR").append(p9).append(v4).append(".pdf").toString();
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(this.filepathpdf);
            v2_1.write(p8);
            v2_1.flush();
            v2_1.close();
        } catch (Exception v5_10) {
            if (0 != 0) {
                try {
                    0.flush();
                    0.close();
                } catch (Exception v6) {
                }
            }
            throw v5_10;
        }
        if (0 != 0) {
            try {
                0.flush();
                0.close();
            } catch (Exception v5) {
            }
        }
        return;
    }

Method android.support.v4.util.AtomicFile.startWrite() calling method java.io.FileOutputStream.<init>()


    public java.io.FileOutputStream startWrite()
    {
        if (this.mBaseName.exists()) {
            if (this.mBackupName.exists()) {
                this.mBaseName.delete();
            } else {
                if (!this.mBaseName.renameTo(this.mBackupName)) {
                    android.util.Log.w("AtomicFile", new StringBuilder().append("Couldn\'t rename file ").append(this.mBaseName).append(" to backup file ").append(this.mBackupName).toString());
                }
            }
        }
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.mBaseName);
        } catch (java.io.FileNotFoundException v0) {
            if (this.mBaseName.getParentFile().mkdirs()) {
                try {
                    v3_1 = new java.io.FileOutputStream(this.mBaseName);
                } catch (java.io.FileNotFoundException v1) {
                    throw new java.io.IOException(new StringBuilder().append("Couldn\'t create ").append(this.mBaseName).toString());
                }
            } else {
                throw new java.io.IOException(new StringBuilder().append("Couldn\'t create directory ").append(this.mBaseName).toString());
            }
        }
        return v3_1;
    }

Method android.support.v4.print.PrintHelper$PrintHelperApi19$2.doInBackground() calling method java.io.FileOutputStream.<init>()


    protected varargs Throwable doInBackground(Void[] p13)
    {
        Throwable v7 = 0;
        try {
            if (!this.val$cancellationSignal.isCanceled()) {
                android.print.pdf.PrintedPdfDocument v6_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$pdfAttributes);
                android.graphics.Bitmap v4 = android.support.v4.print.PrintHelper$PrintHelperApi19.access$100(this.this$0, this.val$bitmap, this.val$pdfAttributes.getColorMode());
                if (!this.val$cancellationSignal.isCanceled()) {
                    try {
                        android.graphics.RectF v0_1;
                        android.graphics.pdf.PdfDocument$Page v5 = v6_1.startPage(1);
                    } catch (java.io.IOException v8_30) {
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.FileDescriptor v9) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                        throw v8_30;
                    }
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        android.print.pdf.PrintedPdfDocument v1_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$attributes);
                        android.graphics.pdf.PdfDocument$Page v2 = v1_1.startPage(1);
                        v0_1 = new android.graphics.RectF(v2.getInfo().getContentRect());
                        v1_1.finishPage(v2);
                        v1_1.close();
                    } else {
                        v0_1 = new android.graphics.RectF(v5.getInfo().getContentRect());
                    }
                    android.graphics.Matrix v3 = android.support.v4.print.PrintHelper$PrintHelperApi19.access$200(this.this$0, v4.getWidth(), v4.getHeight(), v0_1, this.val$fittingMode);
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        v3.postTranslate(v0_1.left, v0_1.top);
                        v5.getCanvas().clipRect(v0_1);
                    }
                    v5.getCanvas().drawBitmap(v4, v3, 0);
                    v6_1.finishPage(v5);
                    if (!this.val$cancellationSignal.isCanceled()) {
                        v6_1.writeTo(new java.io.FileOutputStream(this.val$fileDescriptor.getFileDescriptor()));
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v8) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                    } else {
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v8) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                    }
                }
            }
        } catch (Throwable v7) {
        }
        return v7;
    }

Method android.support.v4.graphics.TypefaceCompatUtil.copyToFile() calling method java.io.FileOutputStream.<init>()


    public static boolean copyToFile(java.io.File p9, java.io.InputStream p10)
    {
        int v5_0 = 0;
        java.io.FileOutputStream v2 = 0;
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(p9, 0);
            try {
                byte[] v0 = new byte[1024];
            } catch (int v5_1) {
                v2 = v3_1;
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2);
                throw v5_1;
            } catch (java.io.IOException v1) {
                v2 = v3_1;
                android.util.Log.e("TypefaceCompatUtil", new StringBuilder().append("Error copying resource contents to temp file: ").append(v1.getMessage()).toString());
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2);
                return v5_0;
            }
            while(true) {
                int v4 = p10.read(v0);
                if (v4 == -1) {
                    break;
                }
                v3_1.write(v0, 0, v4);
            }
            v5_0 = 1;
            android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v3_1);
            return v5_0;
        } catch (int v5_1) {
        } catch (java.io.IOException v1) {
        }
    }

Method android.support.multidex.MultiDexExtractor.extract() calling method java.io.FileOutputStream.<init>()


    private static void extract(java.util.zip.ZipFile p10, java.util.zip.ZipEntry p11, java.io.File p12, String p13)
    {
        java.io.InputStream v2 = p10.getInputStream(p11);
        java.io.File v6 = java.io.File.createTempFile(p13, ".zip", p12.getParentFile());
        android.util.Log.i("MultiDex", new StringBuilder().append("Extracting ").append(v6.getPath()).toString());
        try {
            java.util.zip.ZipOutputStream v5_1 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(new java.io.FileOutputStream(v6)));
            try {
                java.util.zip.ZipEntry v1_1 = new java.util.zip.ZipEntry("classes.dex");
                v1_1.setTime(p11.getTime());
                v5_1.putNextEntry(v1_1);
                byte[] v0 = new byte[16384];
                int v3 = v2.read(v0);
            } catch (java.io.IOException v7_13) {
                v5_1.close();
                throw v7_13;
            } catch (java.io.IOException v7_2) {
                android.support.multidex.MultiDexExtractor.closeQuietly(v2);
                v6.delete();
                throw v7_2;
            }
            while (v3 != -1) {
                v5_1.write(v0, 0, v3);
                v3 = v2.read(v0);
            }
            v5_1.closeEntry();
            v5_1.close();
            android.util.Log.i("MultiDex", new StringBuilder().append("Renaming to ").append(p12.getPath()).toString());
            if (v6.renameTo(p12)) {
                android.support.multidex.MultiDexExtractor.closeQuietly(v2);
                v6.delete();
                return;
            } else {
                throw new java.io.IOException(new StringBuilder().append("Failed to rename \"").append(v6.getAbsolutePath()).append("\" to \"").append(p12.getAbsolutePath()).append("\"").toString());
            }
        } catch (java.io.IOException v7_2) {
        }
    }

Method ae.com.sun.xml.bind.v2.runtime.MarshallerImpl.createXmlOutput() calling method java.io.FileOutputStream.<init>()


    final ae.com.sun.xml.bind.v2.runtime.output.XmlOutput createXmlOutput(javax.xml.transform.Result p10)
    {
        AssertionError v6_11;
        if (!(p10 instanceof javax.xml.transform.sax.SAXResult)) {
            if (!(p10 instanceof javax.xml.transform.dom.DOMResult)) {
                if ((p10 instanceof javax.xml.transform.stream.StreamResult)) {
                    if (((javax.xml.transform.stream.StreamResult) p10).getWriter() == null) {
                        if (((javax.xml.transform.stream.StreamResult) p10).getOutputStream() == null) {
                            if (((javax.xml.transform.stream.StreamResult) p10).getSystemId() != null) {
                                try {
                                    String v2_1 = new java.net.URI(((javax.xml.transform.stream.StreamResult) p10).getSystemId()).getPath();
                                    try {
                                        java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(v2_1);
                                    } catch (java.io.IOException v1) {
                                        throw new ae.javax.xml.bind.MarshalException(v1);
                                    }
                                    if ((ae.com.sun.xml.bind.v2.runtime.MarshallerImpl.$assertionsDisabled) || (this.toBeClosed == null)) {
                                        this.toBeClosed = v3_1;
                                        v6_11 = this.createWriter(v3_1);
                                        return v6_11;
                                    } else {
                                        throw new AssertionError();
                                    }
                                } catch (AssertionError v6) {
                                }
                            }
                        } else {
                            v6_11 = this.createWriter(((javax.xml.transform.stream.StreamResult) p10).getOutputStream());
                            return v6_11;
                        }
                    } else {
                        v6_11 = this.createWriter(((javax.xml.transform.stream.StreamResult) p10).getWriter());
                        return v6_11;
                    }
                }
                Object[] v8_1 = new Object[0];
                throw new ae.javax.xml.bind.MarshalException(ae.com.sun.xml.bind.v2.runtime.Messages.UNSUPPORTED_RESULT.format(v8_1));
            } else {
                org.w3c.dom.Node v4 = ((javax.xml.transform.dom.DOMResult) p10).getNode();
                if (v4 != null) {
                    v6_11 = new ae.com.sun.xml.bind.v2.runtime.output.SAXOutput(new ae.com.sun.xml.bind.marshaller.SAX2DOMEx(v4));
                } else {
                    org.w3c.dom.Document v0 = ae.com.sun.xml.bind.v2.runtime.JAXBContextImpl.createDom();
                    ((javax.xml.transform.dom.DOMResult) p10).setNode(v0);
                    v6_11 = new ae.com.sun.xml.bind.v2.runtime.output.SAXOutput(new ae.com.sun.xml.bind.marshaller.SAX2DOMEx(v0));
                }
            }
        } else {
            v6_11 = new ae.com.sun.xml.bind.v2.runtime.output.SAXOutput(((javax.xml.transform.sax.SAXResult) p10).getHandler());
        }
        return v6_11;
    }

Method ae.javax.xml.bind.helpers.AbstractMarshallerImpl.marshal() calling method java.io.FileOutputStream.<init>()


    public void marshal(Object p5, java.io.File p6)
    {
        this.checkNotNull(p5, "jaxbElement", p6, "output");
        try {
            java.io.BufferedOutputStream v1_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p6));
        } catch (java.io.IOException v0) {
            throw new ae.javax.xml.bind.JAXBException(v0);
        }
        this.marshal(p5, new javax.xml.transform.stream.StreamResult(v1_1));
        v1_1.close();
        return;
    }

Method org.apache.xmlbeans.impl.util.FilerImpl.writerForFile() calling method java.io.FileWriter.<init>()


    private static final java.io.Writer writerForFile(java.io.File p3)
    {
        java.io.OutputStreamWriter v2_1;
        if (org.apache.xmlbeans.impl.util.FilerImpl.CHARSET != null) {
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p3);
            java.nio.charset.CharsetEncoder v0 = org.apache.xmlbeans.impl.util.FilerImpl.CHARSET.newEncoder();
            v0.onUnmappableCharacter(java.nio.charset.CodingErrorAction.REPORT);
            v2_1 = new java.io.OutputStreamWriter(v1_1, v0);
        } else {
            v2_1 = new java.io.FileWriter(p3);
        }
        return v2_1;
    }

Method org.apache.xmlbeans.impl.tool.XSTCTester.main() calling method java.io.FileWriter.<init>()


    public static void main(String[] p34)
    {
        java.util.HashSet v12_1 = new java.util.HashSet();
        v12_1.add("h");
        v12_1.add("help");
        v12_1.add("usage");
        v12_1.add("version");
        v12_1.add("showpass");
        v12_1.add("errcode");
        long v24 = System.currentTimeMillis();
        org.apache.xmlbeans.impl.tool.CommandLine v7_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p34, v12_1, java.util.Collections.EMPTY_SET);
        if ((v7_1.getOpt("h") == null) && ((v7_1.getOpt("help") == null) && (v7_1.getOpt("usage") == null))) {
            if (v7_1.getOpt("version") == null) {
                String[] v5 = v7_1.getBadOpts();
                if (v5.length <= 0) {
                    if (v7_1.args().length != 0) {
                        int v22;
                        if (v7_1.getOpt("showpass") == null) {
                            v22 = 0;
                        } else {
                            v22 = 1;
                        }
                        int v8;
                        if (v7_1.getOpt("errcode") == null) {
                            v8 = 0;
                        } else {
                            v8 = 1;
                        }
                        java.io.File[] v4 = v7_1.getFiles();
                        java.util.ArrayList v18_1 = new java.util.ArrayList();
                        org.apache.xmlbeans.impl.tool.XMLBeanXSTCHarness v13_1 = new org.apache.xmlbeans.impl.tool.XMLBeanXSTCHarness();
                        int v14_1 = 0;
                        while (v14_1 < v4.length) {
                            if (v4[v14_1].getName().indexOf("LTG") >= 0) {
                                v18_1.add(v4[v14_1]);
                            }
                            v14_1++;
                        }
                        java.io.File v21 = new java.io.File;
                        v21("out.html");
                        org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult v27_99 = new java.io.FileWriter;
                        v27_99(v21);
                        java.io.PrintWriter v26_1 = new java.io.PrintWriter(v27_99);
                        v26_1.println("<html>");
                        v26_1.println("<style>td {border-bottom: 1px solid black} xmp {white-space: normal; word-wrap: break-word; word-break: break-all} </style>");
                        v26_1.println("<body>");
                        v26_1.println("<script language=\'JavaScript\' type=\'text/javascript\'>");
                        v26_1.println("var w;");
                        v26_1.println("function openWindow(schema, instance) {");
                        v26_1.println("  if (w == null) {");
                        v26_1.println("    w = window.open(\'about:blank\', \'xstc\');");
                        v26_1.println("  }");
                        v26_1.println("  if (w.closed) {");
                        v26_1.println("    w = window.open(\'about:blank\', \'xstc\');");
                        v26_1.println("  }");
                        v26_1.println("  w.document.open();");
                        v26_1.println("  w.document.write(\"<frameset rows=*,*><frame src=\'\" + schema + \"\'><frame src=\'\" + instance + \"\'></frameset>\");");
                        v26_1.println("  w.document.close();");
                        v26_1.println("  w.focus();");
                        v26_1.println("}");
                        v26_1.println("</script>");
                        v26_1.println("<h1>XML Schema Test Collection Results</h1>");
                        v26_1.println(new StringBuffer().append("<p>Run on ").append(new org.apache.xmlbeans.XmlCalendar(new java.util.Date())).append("</p>").toString());
                        v26_1.println("<p>Values in schema or instance valid columns are results from compiling or validating respectively.");
                        v26_1.println("Red or orange background mean the test failed.</p>");
                        v26_1.println("<table style=\'border: 1px solid black\' cellpadding=0 cellspacing=0>");
                        v26_1.println("<tr><td witdh=10%>id</td><td width=70%>Description</td><td width=10%>sch v</td><td width=10%>ins v</td></tr>");
                        int v9 = 0;
                        int v6 = 0;
                        int v14_0 = v18_1.iterator();
                        while (v14_0.hasNext()) {
                            java.io.File v17_1 = ((java.io.File) v14_0.next());
                            System.out.println(new StringBuffer().append("Processing test cases in ").append(v17_1).toString());
                            java.util.ArrayList v16_1 = new java.util.ArrayList();
                            org.apache.xmlbeans.impl.tool.XSTCTester$TestCase[] v23 = org.apache.xmlbeans.impl.tool.XSTCTester.parseLTGFile(v17_1, v16_1);
                            java.util.ArrayList v20_1 = new java.util.ArrayList();
                            if (v23 != null) {
                                int v15_0 = 0;
                                while (v15_0 < v23.length) {
                                    org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult v19_1 = new org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult();
                                    org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult.access$002(v19_1, v23[v15_0]);
                                    v13_1.runTestCase(v19_1);
                                    v6++;
                                    if (v19_1.succeeded(v8)) {
                                        if (v22 != 0) {
                                            v20_1.add(v19_1);
                                        }
                                    } else {
                                        v9++;
                                    }
                                    v15_0++;
                                }
                            }
                            v26_1.println(new StringBuffer().append("<tr><td colspan=4 bgcolor=skyblue>").append(v17_1).append("</td></tr>").toString());
                            if (v16_1.isEmpty()) {
                                if (v20_1.size() == 0) {
                                    v26_1.println("<tr><td colspan=4 bgcolor=green>Nothing to report</td></tr>");
                                }
                            } else {
                                v26_1.println("<tr><td>Errors within the LTG file:");
                                v26_1.println("<xmp>");
                                int v15_1 = v16_1.iterator();
                                while (v15_1.hasNext()) {
                                    v26_1.println(v15_1.next());
                                }
                                v26_1.println("</xmp>");
                                v26_1.println("</td></tr>");
                            }
                            if (v20_1 != null) {
                                int v15_2 = v20_1.iterator();
                                while (v15_2.hasNext()) {
                                    org.apache.xmlbeans.impl.tool.XSTCTester.summarizeResultAsHTMLTableRows(((org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult) v15_2.next()), v26_1, v8);
                                }
                            }
                        }
                        v26_1.println(new StringBuffer().append("<tr><td colspan=4>Summary: ").append(v9).append(" failures out of ").append(v6).append(" cases run.</td></tr>").toString());
                        v26_1.println("</table>");
                        v26_1.close();
                        System.out.println(new StringBuffer().append("Time run tests: ").append((((double) (System.currentTimeMillis() - v24)) / 1000.0)).append(" seconds").toString());
                        System.out.println(new StringBuffer().append("Results output to ").append(v21).toString());
                        if (org.apache.xmlbeans.SystemProperties.getProperty("os.name").toLowerCase().indexOf("windows") < 0) {
                            Runtime.getRuntime().exec(new StringBuffer().append("mozilla file://").append(v21.getAbsolutePath()).toString());
                        } else {
                            Runtime.getRuntime().exec(new StringBuffer().append("cmd /c start iexplore \"").append(v21.getAbsolutePath()).append("\"").toString());
                        }
                    } else {
                        org.apache.xmlbeans.impl.tool.XSTCTester.printUsage();
                    }
                } else {
                    int v14_2 = 0;
                    while (v14_2 < v5.length) {
                        System.out.println(new StringBuffer().append("Unrecognized option: ").append(v5[v14_2]).toString());
                        v14_2++;
                    }
                    org.apache.xmlbeans.impl.tool.XSTCTester.printUsage();
                    System.exit(0);
                }
            } else {
                org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                System.exit(0);
            }
        } else {
            org.apache.xmlbeans.impl.tool.XSTCTester.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile() calling method java.io.FileWriter.<init>()


    public static boolean externalCompile(java.util.List p20, java.io.File p21, java.io.File[] p22, boolean p23, String p24, String p25, String p26, String p27, boolean p28, boolean p29)
    {
        java.util.ArrayList v3_1 = new java.util.ArrayList();
        if (p24 == null) {
            p24 = org.apache.xmlbeans.impl.tool.CodeGenUtil.DEFAULT_COMPILER;
        }
        java.io.File v11 = org.apache.xmlbeans.impl.tool.CodeGenUtil.findJavaTool(p24);
        if ((org.apache.xmlbeans.impl.tool.CodeGenUtil.$assertionsDisabled) || (v11.exists())) {
            v3_1.add(v11.getAbsolutePath());
            if (p21 != null) {
                v3_1.add("-d");
                v3_1.add(org.apache.xmlbeans.impl.tool.CodeGenUtil.quoteAndEscapeFilename(p21.getAbsolutePath()));
            } else {
                p21 = new java.io.File;
                p21(".");
            }
            if (p22 == null) {
                p22 = org.apache.xmlbeans.impl.tool.CodeGenUtil.systemClasspath();
            }
            if (p22.length > 0) {
                StringBuffer v5_1 = new StringBuffer();
                v5_1.append(p21.getAbsolutePath());
                int v10_1 = 0;
                while (v10_1 < p22.length) {
                    v5_1.append(java.io.File.pathSeparator);
                    v5_1.append(p22[v10_1].getAbsolutePath());
                    v10_1++;
                }
                v3_1.add("-classpath");
                v3_1.add(org.apache.xmlbeans.impl.tool.CodeGenUtil.quoteAndEscapeFilename(v5_1.toString()));
            }
            if (p25 == null) {
                p25 = "1.4";
            }
            int v17_60;
            v3_1.add("-source");
            v3_1.add(p25);
            v3_1.add("-target");
            v3_1.add(p25);
            if (!p23) {
                v17_60 = "-g:none";
            } else {
                v17_60 = "-g";
            }
            v3_1.add(v17_60);
            if (p29) {
                v3_1.add("-verbose");
            }
            org.apache.xmlbeans.impl.tool.CodeGenUtil.addAllJavaFiles(p20, v3_1);
            try {
                java.io.File v4 = java.io.File.createTempFile("javac", "");
                java.io.FileWriter v9_1 = new java.io.FileWriter(v4);
                int v10_2 = v3_1.iterator();
                v10_2.next();
            } catch (Throwable v6) {
                System.err.println("Could not create command-line file for javac");
                try {
                    String v0_8 = new String[v3_1.size()];
                    String[] v16_1 = ((String[]) v3_1.toArray(v0_8));
                } catch (Throwable v6) {
                    System.err.println(v6.toString());
                    System.err.println(v6.getCause());
                    v6.printStackTrace(System.err);
                    int v17_41 = 0;
                    return v17_41;
                }
                if (p29) {
                    System.out.print("compile command:");
                    int v10_0 = 0;
                    while (v10_0 < v16_1.length) {
                        System.out.print(new StringBuffer().append(" ").append(v16_1[v10_0]).toString());
                        v10_0++;
                    }
                    System.out.println();
                }
                Process v15 = Runtime.getRuntime().exec(v16_1);
                StringBuffer v8_1 = new StringBuffer();
                StringBuffer v14_1 = new StringBuffer();
                new org.apache.xmlbeans.impl.tool.CodeGenUtil$ThreadedReader(v15.getInputStream(), v14_1);
                new org.apache.xmlbeans.impl.tool.CodeGenUtil$ThreadedReader(v15.getErrorStream(), v8_1);
                v15.waitFor();
                if ((p29) || (v15.exitValue() != 0)) {
                    if (v14_1.length() > 0) {
                        System.out.println(v14_1.toString());
                        System.out.flush();
                    }
                    if (v8_1.length() > 0) {
                        System.err.println(v8_1.toString());
                        System.err.flush();
                    }
                    if (v15.exitValue() != 0) {
                        v17_41 = 0;
                        return v17_41;
                    }
                }
                if (v4 != null) {
                    v4.delete();
                }
                v17_41 = 1;
                return v17_41;
            }
            while (v10_2.hasNext()) {
                v9_1.write(((String) v10_2.next()));
                v9_1.write(10);
            }
            v9_1.close();
            java.util.ArrayList v12_1 = new java.util.ArrayList();
            v12_1.add(v3_1.get(0));
            if ((p26 != null) && (p26.length() != 0)) {
                v12_1.add(new StringBuffer().append("-J-Xms").append(p26).toString());
            }
            if ((p27 != null) && (p27.length() != 0)) {
                v12_1.add(new StringBuffer().append("-J-Xmx").append(p27).toString());
            }
            v12_1.add(new StringBuffer().append("@").append(v4.getAbsolutePath()).toString());
            v3_1 = v12_1;
        } else {
            throw new AssertionError(new StringBuffer().append("compiler not found ").append(v11).toString());
        }
    }

Method org.apache.poi.xssf.streaming.SheetDataWriter.createWriter() calling method java.io.FileWriter.<init>()


    public java.io.Writer createWriter(java.io.File p3)
    {
        return new java.io.BufferedWriter(new java.io.FileWriter(p3));
    }

Method org.apache.commons.io.output.LockableFileWriter.initWriter() calling method java.io.FileWriter.<init>()


    private java.io.Writer initWriter(java.io.File p8, String p9, boolean p10)
    {
        java.io.OutputStreamWriter v4;
        boolean v1 = p8.exists();
        java.io.FileOutputStream v2 = 0;
        v4 = 0;
        try {
            if (p9 != null) {
                java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(p8.getAbsolutePath(), p10);
                try {
                    v4 = new java.io.OutputStreamWriter(v3_1, p9);
                    v2 = v3_1;
                } catch (RuntimeException v0_1) {
                    v2 = v3_1;
                } catch (RuntimeException v0_0) {
                    v2 = v3_1;
                    org.apache.commons.io.IOUtils.closeQuietly(v4);
                    org.apache.commons.io.IOUtils.closeQuietly(v2);
                    this.lockFile.delete();
                    if (!v1) {
                        p8.delete();
                    }
                    throw v0_0;
                }
                return v4;
            } else {
                v4 = new java.io.FileWriter(p8.getAbsolutePath(), p10);
                return v4;
            }
        } catch (RuntimeException v0_1) {
        } catch (RuntimeException v0_0) {
        }
        org.apache.commons.io.IOUtils.closeQuietly(v4);
        org.apache.commons.io.IOUtils.closeQuietly(v2);
        this.lockFile.delete();
        if (!v1) {
            p8.delete();
        }
        throw v0_1;
    }

Method io.fabric.sdk.android.services.settings.DefaultCachedSettingsIo.writeCachedSettings() calling method java.io.FileWriter.<init>()


    public void writeCachedSettings(long p8, org.json.JSONObject p10)
    {
        io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "Writing settings to cache file...");
        if (p10 != null) {
            java.io.FileWriter v1 = 0;
            try {
                p10.put("expires_at", p8);
                java.io.FileWriter v2_0 = new java.io.FileWriter(new java.io.File(new io.fabric.sdk.android.services.persistence.FileStoreImpl(this.kit).getFilesDir(), "com.crashlytics.settings.json"));
                try {
                    v2_0.write(p10.toString());
                    v2_0.flush();
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2_0, "Failed to close settings writer.");
                } catch (Throwable v3_7) {
                    v1 = v2_0;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Failed to close settings writer.");
                    throw v3_7;
                } catch (Exception v0) {
                    v1 = v2_0;
                    io.fabric.sdk.android.Fabric.getLogger().e("Fabric", "Failed to cache settings", v0);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Failed to close settings writer.");
                }
            } catch (Throwable v3_7) {
            } catch (Exception v0) {
            }
        }
        return;
    }

Method com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.openOutputHandler() calling method java.io.FileWriter.<init>()


    public com.sun.org.apache.xml.internal.serializer.SerializationHandler openOutputHandler(String p7, boolean p8)
    {
        try {
            com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory v3 = com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.newInstance();
            String v1 = new java.io.File(p7).getParent();
        } catch (Exception v2) {
            throw new com.sun.org.apache.xalan.internal.xsltc.TransletException(v2);
        }
        if ((v1 != null) && (v1.length() > 0)) {
            new java.io.File(v1).mkdirs();
        }
        v3.setEncoding(this._encoding);
        v3.setOutputMethod(this._method);
        v3.setWriter(new java.io.FileWriter(p7, p8));
        v3.setOutputType(0);
        com.sun.org.apache.xml.internal.serializer.SerializationHandler v4 = v3.getSerializationHandler();
        this.transferOutputSettings(v4);
        v4.startDocument();
        return v4;
    }

Method com.sun.org.apache.xalan.internal.xslt.Process._main() calling method java.io.FileWriter.<init>()


    public static void _main(String[] p78)
    {
        int v11 = 0;
        int v10 = 0;
        int v27 = 0;
        java.io.PrintWriter v9_0 = new java.io.PrintWriter(System.err, 1);
        java.io.PrintWriter v15 = v9_0;
        java.util.ListResourceBundle v47 = com.sun.org.apache.xalan.internal.res.XSLMessages.loadResourceBundle("com.sun.org.apache.xalan.internal.res.XSLTErrorResources");
        String v22 = "s2s";
        if (p78.length >= 1) {
            int v67 = 1;
            int v24_2 = 0;
            while (v24_2 < p78.length) {
                if ("-XSLTC".equalsIgnoreCase(p78[v24_2])) {
                    v67 = 1;
                }
                v24_2++;
            }
            if (v67 != 0) {
                java.util.Properties v43 = System.getProperties();
                v43.put("javax.xml.transform.TransformerFactory", "com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
                System.setProperties(v43);
            }
            try {
                int v60 = javax.xml.transform.TransformerFactory.newInstance();
                v60.setErrorListener(new com.sun.org.apache.xml.internal.utils.DefaultErrorHandler());
            } catch (javax.xml.transform.TransformerFactoryConfigurationError v42) {
                v42.printStackTrace(v15);
                String v31_7 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NOT_SUCCESSFUL", 0);
                v9_0.println(v31_7);
                v60 = 0;
                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_7);
            }
            int v66 = 0;
            String v25 = 0;
            String v38 = 0;
            String v14 = 0;
            String v72 = 0;
            String v40 = 0;
            String v30 = 0;
            java.util.Vector v41_1 = new java.util.Vector();
            javax.xml.transform.URIResolver v65 = 0;
            org.xml.sax.EntityResolver v17 = 0;
            org.xml.sax.ContentHandler v7 = 0;
            int v24_0 = 0;
            while (v24_0 < p78.length) {
                if (!"-XSLTC".equalsIgnoreCase(p78[v24_0])) {
                    if (!"-INDENT".equalsIgnoreCase(p78[v24_0])) {
                        if (!"-IN".equalsIgnoreCase(p78[v24_0])) {
                            if (!"-MEDIA".equalsIgnoreCase(p78[v24_0])) {
                                if (!"-OUT".equalsIgnoreCase(p78[v24_0])) {
                                    if (!"-XSL".equalsIgnoreCase(p78[v24_0])) {
                                        if (!"-FLAVOR".equalsIgnoreCase(p78[v24_0])) {
                                            if (!"-PARAM".equalsIgnoreCase(p78[v24_0])) {
                                                if (!"-E".equalsIgnoreCase(p78[v24_0])) {
                                                    if (!"-V".equalsIgnoreCase(p78[v24_0])) {
                                                        if (!"-Q".equalsIgnoreCase(p78[v24_0])) {
                                                            if (!"-DIAG".equalsIgnoreCase(p78[v24_0])) {
                                                                if (!"-XML".equalsIgnoreCase(p78[v24_0])) {
                                                                    if (!"-TEXT".equalsIgnoreCase(p78[v24_0])) {
                                                                        if (!"-HTML".equalsIgnoreCase(p78[v24_0])) {
                                                                            if (!"-EDUMP".equalsIgnoreCase(p78[v24_0])) {
                                                                                if (!"-URIRESOLVER".equalsIgnoreCase(p78[v24_0])) {
                                                                                    if (!"-ENTITYRESOLVER".equalsIgnoreCase(p78[v24_0])) {
                                                                                        if (!"-CONTENTHANDLER".equalsIgnoreCase(p78[v24_0])) {
                                                                                            if (!"-XO".equalsIgnoreCase(p78[v24_0])) {
                                                                                                if (!"-XD".equalsIgnoreCase(p78[v24_0])) {
                                                                                                    if (!"-XJ".equalsIgnoreCase(p78[v24_0])) {
                                                                                                        if (!"-XP".equalsIgnoreCase(p78[v24_0])) {
                                                                                                            if (!"-XN".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                if (!"-XX".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                    if (!"-XT".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                        if (!"-SECURE".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                            int v0_205 = new Object[1];
                                                                                                                            Object[] v75_28 = v0_205;
                                                                                                                            v75_28[0] = p78[v24_0];
                                                                                                                            System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_INVALID_OPTION", v75_28));
                                                                                                                        } else {
                                                                                                                            v27 = 1;
                                                                                                                            try {
                                                                                                                                v60.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                                                                                                                            } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                                                                                                            }
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        if (v67 == 0) {
                                                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XT");
                                                                                                                        } else {
                                                                                                                            v60.setAttribute("auto-translet", "true");
                                                                                                                        }
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    if (v67 == 0) {
                                                                                                                        com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XX");
                                                                                                                    } else {
                                                                                                                        v60.setAttribute("debug", "true");
                                                                                                                    }
                                                                                                                }
                                                                                                            } else {
                                                                                                                if (v67 == 0) {
                                                                                                                    com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XN");
                                                                                                                } else {
                                                                                                                    v60.setAttribute("enable-inlining", "true");
                                                                                                                }
                                                                                                            }
                                                                                                        } else {
                                                                                                            if (v67 == 0) {
                                                                                                                if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                                    v24_0++;
                                                                                                                }
                                                                                                                com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XP");
                                                                                                            } else {
                                                                                                                if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                                    int v0_222 = new Object[1];
                                                                                                                    Object[] v75_30 = v0_222;
                                                                                                                    v75_30[0] = "-XP";
                                                                                                                    System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_30));
                                                                                                                } else {
                                                                                                                    v24_0++;
                                                                                                                    v60.setAttribute("package-name", p78[v24_0]);
                                                                                                                }
                                                                                                            }
                                                                                                        }
                                                                                                    } else {
                                                                                                        if (v67 == 0) {
                                                                                                            if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                                v24_0++;
                                                                                                            }
                                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XJ");
                                                                                                        } else {
                                                                                                            if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                                int v0_234 = new Object[1];
                                                                                                                Object[] v75_32 = v0_234;
                                                                                                                v75_32[0] = "-XJ";
                                                                                                                System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_32));
                                                                                                            } else {
                                                                                                                v60.setAttribute("generate-translet", "true");
                                                                                                                v24_0++;
                                                                                                                v60.setAttribute("jar-name", p78[v24_0]);
                                                                                                            }
                                                                                                        }
                                                                                                    }
                                                                                                } else {
                                                                                                    if (v67 == 0) {
                                                                                                        if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                            v24_0++;
                                                                                                        }
                                                                                                        com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XD");
                                                                                                    } else {
                                                                                                        if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                            int v0_246 = new Object[1];
                                                                                                            Object[] v75_34 = v0_246;
                                                                                                            v75_34[0] = "-XD";
                                                                                                            System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_34));
                                                                                                        } else {
                                                                                                            v24_0++;
                                                                                                            v60.setAttribute("destination-directory", p78[v24_0]);
                                                                                                        }
                                                                                                    }
                                                                                                }
                                                                                            } else {
                                                                                                if (v67 == 0) {
                                                                                                    if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                        v24_0++;
                                                                                                    }
                                                                                                    com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XO");
                                                                                                } else {
                                                                                                    if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                        v60.setAttribute("generate-translet", "true");
                                                                                                    } else {
                                                                                                        v60.setAttribute("generate-translet", "true");
                                                                                                        v24_0++;
                                                                                                        v60.setAttribute("translet-name", p78[v24_0]);
                                                                                                    }
                                                                                                }
                                                                                            }
                                                                                        } else {
                                                                                            if ((v24_0 + 1) >= p78.length) {
                                                                                                int v0_16 = new Object[1];
                                                                                                int v74_11 = v0_16;
                                                                                                v74_11[0] = "-ContentHandler";
                                                                                                String v31_0 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v74_11);
                                                                                                System.err.println(v31_0);
                                                                                                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_0);
                                                                                            } else {
                                                                                                v24_0++;
                                                                                                try {
                                                                                                    v7 = ((org.xml.sax.ContentHandler) com.sun.org.apache.xalan.internal.xslt.ObjectFactory.newInstance(p78[v24_0], com.sun.org.apache.xalan.internal.xslt.ObjectFactory.findClassLoader(), 1));
                                                                                                } catch (com.sun.org.apache.xalan.internal.xslt.ObjectFactory$ConfigurationError v6) {
                                                                                                    int v0_22 = new Object[1];
                                                                                                    int v74_14 = v0_22;
                                                                                                    v74_14[0] = "-ContentHandler";
                                                                                                    String v31_1 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CLASS_NOT_FOUND_FOR_OPTION", v74_14);
                                                                                                    System.err.println(v31_1);
                                                                                                    com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_1);
                                                                                                }
                                                                                            }
                                                                                        }
                                                                                    } else {
                                                                                        if ((v24_0 + 1) >= p78.length) {
                                                                                            int v0_28 = new Object[1];
                                                                                            int v74_17 = v0_28;
                                                                                            v74_17[0] = "-EntityResolver";
                                                                                            String v31_2 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v74_17);
                                                                                            System.err.println(v31_2);
                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_2);
                                                                                        } else {
                                                                                            v24_0++;
                                                                                            try {
                                                                                                v17 = ((org.xml.sax.EntityResolver) com.sun.org.apache.xalan.internal.xslt.ObjectFactory.newInstance(p78[v24_0], com.sun.org.apache.xalan.internal.xslt.ObjectFactory.findClassLoader(), 1));
                                                                                            } catch (com.sun.org.apache.xalan.internal.xslt.ObjectFactory$ConfigurationError v6) {
                                                                                                int v0_33 = new Object[1];
                                                                                                int v74_20 = v0_33;
                                                                                                v74_20[0] = "-EntityResolver";
                                                                                                String v31_3 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CLASS_NOT_FOUND_FOR_OPTION", v74_20);
                                                                                                System.err.println(v31_3);
                                                                                                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_3);
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    if ((v24_0 + 1) >= p78.length) {
                                                                                        int v0_40 = new Object[1];
                                                                                        int v74_23 = v0_40;
                                                                                        v74_23[0] = "-URIResolver";
                                                                                        String v31_4 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v74_23);
                                                                                        System.err.println(v31_4);
                                                                                        com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_4);
                                                                                    } else {
                                                                                        v24_0++;
                                                                                        try {
                                                                                            v65 = ((javax.xml.transform.URIResolver) com.sun.org.apache.xalan.internal.xslt.ObjectFactory.newInstance(p78[v24_0], com.sun.org.apache.xalan.internal.xslt.ObjectFactory.findClassLoader(), 1));
                                                                                            v60.setURIResolver(v65);
                                                                                        } catch (com.sun.org.apache.xalan.internal.xslt.ObjectFactory$ConfigurationError v6) {
                                                                                            int v0_47 = new Object[1];
                                                                                            int v74_26 = v0_47;
                                                                                            v74_26[0] = "-URIResolver";
                                                                                            String v31_5 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CLASS_NOT_FOUND_FOR_OPTION", v74_26);
                                                                                            System.err.println(v31_5);
                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_5);
                                                                                        }
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                v11 = 1;
                                                                                if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                    v24_0++;
                                                                                    v14 = p78[v24_0];
                                                                                }
                                                                            }
                                                                        } else {
                                                                            v40 = "html";
                                                                        }
                                                                    } else {
                                                                        v40 = "text";
                                                                    }
                                                                } else {
                                                                    v40 = "xml";
                                                                }
                                                            } else {
                                                                v10 = 1;
                                                            }
                                                        }
                                                    } else {
                                                        v9_0.println(new StringBuilder().append(v47.getString("version")).append(com.sun.org.apache.xalan.internal.Version.getVersion()).append(", ").append(v47.getString("version2")).toString());
                                                    }
                                                }
                                            } else {
                                                if ((v24_0 + 2) >= p78.length) {
                                                    int v0_61 = new Object[1];
                                                    Object[] v75_10 = v0_61;
                                                    v75_10[0] = "-PARAM";
                                                    System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_10));
                                                } else {
                                                    int v24_1 = (v24_0 + 1);
                                                    v41_1.addElement(p78[v24_1]);
                                                    v24_0 = (v24_1 + 1);
                                                    v41_1.addElement(p78[v24_0]);
                                                }
                                            }
                                        } else {
                                            if ((v24_0 + 1) >= p78.length) {
                                                int v0_69 = new Object[1];
                                                Object[] v75_12 = v0_69;
                                                v75_12[0] = "-FLAVOR";
                                                System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_12));
                                            } else {
                                                v24_0++;
                                                v22 = p78[v24_0];
                                            }
                                        }
                                    } else {
                                        if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                            int v0_75 = new Object[1];
                                            Object[] v75_14 = v0_75;
                                            v75_14[0] = "-XSL";
                                            System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_14));
                                        } else {
                                            v24_0++;
                                            v72 = p78[v24_0];
                                        }
                                    }
                                } else {
                                    if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                        int v0_81 = new Object[1];
                                        Object[] v75_16 = v0_81;
                                        v75_16[0] = "-OUT";
                                        System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_16));
                                    } else {
                                        v24_0++;
                                        v38 = p78[v24_0];
                                    }
                                }
                            } else {
                                if ((v24_0 + 1) >= p78.length) {
                                    int v0_87 = new Object[1];
                                    Object[] v75_18 = v0_87;
                                    v75_18[0] = "-MEDIA";
                                    System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_18));
                                } else {
                                    v24_0++;
                                    v30 = p78[v24_0];
                                }
                            }
                        } else {
                            if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                int v0_94 = new Object[1];
                                Object[] v75_20 = v0_94;
                                v75_20[0] = "-IN";
                                System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_20));
                            } else {
                                v24_0++;
                                v25 = p78[v24_0];
                            }
                        }
                    } else {
                        if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                            v24_0++;
                            Integer.parseInt(p78[v24_0]);
                        }
                    }
                }
                v24_0++;
            }
            if ((v25 == null) && (v72 == null)) {
                String v31_9 = v47.getString("xslProc_no_input");
                System.err.println(v31_9);
                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_9);
            }
            try {
                long v54 = System.currentTimeMillis();
            } catch (Exception v62_0) {
            }
            if (v14 != null) {
                java.io.PrintWriter v16 = new java.io.PrintWriter;
                javax.xml.transform.TransformerConfigurationException v73_251 = new java.io.FileWriter;
                v73_251(v14);
                v16(v73_251);
                v15 = v16;
            }
            javax.xml.transform.Templates v59 = 0;
            if (v72 != null) {
                if (!v22.equals("d2d")) {
                    javax.xml.transform.TransformerConfigurationException v73_25 = new javax.xml.transform.stream.StreamSource;
                    v73_25(v72);
                    v59 = v60.newTemplates(v73_25);
                } else {
                    javax.xml.parsers.DocumentBuilderFactory v8_0 = javax.xml.parsers.DocumentBuilderFactory.newInstance();
                    v8_0.setNamespaceAware(1);
                    if (v27 != 0) {
                        try {
                            v8_0.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                        } catch (javax.xml.transform.TransformerConfigurationException v73) {
                        }
                    }
                    javax.xml.parsers.DocumentBuilder v13_0 = v8_0.newDocumentBuilder();
                    javax.xml.transform.TransformerConfigurationException v73_64 = new org.xml.sax.InputSource;
                    v73_64(v72);
                    javax.xml.transform.TransformerConfigurationException v73_73 = new javax.xml.transform.dom.DOMSource;
                    v73_73(v13_0.parse(v73_64), v72);
                    v59 = v60.newTemplates(v73_73);
                }
            }
            javax.xml.transform.stream.StreamResult v58;
            if (v38 == null) {
                v58 = new javax.xml.transform.stream.StreamResult;
                v58(System.out);
            } else {
                v58 = new javax.xml.transform.stream.StreamResult;
                javax.xml.transform.TransformerConfigurationException v73_81 = new java.io.FileOutputStream;
                v73_81(v38);
                v58(v73_81);
                v58.setSystemId(v38);
            }
            javax.xml.transform.sax.SAXTransformerFactory v53 = ((javax.xml.transform.sax.SAXTransformerFactory) v60);
            if (v59 == null) {
                javax.xml.transform.TransformerConfigurationException v73_82 = new javax.xml.transform.stream.StreamSource;
                v73_82(v25);
                javax.xml.transform.Source v52 = v53.getAssociatedStylesheet(v73_82, v30, 0, 0);
                if (v52 == null) {
                    if (v30 == null) {
                        int v0_112 = new Object[1];
                        Object[] v75_23 = v0_112;
                        v75_23[0] = v25;
                        throw new javax.xml.transform.TransformerException(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NO_STYLESHEET_PI", v75_23));
                    } else {
                        int v0_115 = new Object[2];
                        Object[] v75_25 = v0_115;
                        v75_25[0] = v25;
                        v75_25[1] = v30;
                        throw new javax.xml.transform.TransformerException(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NO_STYLESHEET_IN_MEDIA", v75_25));
                    }
                } else {
                    v59 = v60.newTemplates(v52);
                }
            }
            if (v59 == null) {
                String v31_6 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NOT_SUCCESSFUL", 0);
                v9_0.println(v31_6);
                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_6);
            } else {
                javax.xml.transform.Transformer v63;
                if (!v22.equals("th")) {
                    v63 = v59.newTransformer();
                } else {
                    v63 = 0;
                }
                v63.setErrorListener(new com.sun.org.apache.xml.internal.utils.DefaultErrorHandler());
                if (v40 != null) {
                    v63.setOutputProperty("method", v40);
                }
                int v35 = v41_1.size();
                int v24_3 = 0;
                while (v24_3 < v35) {
                    v63.setParameter(((String) v41_1.elementAt(v24_3)), ((String) v41_1.elementAt((v24_3 + 1))));
                    v24_3 += 2;
                }
                if (v65 != null) {
                    v63.setURIResolver(v65);
                }
                if (v25 == null) {
                    org.xml.sax.XMLReader v45_0 = new java.io.StringReader;
                    v45_0("<?xml version=\"1.0\"?> <doc/>");
                    javax.xml.transform.TransformerConfigurationException v73_95 = new javax.xml.transform.stream.StreamSource;
                    v73_95(v45_0);
                    v63.transform(v73_95, v58);
                } else {
                    if (!v22.equals("d2d")) {
                        if (!v22.equals("th")) {
                            if (v17 == null) {
                                if (v7 == null) {
                                    javax.xml.transform.TransformerConfigurationException v73_101 = new javax.xml.transform.stream.StreamSource;
                                    v73_101(v25);
                                    v63.transform(v73_101, v58);
                                } else {
                                    javax.xml.transform.sax.SAXResult v48_0 = new javax.xml.transform.sax.SAXResult;
                                    v48_0(v7);
                                    javax.xml.transform.TransformerConfigurationException v73_102 = new javax.xml.transform.stream.StreamSource;
                                    v73_102(v25);
                                    v63.transform(v73_102, v48_0);
                                }
                            } else {
                                org.xml.sax.XMLReader v45_1 = 0;
                                try {
                                    javax.xml.parsers.SAXParserFactory v21_0 = javax.xml.parsers.SAXParserFactory.newInstance();
                                    v21_0.setNamespaceAware(1);
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    if (v45_1 == null) {
                                        v45_1 = org.xml.sax.helpers.XMLReaderFactory.createXMLReader();
                                    }
                                    v45_1.setEntityResolver(v17);
                                    if (v7 == null) {
                                        javax.xml.transform.TransformerConfigurationException v73_108 = new javax.xml.transform.sax.SAXSource;
                                        int v74_74 = new org.xml.sax.InputSource;
                                        v74_74(v25);
                                        v73_108(v45_1, v74_74);
                                        v63.transform(v73_108, v58);
                                    } else {
                                        javax.xml.transform.sax.SAXResult v48_1 = new javax.xml.transform.sax.SAXResult;
                                        v48_1(v7);
                                        javax.xml.transform.TransformerConfigurationException v73_109 = new javax.xml.transform.sax.SAXSource;
                                        int v74_75 = new org.xml.sax.InputSource;
                                        v74_75(v25);
                                        v73_109(v45_1, v74_75);
                                        v63.transform(v73_109, v48_1);
                                    }
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                }
                                if (v27 != 0) {
                                    try {
                                        v21_0.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    }
                                }
                                v45_1 = v21_0.newSAXParser().getXMLReader();
                            }
                        } else {
                            int v24_4 = 0;
                            while (v24_4 < 1) {
                                org.xml.sax.XMLReader v45_2 = 0;
                                try {
                                    javax.xml.parsers.SAXParserFactory v21_1 = javax.xml.parsers.SAXParserFactory.newInstance();
                                    v21_1.setNamespaceAware(1);
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    if (v45_2 == null) {
                                        v45_2 = org.xml.sax.helpers.XMLReaderFactory.createXMLReader();
                                    }
                                    javax.xml.transform.sax.TransformerHandler v61 = v53.newTransformerHandler(v59);
                                    v45_2.setContentHandler(v61);
                                    v45_2.setDTDHandler(v61);
                                    if ((v61 instanceof org.xml.sax.ErrorHandler)) {
                                        v45_2.setErrorHandler(((org.xml.sax.ErrorHandler) v61));
                                    }
                                    try {
                                        v45_2.setProperty("http://xml.org/sax/properties/lexical-handler", v61);
                                        try {
                                            v45_2.setFeature("http://xml.org/sax/features/namespace-prefixes", 1);
                                        } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                        }
                                        v61.setResult(v58);
                                        javax.xml.transform.TransformerConfigurationException v73_122 = new org.xml.sax.InputSource;
                                        v73_122(v25);
                                        v45_2.parse(v73_122);
                                        v24_4++;
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    }
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                }
                                if (v27 != 0) {
                                    try {
                                        v21_1.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    }
                                }
                                v45_2 = v21_1.newSAXParser().getXMLReader();
                            }
                        }
                    } else {
                        javax.xml.parsers.DocumentBuilderFactory v8_1 = javax.xml.parsers.DocumentBuilderFactory.newInstance();
                        v8_1.setCoalescing(1);
                        v8_1.setNamespaceAware(1);
                        if (v27 != 0) {
                            try {
                                v8_1.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                            } catch (javax.xml.transform.TransformerConfigurationException v73) {
                            }
                        }
                        javax.xml.parsers.DocumentBuilder v13_1 = v8_1.newDocumentBuilder();
                        if (v17 != null) {
                            v13_1.setEntityResolver(v17);
                        }
                        javax.xml.transform.TransformerConfigurationException v73_126 = new org.xml.sax.InputSource;
                        v73_126(v25);
                        org.w3c.dom.Document v70 = v13_1.parse(v73_126);
                        org.w3c.dom.DocumentFragment v39 = v13_1.newDocument().createDocumentFragment();
                        javax.xml.transform.TransformerConfigurationException v73_127 = new javax.xml.transform.dom.DOMSource;
                        v73_127(v70, v25);
                        int v74_80 = new javax.xml.transform.dom.DOMResult;
                        v74_80(v39);
                        v63.transform(v73_127, v74_80);
                        javax.xml.transform.Transformer v50 = v53.newTransformer();
                        v50.setErrorListener(new com.sun.org.apache.xml.internal.utils.DefaultErrorHandler());
                        v50.setOutputProperties(v59.getOutputProperties());
                        if (v7 == null) {
                            javax.xml.transform.TransformerConfigurationException v73_131 = new javax.xml.transform.dom.DOMSource;
                            v73_131(v39);
                            v50.transform(v73_131, v58);
                        } else {
                            javax.xml.transform.sax.SAXResult v48_2 = new javax.xml.transform.sax.SAXResult;
                            v48_2(v7);
                            javax.xml.transform.TransformerConfigurationException v73_132 = new javax.xml.transform.dom.DOMSource;
                            v73_132(v39);
                            v50.transform(v73_132, v48_2);
                        }
                    }
                }
            }
            if ((v38 != null) && (v58 != null)) {
                java.io.OutputStream v37 = v58.getOutputStream();
                java.io.Writer v69 = v58.getWriter();
                try {
                    if (v37 != null) {
                        v37.close();
                    }
                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                }
                if (v69 != null) {
                    v69.close();
                }
            }
            long v32 = (System.currentTimeMillis() - v54);
            if (v10 == 0) {
                if (v14 != null) {
                    v15.close();
                }
                // Both branches of the condition point to the same code.
                // if (v9_0 == null) {
                // }
            } else {
                int v0_185 = new Object[3];
                Object[] v34 = v0_185;
                v34[0] = v25;
                v34[1] = v72;
                int v74_82 = new Long;
                v74_82(v32);
                v34[2] = v74_82;
                String v31_8 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("diagTiming", v34);
                v9_0.println(10);
                v9_0.println(v31_8);
            }
        } else {
            com.sun.org.apache.xalan.internal.xslt.Process.printArgOptions(v47);
        }
        return;
    }

Method com.sun.org.apache.xalan.internal.xslt.EnvironmentCheck.main() calling method java.io.FileWriter.<init>()


    public static void main(String[] p8)
    {
        java.io.PrintWriter v3_1 = new java.io.PrintWriter(System.out, 1);
        int v2 = 0;
        while (v2 < p8.length) {
            if ("-out".equalsIgnoreCase(p8[v2])) {
                v2++;
                if (v2 >= p8.length) {
                    System.err.println("# WARNING: -out argument should have a filename, output sent to console");
                } else {
                    try {
                        v3_1 = new java.io.PrintWriter(new java.io.FileWriter(p8[v2], 1));
                    } catch (Exception v1) {
                        System.err.println(new StringBuilder().append("# WARNING: -out ").append(p8[v2]).append(" threw ").append(v1.toString()).toString());
                    }
                }
            }
            v2++;
        }
        new com.sun.org.apache.xalan.internal.xslt.EnvironmentCheck().checkEnvironment(v3_1);
        return;
    }

Method com.Hostel.superintendent.attendance.UploadAttendanceExcelSheetActivity.generateNoteOnSD() calling method java.io.FileWriter.<init>()


    public void generateNoteOnSD(android.content.Context p7, String p8, String p9)
    {
        try {
            java.io.File v2_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "Notes");
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        java.io.FileWriter v3_1 = new java.io.FileWriter(new java.io.File(v2_1, p8));
        v3_1.append(p9);
        v3_1.flush();
        v3_1.close();
        return;
    }

Method com.Hostel.superintendent.attendance.PDFAttendanceActvity.generateNoteOnSD() calling method java.io.FileWriter.<init>()


    public void generateNoteOnSD(android.content.Context p7, String p8, String p9)
    {
        try {
            java.io.File v2_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "Notes");
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        java.io.FileWriter v3_1 = new java.io.FileWriter(new java.io.File(v2_1, p8));
        v3_1.append(p9);
        v3_1.flush();
        v3_1.close();
        return;
    }

Method com.Hostel.superintendent.attendance.HostelSPStudentAttendanceViewFragment.generateNoteOnSD() calling method java.io.FileWriter.<init>()


    public void generateNoteOnSD(android.content.Context p7, String p8, String p9)
    {
        try {
            java.io.File v2_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "Notes");
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        java.io.FileWriter v3_1 = new java.io.FileWriter(new java.io.File(v2_1, p8));
        v3_1.append(p9);
        v3_1.flush();
        v3_1.close();
        return;
    }

Method org.spongycastle.crypto.examples.DESExample.<init>() calling method java.io.FileInputStream.<init>()


    public DESExample(String p16, String p17, String p18, boolean p19)
    {
        this.encrypt = 1;
        this.cipher = 0;
        this.in = 0;
        this.out = 0;
        this.key = 0;
        this.encrypt = p19;
        try {
            this.in = new java.io.BufferedInputStream(new java.io.FileInputStream(p16));
            try {
                this.out = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p17));
            } catch (java.io.IOException v2) {
                System.err.println(new StringBuilder().append("Output file not created [").append(p17).append("]").toString());
                System.exit(1);
            }
            if (!p19) {
                try {
                    java.io.BufferedOutputStream v5_3 = new java.io.BufferedInputStream(new java.io.FileInputStream(p18));
                    int v8 = v5_3.available();
                    byte[] v4_1 = new byte[v8];
                    v5_3.read(v4_1, 0, v8);
                    this.key = org.spongycastle.util.encoders.Hex.decode(v4_1);
                } catch (java.io.IOException v3) {
                    System.err.println(new StringBuilder().append("Decryption key file not found, or not valid [").append(p18).append("]").toString());
                    System.exit(1);
                }
            } else {
                java.security.SecureRandom v10 = 0;
                try {
                    java.security.SecureRandom v11_1 = new java.security.SecureRandom();
                    try {
                        v11_1.setSeed("www.spongycastle.org".getBytes());
                        v10 = v11_1;
                    } catch (Exception v9) {
                        v10 = v11_1;
                        System.err.println("Hmmm, no SHA1PRNG, you need the Sun implementation");
                        System.exit(1);
                    } catch (java.io.IOException v1) {
                        System.err.println(new StringBuilder().append("Could not decryption create key file [").append(p18).append("]").toString());
                        System.exit(1);
                    }
                    org.spongycastle.crypto.KeyGenerationParameters v7_1 = new org.spongycastle.crypto.KeyGenerationParameters(v10, 192);
                    org.spongycastle.crypto.generators.DESedeKeyGenerator v6_1 = new org.spongycastle.crypto.generators.DESedeKeyGenerator();
                    v6_1.init(v7_1);
                    this.key = v6_1.generateKey();
                    java.io.BufferedOutputStream v5_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p18));
                    byte[] v4_0 = org.spongycastle.util.encoders.Hex.encode(this.key);
                    v5_1.write(v4_0, 0, v4_0.length);
                    v5_1.flush();
                    v5_1.close();
                } catch (Exception v9) {
                } catch (java.io.IOException v1) {
                }
            }
            return;
        } catch (java.io.IOException v2) {
            System.err.println(new StringBuilder().append("Input file not found [").append(p16).append("]").toString());
            System.exit(1);
        }
    }

Method org.spongycastle.cms.CMSProcessableFile.write() calling method java.io.FileInputStream.<init>()


    public void write(java.io.OutputStream p6)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(this.file);
        while(true) {
            int v1 = v0_1.read(this.buf, 0, this.buf.length);
            if (v1 <= 0) {
                break;
            }
            p6.write(this.buf, 0, v1);
        }
        v0_1.close();
        return;
    }

Method org.spongycastle.cms.CMSProcessableFile.getInputStream() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream getInputStream()
    {
        return new java.io.BufferedInputStream(new java.io.FileInputStream(this.file), 32768);
    }

Method org.spongycastle.asn1.util.Dump.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p5)
    {
        org.spongycastle.asn1.ASN1InputStream v0_1 = new org.spongycastle.asn1.ASN1InputStream(new java.io.FileInputStream(p5[0]));
        while(true) {
            org.spongycastle.asn1.ASN1Primitive v2 = v0_1.readObject();
            if (v2 == null) {
                break;
            }
            System.out.println(org.spongycastle.asn1.util.ASN1Dump.dumpAsString(v2));
        }
        return;
    }

Method org.simpleframework.xml.core.Persister.validate() calling method java.io.FileInputStream.<init>()


    public boolean validate(Class p3, java.io.File p4, boolean p5)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
        try {
            Throwable v1_0 = this.validate(p3, v0_1, p5);
            v0_1.close();
            return v1_0;
        } catch (Throwable v1_1) {
            v0_1.close();
            throw v1_1;
        }
    }

Method org.simpleframework.xml.core.Persister.read() calling method java.io.FileInputStream.<init>()


    public Object read(Object p3, java.io.File p4, boolean p5)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
        try {
            Throwable v1_0 = this.read(p3, v0_1, p5);
            v0_1.close();
            return v1_0;
        } catch (Throwable v1_1) {
            v0_1.close();
            throw v1_1;
        }
    }

Method org.simpleframework.xml.core.Persister.read() calling method java.io.FileInputStream.<init>()


    public Object read(Class p3, java.io.File p4, boolean p5)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
        try {
            Throwable v1_0 = this.read(p3, v0_1, p5);
            v0_1.close();
            return v1_0;
        } catch (Throwable v1_1) {
            v0_1.close();
            throw v1_1;
        }
    }

Method org.apache.xmlbeans.impl.tool.XsbDumper.dump() calling method java.io.FileInputStream.<init>()


    private static void dump(java.io.File p5, boolean p6)
    {
        if (!p5.isDirectory()) {
            if ((!p5.getName().endsWith(".jar")) && (!p5.getName().endsWith(".zip"))) {
                if ((p6) || (p5.getName().endsWith(".xsb"))) {
                    try {
                        System.out.println(p5.toString());
                        org.apache.xmlbeans.impl.tool.XsbDumper.dump(new java.io.FileInputStream(p5), "  ");
                        System.out.println();
                    } catch (java.io.FileNotFoundException v0) {
                        System.out.println(v0.toString());
                    }
                }
            } else {
                org.apache.xmlbeans.impl.tool.XsbDumper.dumpZip(p5);
            }
        } else {
            java.io.File[] v1 = p5.listFiles(new org.apache.xmlbeans.impl.tool.XsbDumper$1());
            int v2 = 0;
            while (v2 < v1.length) {
                org.apache.xmlbeans.impl.tool.XsbDumper.dump(v1[v2], 0);
                v2++;
            }
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.StreamInstanceValidator.validateFiles() calling method java.io.FileInputStream.<init>()


    public static void validateFiles(java.io.File[] p20, org.apache.xmlbeans.SchemaTypeLoader p21, org.apache.xmlbeans.XmlOptions p22)
    {
        org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader v2_1 = new org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader();
        java.util.ArrayList v8_1 = new java.util.ArrayList();
        int v13 = 0;
        while (v13 < p20.length) {
            java.io.File v11 = p20[v13];
            String v16 = v11.getPath();
            long v18 = 0;
            v8_1.clear();
            try {
                java.io.FileInputStream v12_1 = new java.io.FileInputStream(v11);
                aavax.xml.stream.XMLStreamReader v3 = org.apache.xmlbeans.impl.tool.StreamInstanceValidator.XML_INPUT_FACTORY.createXMLStreamReader(v16, v12_1);
            } catch (aavax.xml.stream.XMLStreamException v17) {
                aavax.xml.stream.Location v15 = v17.getLocation();
                v8_1.add(org.apache.xmlbeans.XmlError.forLocation(v17.getMessage(), v16, v15.getLineNumber(), v15.getColumnNumber(), v15.getCharacterOffset()));
                if (!v8_1.isEmpty()) {
                    System.out.println(new StringBuffer().append(v11).append(" NOT valid (").append(v18).append(" ms):").toString());
                    java.util.Iterator v14 = v8_1.iterator();
                    while (v14.hasNext()) {
                        System.out.println(org.apache.xmlbeans.impl.tool.StreamInstanceValidator.stringFromError(((org.apache.xmlbeans.XmlError) v14.next()), v16));
                    }
                    v13++;
                } else {
                    System.out.println(new StringBuffer().append(v11).append(" valid. (").append(v18).append(" ms)").toString());
                }
            } catch (Exception v9_0) {
                System.err.println(new StringBuffer().append("error for file: ").append(v11).append(": ").append(v9_0).toString());
                v9_0.printStackTrace(System.err);
            }
            while (!v3.isStartElement()) {
                v3.next();
            }
            v18 = System.currentTimeMillis();
            v2_1.init(v3, 1, 0, p21, p22, v8_1);
            while (v2_1.hasNext()) {
                v2_1.next();
            }
            v18 = (System.currentTimeMillis() - v18);
            v2_1.close();
            v12_1.close();
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.SchemaResourceManager.inputStreamForFile() calling method java.io.FileInputStream.<init>()


    protected java.io.InputStream inputStreamForFile(String p4)
    {
        return new java.io.FileInputStream(new java.io.File(this._directory, p4));
    }

Method org.apache.xmlbeans.impl.tool.RunXQuery.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p24)
    {
        java.util.HashSet v7_1 = new java.util.HashSet();
        v7_1.add("h");
        v7_1.add("help");
        v7_1.add("usage");
        v7_1.add("license");
        v7_1.add("version");
        v7_1.add("verbose");
        v7_1.add("pretty");
        org.apache.xmlbeans.XmlObject v0_18 = new String[2];
        java.io.PrintStream v21_34 = v0_18;
        v21_34[0] = "q";
        v21_34[1] = "qf";
        org.apache.xmlbeans.impl.tool.CommandLine v4_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p24, v7_1, java.util.Arrays.asList(v21_34));
        if ((v4_1.getOpt("h") == null) && ((v4_1.getOpt("help") == null) && (v4_1.getOpt("usage") == null))) {
            String[] v2 = v4_1.getBadOpts();
            if (v2.length <= 0) {
                if (v4_1.getOpt("license") == null) {
                    if (v4_1.getOpt("version") == null) {
                        if (v4_1.args().length != 0) {
                            int v19;
                            if (v4_1.getOpt("verbose") == null) {
                                v19 = 0;
                            } else {
                                v19 = 1;
                            }
                            int v12;
                            if (v4_1.getOpt("pretty") == null) {
                                v12 = 0;
                            } else {
                                v12 = 1;
                            }
                            String v13_0 = v4_1.getOpt("q");
                            String v15 = v4_1.getOpt("qf");
                            if ((v13_0 != null) || (v15 != null)) {
                                if ((v13_0 == null) || (v15 == null)) {
                                    if (v15 != null) {
                                        try {
                                            java.io.FileInputStream v9_1 = new java.io.FileInputStream(new java.io.File(v15));
                                            java.io.InputStreamReader v16 = new java.io.InputStreamReader;
                                            v16(v9_1);
                                            StringBuffer v18_1 = new StringBuffer();
                                        } catch (Throwable v5_0) {
                                            System.err.println(new StringBuffer().append("Cannot read query file: ").append(v5_0.getMessage()).toString());
                                            System.exit(1);
                                            return;
                                        }
                                        while(true) {
                                            int v3_0 = v16.read();
                                            if (v3_0 < 0) {
                                                break;
                                            }
                                            v18_1.append(((char) v3_0));
                                        }
                                        v16.close();
                                        v9_1.close();
                                        v13_0 = v18_1.toString();
                                    }
                                    if (v19 != 0) {
                                        System.out.println("Compile Query:");
                                        System.out.println(v13_0);
                                        System.out.println();
                                    }
                                    try {
                                        String v13_1 = org.apache.xmlbeans.XmlBeans.compileQuery(v13_0);
                                        java.io.File[] v6 = v4_1.getFiles();
                                        int v8_0 = 0;
                                    } catch (Throwable v5_1) {
                                        System.err.println(new StringBuffer().append("Error compiling query: ").append(v5_1.getMessage()).toString());
                                        System.exit(1);
                                    }
                                    while (v8_0 < v6.length) {
                                        if (v19 != 0) {
                                            try {
                                                java.io.FileInputStream v9_3 = new java.io.FileInputStream(v6[v8_0]);
                                            } catch (Throwable v5_2) {
                                                System.err.println(new StringBuffer().append("Error parsing instance: ").append(v5_2.getMessage()).toString());
                                                System.exit(1);
                                                break;
                                            }
                                            while(true) {
                                                int v3_1 = v9_3.read();
                                                if (v3_1 < 0) {
                                                    break;
                                                }
                                                System.out.write(v3_1);
                                            }
                                            v9_3.close();
                                            System.out.println();
                                        }
                                        org.apache.xmlbeans.XmlObject v20 = org.apache.xmlbeans.XmlObject$Factory.parse(v6[v8_0]);
                                        if (v19 != 0) {
                                            System.out.println("Executing Query...");
                                            System.err.println();
                                        }
                                        try {
                                            org.apache.xmlbeans.XmlObject[] v17 = v20.execQuery(v13_1);
                                        } catch (Throwable v5_3) {
                                            System.err.println(new StringBuffer().append("Error executing query: ").append(v5_3.getMessage()).toString());
                                            System.exit(1);
                                            break;
                                        }
                                        if (v19 != 0) {
                                            System.out.println("Query Result:");
                                        }
                                        org.apache.xmlbeans.XmlOptions v11_1 = new org.apache.xmlbeans.XmlOptions();
                                        v11_1.setSaveOuter();
                                        if (v12 != 0) {
                                            v11_1.setSavePrettyPrint();
                                        }
                                        int v10 = 0;
                                        while (v10 < v17.length) {
                                            v17[v10].save(System.out, v11_1);
                                            System.out.println();
                                            v10++;
                                        }
                                        v8_0++;
                                    }
                                } else {
                                    System.err.println("Specify -qf or -q, not both.");
                                    System.exit(0);
                                }
                            } else {
                                System.err.println("No query specified");
                                System.exit(0);
                            }
                        } else {
                            org.apache.xmlbeans.impl.tool.RunXQuery.printUsage();
                            System.exit(0);
                        }
                    } else {
                        org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                        System.exit(0);
                    }
                } else {
                    org.apache.xmlbeans.impl.tool.CommandLine.printLicense();
                    System.exit(0);
                }
            } else {
                int v8_1 = 0;
                while (v8_1 < v2.length) {
                    System.out.println(new StringBuffer().append("Unrecognized option: ").append(v2[v8_1]).toString());
                    v8_1++;
                }
                org.apache.xmlbeans.impl.tool.RunXQuery.printUsage();
                System.exit(0);
            }
        } else {
            org.apache.xmlbeans.impl.tool.RunXQuery.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.Diff.filesAsXsb() calling method java.io.FileInputStream.<init>()


    public static void filesAsXsb(java.io.File p5, java.io.File p6, java.util.List p7)
    {
        if ((org.apache.xmlbeans.impl.tool.Diff.$assertionsDisabled) || (p5.exists())) {
            if ((org.apache.xmlbeans.impl.tool.Diff.$assertionsDisabled) || (p6.exists())) {
                try {
                    org.apache.xmlbeans.impl.tool.Diff.streamsAsXsb(new java.io.FileInputStream(p5), p5.getName(), new java.io.FileInputStream(p6), p6.getName(), p7);
                } catch (java.io.IOException v2) {
                } catch (java.io.IOException v2) {
                }
                return;
            } else {
                throw new AssertionError(new StringBuffer().append("File \"").append(p6.getAbsolutePath()).append("\" does not exist.").toString());
            }
        } else {
            throw new AssertionError(new StringBuffer().append("File \"").append(p5.getAbsolutePath()).append("\" does not exist.").toString());
        }
    }

Method org.apache.xmlbeans.impl.soap.FactoryFinder.find() calling method java.io.FileInputStream.<init>()


    static Object find(String p11, String p12)
    {
        try {
            Object v8_16;
            String v1_0 = org.apache.xmlbeans.SystemProperties.getProperty(p11);
        } catch (Object v8) {
            try {
                java.io.File v3_1 = new java.io.File(new StringBuffer().append(org.apache.xmlbeans.SystemProperties.getProperty("java.home")).append(java.io.File.separator).append("lib").append(java.io.File.separator).append("jaxm.properties").toString());
            } catch (Object v8) {
                try {
                    java.io.InputStream v5 = org.apache.xmlbeans.impl.soap.FactoryFinder.getResource(new StringBuffer().append("META-INF/services/").append(p11).toString());
                } catch (Object v8) {
                    if (p12 != null) {
                        v8_16 = org.apache.xmlbeans.impl.soap.FactoryFinder.newInstance(p12);
                        return v8_16;
                    } else {
                        throw new org.apache.xmlbeans.impl.soap.SOAPException(new StringBuffer().append("Provider for ").append(p11).append(" cannot be found").toString(), 0);
                    }
                }
                if (v5 == null) {
                } else {
                    java.io.BufferedReader v0_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v5, "UTF-8"));
                    String v1_1 = v0_1.readLine();
                    v0_1.close();
                    if ((v1_1 == null) || ("".equals(v1_1))) {
                    } else {
                        v8_16 = org.apache.xmlbeans.impl.soap.FactoryFinder.newInstance(v1_1);
                        return v8_16;
                    }
                }
            }
            if (!v3_1.exists()) {
            } else {
                java.io.FileInputStream v4_1 = new java.io.FileInputStream(v3_1);
                java.util.Properties v6_1 = new java.util.Properties();
                v6_1.load(v4_1);
                v4_1.close();
                v8_16 = org.apache.xmlbeans.impl.soap.FactoryFinder.newInstance(v6_1.getProperty(p11));
                return v8_16;
            }
        }
        if (v1_0 == null) {
        } else {
            v8_16 = org.apache.xmlbeans.impl.soap.FactoryFinder.newInstance(v1_0);
            return v8_16;
        }
    }

Method org.apache.xmlbeans.impl.schema.FileResourceLoader.getResourceAsStream() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream getResourceAsStream(String p7)
    {
        java.io.InputStream v2 = 0;
        try {
            if (this._zipfile == null) {
                v2 = new java.io.FileInputStream(new java.io.File(this._directory, p7));
            } else {
                java.util.zip.ZipEntry v1 = this._zipfile.getEntry(p7);
                if (v1 != null) {
                    v2 = this._zipfile.getInputStream(v1);
                }
            }
        } catch (java.io.IOException v0) {
        }
        return v2;
    }

Method org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse() calling method java.io.FileInputStream.<init>()


    public org.apache.xmlbeans.XmlObject parse(java.io.File p5, org.apache.xmlbeans.SchemaType p6, org.apache.xmlbeans.XmlOptions p7)
    {
        if (p7 != null) {
            if (!p7.hasOption("DOCUMENT_SOURCE_NAME")) {
                org.apache.xmlbeans.XmlOptions v1_1 = new org.apache.xmlbeans.XmlOptions(p7);
                v1_1.put("DOCUMENT_SOURCE_NAME", p5.toURI().normalize().toString());
                p7 = v1_1;
            }
        } else {
            p7 = new org.apache.xmlbeans.XmlOptions();
            p7.put("DOCUMENT_SOURCE_NAME", p5.toURI().normalize().toString());
        }
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p5);
        try {
            Throwable v2_2 = this.parse(v0_1, p6, p7);
            v0_1.close();
            return v2_2;
        } catch (Throwable v2_4) {
            v0_1.close();
            throw v2_4;
        }
    }

Method org.apache.xmlbeans.impl.piccolo.xml.JAXPSAXParserFactory.findValidatingFactory() calling method java.io.FileInputStream.<init>()


    private static Class findValidatingFactory()
    {
        try {
            Class v8_16;
            String v7_0 = System.getProperty("org.apache.xmlbeans.impl.piccolo.xml.ValidatingSAXParserFactory");
        } catch (Class v8) {
            try {
                java.io.File v3_1 = new java.io.File(new StringBuffer().append(System.getProperty("java.home")).append(java.io.File.separator).append("lib").append(java.io.File.separator).append("jaxp.properties").toString());
            } catch (Class v8) {
                try {
                    java.util.Enumeration v2 = org.apache.xmlbeans.impl.piccolo.util.FactoryServiceFinder.findServices("javax.xml.parsers.SAXParserFactory");
                } catch (Class v8) {
                    try {
                        v8_16 = Class.forName("org.apache.crimson.jaxp.SAXParserFactoryImpl");
                    } catch (ClassNotFoundException v1) {
                        v8_16 = 0;
                    }
                    return v8_16;
                }
                while (v2.hasMoreElements()) {
                    try {
                        String v4_1 = ((String) v2.nextElement());
                    } catch (Class v8) {
                    }
                    if (!v4_1.equals("org.apache.xmlbeans.impl.piccolo.xml.Piccolo")) {
                        v8_16 = Class.forName(v4_1);
                        return v8_16;
                    }
                }
            }
            if (!v3_1.exists()) {
            } else {
                java.util.Properties v6_1 = new java.util.Properties();
                v6_1.load(new java.io.FileInputStream(v3_1));
                String v7_1 = v6_1.getProperty("org.apache.xmlbeans.impl.piccolo.xml.ValidatingSAXParserFactory");
                if (v7_1 == null) {
                } else {
                    v8_16 = Class.forName(v7_1);
                    return v8_16;
                }
            }
        }
        if (v7_0 == null) {
        } else {
            v8_16 = Class.forName(v7_0);
            return v8_16;
        }
    }

Method org.apache.xmlbeans.impl.jam.provider.ResourcePath.findInPath() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream findInPath(String p5)
    {
        int v1 = 0;
        while (v1 < this.mFiles.length) {
            java.io.File v0_1 = new java.io.File(this.mFiles[v1], p5);
            try {
                if (v0_1.exists()) {
                    java.io.FileInputStream v3_3 = new java.io.FileInputStream(v0_1);
                    return v3_3;
                }
                v1++;
            } catch (java.io.FileNotFoundException v2) {
                v2.printStackTrace();
            }
        }
        v3_3 = 0;
        return v3_3;
    }

Method org.apache.xmlbeans.impl.common.JarHelper.unjarDir() calling method java.io.FileInputStream.<init>()


    public void unjarDir(java.io.File p3, java.io.File p4)
    {
        this.unjar(new java.io.FileInputStream(p3), p4);
        return;
    }

Method org.apache.xmlbeans.impl.common.JarHelper.jarDir() calling method java.io.FileInputStream.<init>()


    private void jarDir(java.io.File p12, java.util.jar.JarOutputStream p13, String p14)
    {
        if (this.mVerbose) {
            System.out.println(new StringBuffer().append("checking ").append(p12).toString());
        }
        if (!p12.isDirectory()) {
            if (!p12.getCanonicalPath().equals(this.mDestJarName)) {
                if (this.mVerbose) {
                    System.out.println(new StringBuffer().append("adding ").append(p12.getPath()).toString());
                }
                java.io.FileInputStream v3_1 = new java.io.FileInputStream(p12);
                try {
                    java.util.jar.JarEntry v1_1 = new java.util.jar.JarEntry(new StringBuffer().append(p14).append(p12.getName()).toString());
                    v1_1.setTime(p12.lastModified());
                    p13.putNextEntry(v1_1);
                } catch (java.io.PrintStream v8_25) {
                    v3_1.close();
                    throw v8_25;
                } catch (java.io.IOException v5) {
                    throw v5;
                }
                do {
                    java.io.PrintStream v8_22 = v3_1.read(this.mBuffer);
                    this.mByteCount = v8_22;
                    if (v8_22 == -1) {
                        p13.flush();
                        p13.closeEntry();
                        v3_1.close();
                    } else {
                        p13.write(this.mBuffer, 0, this.mByteCount);
                    }
                } while(!this.mVerbose);
                System.out.println(new StringBuffer().append("wrote ").append(this.mByteCount).append(" bytes").toString());
            } else {
                if (this.mVerbose) {
                    System.out.println(new StringBuffer().append("skipping ").append(p12.getPath()).toString());
                }
            }
        } else {
            String v7;
            String[] v0 = p12.list();
            if (p14 != null) {
                v7 = new StringBuffer().append(p14).append(p12.getName()).append(47).toString();
            } else {
                v7 = "";
            }
            if (p14 != null) {
                java.util.jar.JarEntry v6_1 = new java.util.jar.JarEntry(v7);
                v6_1.setTime(p12.lastModified());
                p13.putNextEntry(v6_1);
                p13.flush();
                p13.closeEntry();
            }
            int v4 = 0;
            while (v4 < v0.length) {
                this.jarDir(new java.io.File(p12, v0[v4]), p13, v7);
                v4++;
            }
        }
        return;
    }

Method org.apache.xmlbeans.impl.common.IOUtil.copyCompletely() calling method java.io.FileInputStream.<init>()


    public static void copyCompletely(java.net.URI p9, java.net.URI p10)
    {
        java.io.InputStream v3 = 0;
        try {
            java.io.File v2_1 = new java.io.File(p9);
        } catch (java.io.FileOutputStream v6) {
            java.io.File v5_1 = new java.io.File(p10);
            v5_1.getParentFile().mkdirs();
            if (v3 == null) {
                v3 = p9.toURL().openStream();
            }
            org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v3, new java.io.FileOutputStream(v5_1));
            return;
        } catch (IllegalArgumentException v1) {
            throw new java.io.IOException(new StringBuffer().append("Cannot copy to ").append(p10).toString());
        }
        if (!v2_1.exists()) {
        } else {
            v3 = new java.io.FileInputStream(v2_1);
        }
    }

Method org.apache.xml.security.utils.resolver.implementations.ResolverLocalFilesystem.engineResolve() calling method java.io.FileInputStream.<init>()


    public org.apache.xml.security.signature.XMLSignatureInput engineResolve(org.w3c.dom.Attr p4, String p5)
    {
        try {
            Exception v0_3 = new org.apache.xml.utils.URI(new org.apache.xml.utils.URI(p5), p4.getNodeValue());
            org.apache.xml.security.utils.resolver.ResourceResolverException v1_9 = new org.apache.xml.utils.URI(v0_3);
            v1_9.setFragment(0);
            org.apache.xml.security.utils.resolver.ResourceResolverException v1_4 = new org.apache.xml.security.signature.XMLSignatureInput(new java.io.FileInputStream(org.apache.xml.security.utils.resolver.implementations.ResolverLocalFilesystem.translateUriToFilename(v1_9.toString())));
            v1_4.setSourceURI(v0_3.toString());
            return v1_4;
        } catch (Exception v0_2) {
            throw new org.apache.xml.security.utils.resolver.ResourceResolverException("generic.EmptyMessage", v0_2, p4, p5);
        }
    }

Method org.apache.xml.security.utils.resolver.implementations.ResolverAnonymous.<init>() calling method java.io.FileInputStream.<init>()


    public ResolverAnonymous(String p3)
    {
        this._input = 0;
        this._input = new org.apache.xml.security.signature.XMLSignatureInput(new java.io.FileInputStream(p3));
        return;
    }

Method org.apache.xml.security.utils.JavaUtils.getBytesFromFile() calling method java.io.FileInputStream.<init>()


    public static byte[] getBytesFromFile(String p5)
    {
        byte[] v0_1 = new java.io.FileInputStream(p5);
        org.apache.xml.security.utils.UnsyncByteArrayOutputStream v1_1 = new org.apache.xml.security.utils.UnsyncByteArrayOutputStream();
        byte[] v2_1 = new byte[1024];
        while(true) {
            int v3 = v0_1.read(v2_1);
            if (v3 <= 0) {
                break;
            }
            v1_1.write(v2_1, 0, v3);
        }
        return v1_1.toByteArray();
    }

Method org.apache.xml.security.keys.storage.implementations.KeyStoreResolver.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p3)
    {
        String v0_6 = java.security.KeyStore.getInstance(java.security.KeyStore.getDefaultType());
        v0_6.load(new java.io.FileInputStream("data/org/apache/xml/security/samples/input/keystore.jks"), "xmlsecurity".toCharArray());
        java.util.Iterator v1_2 = new org.apache.xml.security.keys.storage.implementations.KeyStoreResolver(v0_6).getIterator();
        while (v1_2.hasNext()) {
            System.out.println(org.apache.xml.security.utils.Base64.encode(org.apache.xml.security.keys.content.x509.XMLX509SKI.getSKIBytesFromCert(((java.security.cert.X509Certificate) v1_2.next()))));
        }
        return;
    }

Method org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.readCertsFromHarddrive() calling method java.io.FileInputStream.<init>()


    private void readCertsFromHarddrive()
    {
        java.io.File v4_1 = new java.io.File(this._merlinsCertificatesDir);
        java.util.ArrayList v5_1 = new java.util.ArrayList();
        int v2_2 = v4_1.list();
        String v0_10 = 0;
        while (v0_10 < v2_2.length) {
            if (v2_2[v0_10].endsWith(".crt")) {
                v5_1.add(v2_2[v0_10]);
            }
            v0_10++;
        }
        try {
            java.security.cert.CertificateFactory v6_0 = java.security.cert.CertificateFactory.getInstance("X.509");
        } catch (String v0_9) {
            throw new org.apache.xml.security.keys.storage.StorageResolverException("empty", v0_9);
        }
        if (v6_0 != null) {
            int v2_0 = 0;
            while (v2_0 < v5_1.size()) {
                StringBuffer v7_7 = new StringBuffer().append(v4_1.getAbsolutePath()).append(java.io.File.separator).append(((String) v5_1.get(v2_0))).toString();
                try {
                    String v8_4 = new java.io.FileInputStream(new java.io.File(v7_7));
                    String v0_22 = ((java.security.cert.X509Certificate) v6_0.generateCertificate(v8_4));
                    v8_4.close();
                    v0_22.checkValidity();
                    this._certs.add(v0_22);
                    String v0_2 = v0_22.getSubjectDN().getName();
                    org.apache.commons.logging.Log v3_0 = 1;
                } catch (String v0_3) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_3);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_0) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_0);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_26) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_26);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_25) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_25);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_24) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_24);
                    v0_2 = 1;
                    v3_0 = 0;
                }
                if ((v3_0 != null) && (org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.isDebugEnabled())) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Added certificate: ").append(v0_2).toString());
                }
                v2_0++;
            }
            return;
        } else {
            throw new org.apache.xml.security.keys.storage.StorageResolverException("empty");
        }
    }

Method org.apache.poi.xssf.streaming.GZIPSheetDataWriter.getWorksheetXMLInputStream() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream getWorksheetXMLInputStream()
    {
        return new java.util.zip.GZIPInputStream(new java.io.FileInputStream(this.getTempFile()));
    }

Method org.apache.poi.xssf.streaming.SheetDataWriter.getWorksheetXMLInputStream() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream getWorksheetXMLInputStream()
    {
        return new java.io.FileInputStream(this.getTempFile());
    }

Method org.apache.poi.openxml4j.opc.internal.FileHelper.copyFile() calling method java.io.FileInputStream.<init>()


    public static void copyFile(java.io.File p7, java.io.File p8)
    {
        java.nio.channels.FileChannel v1 = new java.io.FileInputStream(p7).getChannel();
        java.nio.channels.FileChannel v6 = new java.io.FileOutputStream(p8).getChannel();
        v1.transferTo(0, v1.size(), v6);
        v1.close();
        v6.close();
        return;
    }

Method org.apache.poi.hssf.usermodel.StaticFontMetrics.getFontDetails() calling method java.io.FileInputStream.<init>()


    public static org.apache.poi.hssf.usermodel.FontDetails getFontDetails(java.awt.Font p11)
    {
        if (org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps == null) {
            java.io.FileInputStream v5 = 0;
            try {
                org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps = new java.util.Properties();
                try {
                    String v7 = System.getProperty("font.metrics.filename");
                } catch (java.io.IOException v8) {
                }
                if (v7 == null) {
                    v5 = org.apache.poi.hssf.usermodel.FontDetails.getResourceAsStream("/font_metrics.properties");
                    if (v5 == null) {
                        throw new java.io.FileNotFoundException("font_metrics.properties not found in classpath");
                    }
                } else {
                    java.io.File v1_1 = new java.io.File(v7);
                    if (v1_1.exists()) {
                        v5 = new java.io.FileInputStream(v1_1);
                    } else {
                        throw new java.io.FileNotFoundException(new StringBuilder().append("font_metrics.properties not found at path ").append(v1_1.getAbsolutePath()).toString());
                    }
                }
                org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps.load(v5);
                if (v5 != null) {
                    try {
                        v5.close();
                    } catch (java.io.IOException v8) {
                    }
                }
            } catch (java.io.IOException v0) {
                throw new RuntimeException(new StringBuilder().append("Could not load font metrics: ").append(v0.getMessage()).toString());
            } catch (java.io.IOException v8_15) {
                if (v5 != null) {
                    try {
                        v5.close();
                    } catch (String v9) {
                    }
                }
                throw v8_15;
            }
        }
        String v3 = p11.getName();
        String v4 = "";
        if (p11.isPlain()) {
            v4 = new StringBuilder().append("").append("plain").toString();
        }
        if (p11.isBold()) {
            v4 = new StringBuilder().append(v4).append("bold").toString();
        }
        if (p11.isItalic()) {
            v4 = new StringBuilder().append(v4).append("italic").toString();
        }
        if ((org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps.get(org.apache.poi.hssf.usermodel.FontDetails.buildFontHeightProperty(v3)) == null) && (org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps.get(org.apache.poi.hssf.usermodel.FontDetails.buildFontHeightProperty(new StringBuilder().append(v3).append(".").append(v4).toString())) != null)) {
            v3 = new StringBuilder().append(v3).append(".").append(v4).toString();
        }
        org.apache.poi.hssf.usermodel.FontDetails v2;
        if (org.apache.poi.hssf.usermodel.StaticFontMetrics.fontDetailsMap.get(v3) != null) {
            v2 = ((org.apache.poi.hssf.usermodel.FontDetails) org.apache.poi.hssf.usermodel.StaticFontMetrics.fontDetailsMap.get(v3));
        } else {
            v2 = org.apache.poi.hssf.usermodel.FontDetails.create(v3, org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps);
            org.apache.poi.hssf.usermodel.StaticFontMetrics.fontDetailsMap.put(v3, v2);
        }
        return v2;
    }

Method org.apache.poi.hssf.dev.ReSave.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p14)
    {
        int v4 = 0;
        int v6 = p14.length;
        int v3 = 0;
        while (v3 < v6) {
            String v0 = p14[v3];
            if (!v0.equals("-dg")) {
                System.out.print(new StringBuilder().append("reading ").append(v0).append("...").toString());
                java.io.FileInputStream v5_1 = new java.io.FileInputStream(v0);
                org.apache.poi.hssf.usermodel.HSSFWorkbook v10_1 = new org.apache.poi.hssf.usermodel.HSSFWorkbook(v5_1);
                v5_1.close();
                System.out.println("done");
                int v2 = 0;
                while (v2 < v10_1.getNumberOfSheets()) {
                    org.apache.poi.hssf.usermodel.HSSFSheet v9 = v10_1.getSheetAt(v2);
                    if (v4 != 0) {
                        v9.getDrawingPatriarch();
                    }
                    v2++;
                }
                String v8 = v0.replace(".xls", "-saved.xls");
                System.out.print(new StringBuilder().append("saving to ").append(v8).append("...").toString());
                java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v8);
                v10_1.write(v7_1);
                v7_1.close();
                System.out.println("done");
            } else {
                v4 = 1;
            }
            v3++;
        }
        return;
    }

Method org.apache.poi.hssf.dev.BiffViewer.getPOIFSInputStream() calling method java.io.FileInputStream.<init>()


    protected static java.io.InputStream getPOIFSInputStream(java.io.File p3)
    {
        org.apache.poi.poifs.filesystem.POIFSFileSystem v0_1 = new org.apache.poi.poifs.filesystem.POIFSFileSystem(new java.io.FileInputStream(p3));
        return v0_1.createDocumentInputStream(org.apache.poi.hssf.usermodel.HSSFWorkbook.getWorkbookDirEntryName(v0_1.getRoot()));
    }

Method org.apache.poi.hssf.dev.BiffDrawingToXml.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p6)
    {
        if (p6.length != 0) {
            String v1 = org.apache.poi.hssf.dev.BiffDrawingToXml.getInputFileName(p6);
            java.io.FileInputStream v0_1 = new java.io.FileInputStream(v1);
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(org.apache.poi.hssf.dev.BiffDrawingToXml.getOutputFileName(v1));
            org.apache.poi.hssf.dev.BiffDrawingToXml.writeToFile(v3_1, v0_1, org.apache.poi.hssf.dev.BiffDrawingToXml.isExcludeWorkbookRecords(p6), p6);
            v0_1.close();
            v3_1.close();
        } else {
            System.out.println("Usage: BiffDrawingToXml [options] inputWorkbook");
            System.out.println("Options:");
            System.out.println("  -exclude-workbook            exclude workbook-level records");
            System.out.println("  -sheet-indexes   <indexes>   output sheets with specified indexes");
            System.out.println("  -sheet-namek  <names>        output sheets with specified name");
        }
        return;
    }

Method org.apache.http.ssl.SSLContextBuilder.loadTrustMaterial() calling method java.io.FileInputStream.<init>()


    public org.apache.http.ssl.SSLContextBuilder loadTrustMaterial(java.io.File p4, char[] p5, org.apache.http.ssl.TrustStrategy p6)
    {
        org.apache.http.util.Args.notNull(p4, "Truststore file");
        java.security.KeyStore v1 = java.security.KeyStore.getInstance(java.security.KeyStore.getDefaultType());
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
        try {
            v1.load(v0_1, p5);
            v0_1.close();
            return this.loadTrustMaterial(v1, p6);
        } catch (Throwable v2_2) {
            v0_1.close();
            throw v2_2;
        }
    }

Method org.apache.http.ssl.SSLContextBuilder.loadKeyMaterial() calling method java.io.FileInputStream.<init>()


    public org.apache.http.ssl.SSLContextBuilder loadKeyMaterial(java.io.File p4, char[] p5, char[] p6, org.apache.http.ssl.PrivateKeyStrategy p7)
    {
        org.apache.http.util.Args.notNull(p4, "Keystore file");
        java.security.KeyStore v0 = java.security.KeyStore.getInstance(java.security.KeyStore.getDefaultType());
        java.io.FileInputStream v1_1 = new java.io.FileInputStream(p4);
        try {
            v0.load(v1_1, p5);
            v1_1.close();
            return this.loadKeyMaterial(v0, p6, p7);
        } catch (Throwable v2_2) {
            v1_1.close();
            throw v2_2;
        }
    }

Method org.apache.commons.io.output.DeferredFileOutputStream.writeTo() calling method java.io.FileInputStream.<init>()


    public void writeTo(java.io.OutputStream p4)
    {
        if (this.closed) {
            if (!this.isInMemory()) {
                java.io.FileInputStream v0_1 = new java.io.FileInputStream(this.outputFile);
                try {
                    org.apache.commons.io.IOUtils.copy(v0_1, p4);
                    org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                } catch (Throwable v1_1) {
                    org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                    throw v1_1;
                }
            } else {
                this.memoryOutputStream.writeTo(p4);
            }
            return;
        } else {
            throw new java.io.IOException("Stream not closed");
        }
    }

Method org.apache.commons.io.FileUtils.openInputStream() calling method java.io.FileInputStream.<init>()


    public static java.io.FileInputStream openInputStream(java.io.File p3)
    {
        if (!p3.exists()) {
            throw new java.io.FileNotFoundException(new StringBuffer().append("File \'").append(p3).append("\' does not exist").toString());
        } else {
            if (!p3.isDirectory()) {
                if (p3.canRead()) {
                    return new java.io.FileInputStream(p3);
                } else {
                    throw new java.io.IOException(new StringBuffer().append("File \'").append(p3).append("\' cannot be read").toString());
                }
            } else {
                throw new java.io.IOException(new StringBuffer().append("File \'").append(p3).append("\' exists but is a directory").toString());
            }
        }
    }

Method org.apache.commons.io.FileUtils.doCopyFile() calling method java.io.FileInputStream.<init>()


    private static void doCopyFile(java.io.File p6, java.io.File p7, boolean p8)
    {
        if ((!p7.exists()) || (!p7.isDirectory())) {
            java.io.FileInputStream v0_1 = new java.io.FileInputStream(p6);
            try {
                java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p7);
                try {
                    org.apache.commons.io.IOUtils.copy(v0_1, v1_1);
                } catch (long v2_1) {
                    org.apache.commons.io.IOUtils.closeQuietly(v1_1);
                    throw v2_1;
                }
                org.apache.commons.io.IOUtils.closeQuietly(v1_1);
                org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                if (p6.length() == p7.length()) {
                    if (p8) {
                        p7.setLastModified(p6.lastModified());
                    }
                    return;
                } else {
                    throw new java.io.IOException(new StringBuffer().append("Failed to copy full contents from \'").append(p6).append("\' to \'").append(p7).append("\'").toString());
                }
            } catch (long v2_4) {
                org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                throw v2_4;
            }
        } else {
            throw new java.io.IOException(new StringBuffer().append("Destination \'").append(p7).append("\' exists but is a directory").toString());
        }
    }

Method org.apache.commons.io.FileUtils.contentEquals() calling method java.io.FileInputStream.<init>()


    public static boolean contentEquals(java.io.File p12, java.io.File p13)
    {
        Throwable v5_0 = 0;
        boolean v0 = p12.exists();
        if (v0 == p13.exists()) {
            if (v0) {
                if ((!p12.isDirectory()) && (!p13.isDirectory())) {
                    if (p12.length() == p13.length()) {
                        if (!p12.getCanonicalFile().equals(p13.getCanonicalFile())) {
                            java.io.FileInputStream v1 = 0;
                            java.io.FileInputStream v3 = 0;
                            try {
                                java.io.FileInputStream v2_1 = new java.io.FileInputStream(p12);
                                try {
                                    java.io.FileInputStream v4_1 = new java.io.FileInputStream(p13);
                                    try {
                                        v5_0 = org.apache.commons.io.IOUtils.contentEquals(v2_1, v4_1);
                                        org.apache.commons.io.IOUtils.closeQuietly(v2_1);
                                        org.apache.commons.io.IOUtils.closeQuietly(v4_1);
                                    } catch (Throwable v5_3) {
                                        v3 = v4_1;
                                        v1 = v2_1;
                                        org.apache.commons.io.IOUtils.closeQuietly(v1);
                                        org.apache.commons.io.IOUtils.closeQuietly(v3);
                                        throw v5_3;
                                    }
                                } catch (Throwable v5_3) {
                                    v1 = v2_1;
                                }
                            } catch (Throwable v5_3) {
                            }
                        } else {
                            v5_0 = 1;
                        }
                    }
                } else {
                    throw new java.io.IOException("Can\'t compare directories, only files");
                }
            } else {
                v5_0 = 1;
            }
        }
        return v5_0;
    }

Method org.apache.commons.io.FileUtils.checksum() calling method java.io.FileInputStream.<init>()


    public static java.util.zip.Checksum checksum(java.io.File p4, java.util.zip.Checksum p5)
    {
        if (!p4.isDirectory()) {
            java.util.zip.CheckedInputStream v0 = 0;
            try {
                java.util.zip.CheckedInputStream v1_1 = new java.util.zip.CheckedInputStream(new java.io.FileInputStream(p4), p5);
                try {
                    org.apache.commons.io.IOUtils.copy(v1_1, new org.apache.commons.io.output.NullOutputStream());
                    org.apache.commons.io.IOUtils.closeQuietly(v1_1);
                    return p5;
                } catch (Throwable v2_2) {
                    v0 = v1_1;
                    org.apache.commons.io.IOUtils.closeQuietly(v0);
                    throw v2_2;
                }
            } catch (Throwable v2_2) {
            }
            org.apache.commons.io.IOUtils.copy(v1_1, new org.apache.commons.io.output.NullOutputStream());
            org.apache.commons.io.IOUtils.closeQuietly(v1_1);
            return p5;
        } else {
            throw new IllegalArgumentException("Checksums can\'t be computed on directories");
        }
    }

Method okio.Okio.source() calling method java.io.FileInputStream.<init>()


    public static okio.Source source(java.io.File p2)
    {
        if (p2 != null) {
            return okio.Okio.source(new java.io.FileInputStream(p2));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

Method jxl.demo.WriteAccess.<init>() calling method java.io.FileInputStream.<init>()


    public WriteAccess(java.io.File p5)
    {
        jxl.WorkbookSettings v2_1 = new jxl.WorkbookSettings();
        java.io.FileInputStream v1_1 = new java.io.FileInputStream(p5);
        this.reader = new jxl.read.biff.BiffRecordReader(new jxl.read.biff.File(v1_1, v2_1));
        this.display(v2_1);
        v1_1.close();
        return;
    }

Method jxl.demo.PropertySetsReader.<init>() calling method java.io.FileInputStream.<init>()


    public PropertySetsReader(java.io.File p11, String p12, java.io.OutputStream p13)
    {
        this.writer = new java.io.BufferedWriter(new java.io.OutputStreamWriter(p13));
        java.io.FileInputStream v3_1 = new java.io.FileInputStream(p11);
        byte[] v2 = new byte[1048576];
        int v1 = v3_1.read(v2);
        int v6 = v1;
        while (v1 != -1) {
            if (v6 >= v2.length) {
                byte[] v5 = new byte[(v2.length + 1048576)];
                System.arraycopy(v2, 0, v5, 0, v2.length);
                v2 = v5;
            }
            v1 = v3_1.read(v2, v6, (v2.length - v6));
            v6 += v1;
        }
        this.compoundFile = new jxl.read.biff.CompoundFile(v2, new jxl.WorkbookSettings());
        v3_1.close();
        if (p12 != null) {
            this.displayPropertySet(p12, p13);
        } else {
            this.displaySets();
        }
        return;
    }

Method jxl.demo.BiffDump.<init>() calling method java.io.FileInputStream.<init>()


    public BiffDump(java.io.File p5, java.io.OutputStream p6)
    {
        this.writer = new java.io.BufferedWriter(new java.io.OutputStreamWriter(p6));
        java.io.FileInputStream v1_1 = new java.io.FileInputStream(p5);
        this.reader = new jxl.read.biff.BiffRecordReader(new jxl.read.biff.File(v1_1, new jxl.WorkbookSettings()));
        this.buildNameHash();
        this.dump();
        this.writer.flush();
        this.writer.close();
        v1_1.close();
        return;
    }

Method jxl.biff.drawing.PNGReader.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p8)
    {
        try {
            java.io.File v1_1 = new java.io.File(p8[0]);
            byte[] v0 = new byte[((int) v1_1.length())];
            java.io.FileInputStream v2_1 = new java.io.FileInputStream(v1_1);
            v2_1.read(v0);
            v2_1.close();
            new jxl.biff.drawing.PNGReader(v0).read();
        } catch (Throwable v5) {
            v5.printStackTrace();
        }
        return;
    }

Method jxl.biff.drawing.Drawing.getImageBytes() calling method java.io.FileInputStream.<init>()


    public byte[] getImageBytes()
    {
        byte[] v0;
        int v3 = 1;
        if ((this.origin != jxl.biff.drawing.Origin.READ) && (this.origin != jxl.biff.drawing.Origin.READ_WRITE)) {
            int v2_0;
            if (this.origin != jxl.biff.drawing.Origin.WRITE) {
                v2_0 = 0;
            } else {
                v2_0 = 1;
            }
            jxl.common.Assert.verify(v2_0);
            if (this.imageFile != null) {
                v0 = new byte[((int) this.imageFile.length())];
                java.io.FileInputStream v1_1 = new java.io.FileInputStream(this.imageFile);
                v1_1.read(v0, 0, v0.length);
                v1_1.close();
            } else {
                if (this.imageData == null) {
                    v3 = 0;
                }
                jxl.common.Assert.verify(v3);
                v0 = this.imageData;
            }
        } else {
            v0 = this.getImageData();
        }
        return v0;
    }

Method jxl.biff.drawing.Drawing2.getImageBytes() calling method java.io.FileInputStream.<init>()


    public byte[] getImageBytes()
    {
        byte[] v0;
        int v3 = 1;
        jxl.common.Assert.verify(0);
        if ((this.origin != jxl.biff.drawing.Origin.READ) && (this.origin != jxl.biff.drawing.Origin.READ_WRITE)) {
            int v2_0;
            if (this.origin != jxl.biff.drawing.Origin.WRITE) {
                v2_0 = 0;
            } else {
                v2_0 = 1;
            }
            jxl.common.Assert.verify(v2_0);
            if (this.imageFile != null) {
                v0 = new byte[((int) this.imageFile.length())];
                java.io.FileInputStream v1_1 = new java.io.FileInputStream(this.imageFile);
                v1_1.read(v0, 0, v0.length);
                v1_1.close();
            } else {
                if (this.imageData == null) {
                    v3 = 0;
                }
                jxl.common.Assert.verify(v3);
                v0 = this.imageData;
            }
        } else {
            v0 = this.getImageData();
        }
        return v0;
    }

Method jxl.Workbook.getWorkbook() calling method java.io.FileInputStream.<init>()


    public static jxl.Workbook getWorkbook(java.io.File p4, jxl.WorkbookSettings p5)
    {
        java.io.FileInputStream v2_1 = new java.io.FileInputStream(p4);
        try {
            jxl.read.biff.File v0_1 = new jxl.read.biff.File(v2_1, p5);
            v2_1.close();
            jxl.read.biff.WorkbookParser v3_1 = new jxl.read.biff.WorkbookParser(v0_1, p5);
            v3_1.parse();
            return v3_1;
        } catch (jxl.read.biff.BiffException v1_1) {
            v2_1.close();
            throw v1_1;
        } catch (jxl.read.biff.BiffException v1_0) {
            v2_1.close();
            throw v1_0;
        }
    }

Method javax.activation.FileDataSource.getInputStream() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream getInputStream()
    {
        return new java.io.FileInputStream(this._file);
    }

Method io.fabric.sdk.android.services.settings.DefaultCachedSettingsIo.readCachedSettings() calling method java.io.FileInputStream.<init>()


    public org.json.JSONObject readCachedSettings()
    {
        io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "Reading cached settings...");
        java.io.FileInputStream v1 = 0;
        org.json.JSONObject v5 = 0;
        try {
            java.io.File v3_0 = new java.io.File(new io.fabric.sdk.android.services.persistence.FileStoreImpl(this.kit).getFilesDir(), "com.crashlytics.settings.json");
        } catch (Throwable v7_7) {
            io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
            throw v7_7;
        } catch (Exception v0) {
            io.fabric.sdk.android.Fabric.getLogger().e("Fabric", "Failed to fetch cached settings", v0);
            io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
            return v5;
        }
        if (!v3_0.exists()) {
            io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "No cached settings found.");
        } else {
            java.io.FileInputStream v2_1 = new java.io.FileInputStream(v3_0);
            try {
                v5 = new org.json.JSONObject(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v2_1));
                v1 = v2_1;
            } catch (Throwable v7_7) {
                v1 = v2_1;
            } catch (Exception v0) {
                v1 = v2_1;
            }
        }
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
        return v5;
    }

Method io.fabric.sdk.android.services.network.HttpRequest.send() calling method java.io.FileInputStream.<init>()


    public io.fabric.sdk.android.services.network.HttpRequest send(java.io.File p4)
    {
        try {
            return this.send(new java.io.BufferedInputStream(new java.io.FileInputStream(p4)));
        } catch (java.io.FileNotFoundException v0) {
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0);
        }
    }

Method io.fabric.sdk.android.services.network.HttpRequest.part() calling method java.io.FileInputStream.<init>()


    public io.fabric.sdk.android.services.network.HttpRequest part(String p6, String p7, String p8, java.io.File p9)
    {
        java.io.BufferedInputStream v1 = 0;
        try {
            java.io.BufferedInputStream v2_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(p9));
            try {
                Throwable v3_5 = this.part(p6, p7, p8, v2_1);
            } catch (Throwable v3_2) {
                v1 = v2_1;
                if (v1 != null) {
                    try {
                        v1.close();
                    } catch (java.io.IOException v4) {
                    }
                }
                throw v3_2;
            } catch (java.io.IOException v0) {
                v1 = v2_1;
                throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0);
            }
            if (v2_1 != null) {
                try {
                    v2_1.close();
                } catch (java.io.IOException v4) {
                }
            }
            return v3_5;
        } catch (Throwable v3_2) {
        } catch (java.io.IOException v0) {
        }
    }

Method io.fabric.sdk.android.services.events.QueueFileEventStorage.move() calling method java.io.FileInputStream.<init>()


    private void move(java.io.File p6, java.io.File p7)
    {
        java.io.OutputStream v2 = 0;
        java.io.FileInputStream v0 = 0;
        try {
            java.io.FileInputStream v1_1 = new java.io.FileInputStream(p6);
            try {
                v2 = this.getMoveOutputStream(p7);
                Throwable v3_4 = new byte[1024];
                io.fabric.sdk.android.services.common.CommonUtils.copyStream(v1_1, v2, v3_4);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, "Failed to close file input stream");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close output stream");
                p6.delete();
                return;
            } catch (Throwable v3_2) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close file input stream");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close output stream");
                p6.delete();
                throw v3_2;
            }
        } catch (Throwable v3_2) {
        }
        v2 = this.getMoveOutputStream(p7);
        v3_4 = new byte[1024];
        io.fabric.sdk.android.services.common.CommonUtils.copyStream(v1_1, v2, v3_4);
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, "Failed to close file input stream");
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close output stream");
        p6.delete();
        return;
    }

Method com.sun.org.apache.xpath.internal.functions.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xpath.internal.functions.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xpath.internal.compiler.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xpath.internal.compiler.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xml.internal.utils.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xml.internal.utils.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xml.internal.serializer.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xml.internal.serializer.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xml.internal.serialize.SecuritySupport$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xml.internal.dtm.ref.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xml.internal.dtm.ref.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xml.internal.dtm.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xml.internal.dtm.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xerces.internal.xinclude.SecuritySupport$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xerces.internal.parsers.SecuritySupport$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.xsdToXMLInputSource() calling method java.io.FileInputStream.<init>()


    private com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource xsdToXMLInputSource(Object p15)
    {
        com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource v0_8;
        if (!(p15 instanceof String)) {
            if (!(p15 instanceof org.xml.sax.InputSource)) {
                if (!(p15 instanceof java.io.InputStream)) {
                    if (!(p15 instanceof java.io.File)) {
                        throw new com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException(1, new StringBuilder().append("\"http://java.sun.com/xml/jaxp/properties/schemaSource\" property cannot have a value of type {").append(p15.getClass().getName()).append("}. Possible types of the value supported are String, File, InputStream, ").append("InputSource OR an array of these types.").toString());
                    } else {
                        try {
                            java.io.BufferedInputStream v4_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(((java.io.File) p15)));
                        } catch (java.io.FileNotFoundException v6) {
                            com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource v0_5 = this.fErrorReporter;
                            String v5_0 = new Object[1];
                            v5_0[0] = ((java.io.File) p15).toString();
                            v0_5.reportError("http://www.w3.org/TR/xml-schema-1", "schema_reference.4", v5_0, 1);
                        }
                        v0_8 = new com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource(0, 0, 0, v4_0, 0);
                    }
                } else {
                    v0_8 = new com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource(0, 0, 0, ((java.io.InputStream) p15), 0);
                }
            } else {
                v0_8 = com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.saxToXMLInputSource(((org.xml.sax.InputSource) p15));
            }
        } else {
            this.fXSDDescription.reset();
            this.fXSDDescription.setValues(0, ((String) p15), 0, 0);
            try {
                com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource v10 = this.fEntityManager.resolveEntity(this.fXSDDescription);
            } catch (java.io.FileNotFoundException v6) {
                com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource v0_14 = this.fErrorReporter;
                String v5_3 = new Object[1];
                v5_3[0] = ((String) p15);
                v0_14.reportError("http://www.w3.org/TR/xml-schema-1", "schema_reference.4", v5_3, 1);
            }
            if (v10 != null) {
                v0_8 = v10;
            } else {
                v0_8 = new com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource(0, ((String) p15), 0);
            }
        }
        return v0_8;
    }

Method com.sun.org.apache.xerces.internal.impl.dv.SecuritySupport$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xerces.internal.dom.SecuritySupport$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.util.JavaCupRedirect._main() calling method java.io.FileInputStream.<init>()


    public static void _main(String[] p11)
    {
        java.io.FileInputStream v3_0 = 0;
        int v0 = p11.length;
        String[] v6 = new String[(v0 - 2)];
        int v2 = 0;
        int v5 = 0;
        while (v2 < v0) {
            int v4_0;
            if (!p11[v2].equals("-stdin")) {
                if (v5 != v6.length) {
                    v4_0 = (v5 + 1);
                    v6[v5] = p11[v2];
                } else {
                    System.err.println("Missing -stdin option!");
                    throw new RuntimeException();
                }
            } else {
                v2++;
                if ((v2 < v0) && (!p11[v2].startsWith("-"))) {
                    try {
                        v3_0 = new java.io.FileInputStream(p11[v2]);
                        v4_0 = v5;
                    } catch (SecurityException v1_2) {
                        System.err.println(new StringBuilder().append("Could not open file ").append(p11[v2]).toString());
                        throw new RuntimeException(v1_2.getMessage());
                    } catch (SecurityException v1_1) {
                        System.err.println(new StringBuilder().append("No permission to file ").append(p11[v2]).toString());
                        throw new RuntimeException(v1_1.getMessage());
                    }
                } else {
                    System.err.println("You must supply a filename with the -stdin option.");
                    throw new RuntimeException("You must supply a filename with the -stdin option.");
                }
            }
            v2++;
            v5 = v4_0;
        }
        System.setIn(v3_0);
        try {
            com.sun.java_cup.internal.Main.main(v6);
        } catch (SecurityException v1_0) {
            System.err.println("Error running JavaCUP:");
            v1_0.printStackTrace();
        }
        return;
    }

Method com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.getBytecodesFromClasses() calling method java.io.FileInputStream.<init>()


    private byte[][] getBytecodesFromClasses(javax.xml.transform.Source p33, String p34)
    {
        byte[][] v27_4;
        if (p34 != null) {
            String v26 = this.getStylesheetFileName(p33);
            java.io.File v23 = 0;
            if (v26 != null) {
                v23 = new java.io.File;
                v23(v26);
            }
            String v19;
            int v15 = p34.lastIndexOf(46);
            if (v15 <= 0) {
                v19 = p34;
            } else {
                v19 = p34.substring((v15 + 1));
            }
            String v22_1;
            String v22_0 = p34.replace(46, 47);
            if (this._destinationDirectory == null) {
                if ((v23 == null) || (v23.getParent() == null)) {
                    v22_1 = new StringBuilder().append(v22_0).append(".class").toString();
                } else {
                    v22_1 = new StringBuilder().append(v23.getParent()).append("/").append(v22_0).append(".class").toString();
                }
            } else {
                v22_1 = new StringBuilder().append(this._destinationDirectory).append("/").append(v22_0).append(".class").toString();
            }
            java.io.File v18 = new java.io.File;
            v18(v22_1);
            if (v18.exists()) {
                if ((v23 == null) || ((!v23.exists()) || (v18.lastModified() >= v23.lastModified()))) {
                    java.util.Vector v8_1 = new java.util.Vector();
                    int v12 = ((int) v18.length());
                    if (v12 <= 0) {
                        v27_4 = ((byte[][]) 0);
                    } else {
                        try {
                            java.io.FileInputStream v14_1 = new java.io.FileInputStream(v18);
                            byte[] v9_0 = new byte[v12];
                            try {
                                this.readFromInputStream(v9_0, v14_1, v12);
                                v14_1.close();
                                v8_1.addElement(v9_0);
                                String v20 = v18.getParent();
                            } catch (java.io.IOException v11) {
                                v27_4 = ((byte[][]) 0);
                            }
                            if (v20 == null) {
                                v20 = System.getProperty("user.dir");
                            }
                            java.io.File v21 = new java.io.File;
                            v21(v20);
                            byte[][] v27_13 = new com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl$1;
                            v27_13(this, new StringBuilder().append(v19).append("$").toString());
                            java.io.File[] v5 = v21.listFiles(v27_13);
                            int v13_0 = 0;
                            while (v13_0 < v5.length) {
                                java.io.File v4 = v5[v13_0];
                                int v7 = ((int) v4.length());
                                if (v7 > 0) {
                                    try {
                                        java.io.FileInputStream v6_1 = new java.io.FileInputStream(v4);
                                        byte[] v9_1 = new byte[v7];
                                        try {
                                            this.readFromInputStream(v9_1, v6_1, v7);
                                            v6_1.close();
                                            v8_1.addElement(v9_1);
                                        } catch (java.io.IOException v11) {
                                        }
                                    } catch (java.io.IOException v11) {
                                    }
                                }
                                v13_0++;
                            }
                            int v10 = v8_1.size();
                            if (v10 <= 0) {
                                v27_4 = ((byte[][]) 0);
                            } else {
                                byte[][] v16_1 = ((byte[][]) reflect.Array.newInstance(Byte.TYPE, new int[] {v10, 1})));
                                int v13_1 = 0;
                                while (v13_1 < v10) {
                                    v16_1[v13_1] = ((byte[]) ((byte[]) v8_1.elementAt(v13_1)));
                                    v13_1++;
                                }
                                v27_4 = v16_1;
                            }
                        } catch (java.io.IOException v11) {
                            v27_4 = ((byte[][]) 0);
                        }
                    }
                } else {
                    v27_4 = ((byte[][]) 0);
                }
            } else {
                v27_4 = ((byte[][]) 0);
            }
        } else {
            v27_4 = ((byte[][]) 0);
        }
        return v27_4;
    }

Method com.sun.org.apache.xalan.internal.xsltc.trax.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.trax.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.runtime.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.runtime.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.dom.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.dom.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.compiler.util.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.compiler.util.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.compiler.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.compiler.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.cmdline.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.cmdline.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xslt.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xslt.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.lib.sql.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.lib.sql.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.lib.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.lib.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.extensions.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.extensions.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.html.internal.dom.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.html.internal.dom.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.bcel.internal.util.ClassPath$Dir$1.getInputStream() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream getInputStream()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.bcel.internal.classfile.ClassParser.<init>() calling method java.io.FileInputStream.<init>()


    public ClassParser(String p5)
    {
        this.is_zip = 0;
        this.file_name = p5;
        this.file = new java.io.DataInputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(p5), 8192));
        return;
    }

Method com.pratibha.yojna.PratibhaReapplyActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.keyboardclose();
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_0);
                                this.final_img_base64 = this.getStringImage(v5_0);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_1);
                                this.final_img_base64 = this.getStringImage(v5_1);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    this.keyboardclose();
                    String v23_5 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_5.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_5.next());
                        this.path1 = v10_1.getPath();
                        if (((v10_1.getSize() / 1024) / 1024) <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.user_profile_image.setImageResource(2130837842);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.user_profile_image.setImageResource(2130837696);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    this.user_profile_image.setImageBitmap(v22);
                    this.final_img_base64 = this.getStringImage(v22);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v11++;
                }
            }
        }
        return;
    }

Method com.pratibha.yojna.PratibhaPendingInstituteDetails.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.keyboardclose();
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_0);
                                this.final_img_base64 = this.getStringImage(v5_0);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_1);
                                this.final_img_base64 = this.getStringImage(v5_1);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    this.keyboardclose();
                    String v23_5 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_5.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_5.next());
                        this.path1 = v10_1.getPath();
                        if (((v10_1.getSize() / 1024) / 1024) <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.user_profile_image.setImageResource(2130837842);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.user_profile_image.setImageResource(2130837696);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    this.user_profile_image.setImageBitmap(v22);
                    this.final_img_base64 = this.getStringImage(v22);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v11++;
                }
            }
        }
        return;
    }

Method com.pratibha.yojna.PratibhaInstituteResponseDetailsActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.keyboardclose();
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_0);
                                this.final_img_base64 = this.getStringImage(v5_0);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_1);
                                this.final_img_base64 = this.getStringImage(v5_1);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    this.keyboardclose();
                    String v23_5 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_5.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_5.next());
                        this.path1 = v10_1.getPath();
                        if (((v10_1.getSize() / 1024) / 1024) <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.user_profile_image.setImageResource(2130837842);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.user_profile_image.setImageResource(2130837696);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    this.user_profile_image.setImageBitmap(v22);
                    this.final_img_base64 = this.getStringImage(v22);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v11++;
                }
            }
        }
        return;
    }

Method com.pratibha.yojna.PendingForApprovalDetailsActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.keyboardclose();
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_0);
                                this.final_img_base64 = this.getStringImage(v5_0);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_1);
                                this.final_img_base64 = this.getStringImage(v5_1);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    this.keyboardclose();
                    String v23_5 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_5.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_5.next());
                        this.path1 = v10_1.getPath();
                        if (((v10_1.getSize() / 1024) / 1024) <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.user_profile_image.setImageResource(2130837842);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.user_profile_image.setImageResource(2130837696);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    this.user_profile_image.setImageBitmap(v22);
                    this.final_img_base64 = this.getStringImage(v22);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v11++;
                }
            }
        }
        return;
    }

Method com.pratibha.yojna.PaymentApprovalDetailsActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.keyboardclose();
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_0);
                                this.final_img_base64 = this.getStringImage(v5_0);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_1);
                                this.final_img_base64 = this.getStringImage(v5_1);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    this.keyboardclose();
                    String v23_5 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_5.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_5.next());
                        this.path1 = v10_1.getPath();
                        if (((v10_1.getSize() / 1024) / 1024) <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.user_profile_image.setImageResource(2130837842);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.user_profile_image.setImageResource(2130837696);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    this.user_profile_image.setImageBitmap(v22);
                    this.final_img_base64 = this.getStringImage(v22);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v11++;
                }
            }
        }
        return;
    }

Method com.mapit.TribalApp.UpdateSamagraActivityFull.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p35, int p36, android.content.Intent p37)
    {
        com.google.zxing.integration.android.IntentResult v26 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p35, p36, p37);
        this = super.onActivityResult(p35, p36, p37);
        try {
            this.setLocale(com.mapit.TribalApp.UpdateSamagraActivityFull.Sessionval);
        } catch (NullPointerException v9_3) {
            v9_3.printStackTrace();
            return;
        }
        if (p36 != -1) {
            return;
        } else {
            if (p35 != 1) {
                if (v26 == null) {
                    if (p35 != 15) {
                        if (p35 != 100) {
                            if ((p36 != -1) || (p37 == null)) {
                                return;
                            } else {
                                try {
                                    if (p37 != null) {
                                        this = super.onActivityResult(p35, p36, p37);
                                        if (p36 != -1) {
                                            if (p36 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                return;
                                            }
                                        } else {
                                            if (p35 < 100) {
                                                if (p35 != 2) {
                                                    if (p35 == 3) {
                                                        return;
                                                    } else {
                                                        if (p35 != 13) {
                                                            if (p35 != 14) {
                                                                if (p35 != 15) {
                                                                    if (p35 != 16) {
                                                                        if (p35 != 17) {
                                                                            if (p35 != 19) {
                                                                                return;
                                                                            } else {
                                                                                String v29_4 = p37.getStringExtra("SETLINKS");
                                                                                if (v29_4 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v29_4, "SET LINK RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v29_5 = p37.getStringExtra("REVOKEREG");
                                                                            if (v29_5 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v29_5, "REGISTRATION FLAG REVOKE RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v29_0 = p37.getStringExtra("GET_REG");
                                                                        if (v29_0 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v29_0, "REGISTRATION FLAG GET RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v29_1 = p37.getStringExtra("SET_REG");
                                                                    if (v29_1 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v29_1, "REGISTRATION FLAG SET RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            } else {
                                                                String v29_2 = p37.getStringExtra("RELEASE");
                                                                if (v29_2 == null) {
                                                                    return;
                                                                } else {
                                                                    this.showMessageDialogue(v29_2, "INTERFACE RELEASE RESULT");
                                                                    return;
                                                                }
                                                            }
                                                        } else {
                                                            String v29_3 = p37.getStringExtra("CLAIM");
                                                            if (v29_3 == null) {
                                                                return;
                                                            } else {
                                                                this.showMessageDialogue(v29_3, "INTERFACE CLAIM RESULT");
                                                                return;
                                                            }
                                                        }
                                                    }
                                                } else {
                                                    String v24 = p37.getStringExtra("PID_DATA");
                                                    if (v24 == null) {
                                                        this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                        return;
                                                    } else {
                                                        this.showMessageDialogueResult(v24, "PID DATA XML");
                                                        return;
                                                    }
                                                }
                                            } else {
                                                String v25 = p37.getStringExtra("RD_SERVICE_INFO");
                                                if (v25 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                } else {
                                                    this.showMessageDialogue(v25, "RD SERVICE INFO XML");
                                                }
                                                String v8 = p37.getStringExtra("DEVICE_INFO");
                                                if (v8 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(v8, "DEVICE INFO XML");
                                                    return;
                                                }
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.UpdateSamagraActivityFull.extensionpdf = "test";
                                        if (p35 != 3) {
                                            if (p36 != -1) {
                                                if (p36 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                } catch (Exception v12) {
                                    this.showMessageDialogue(new StringBuilder().append("Error:-").append(v12.getMessage()).toString(), "EXCEPTION");
                                    v12.printStackTrace();
                                    return;
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.UpdateSamagraActivityFull.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_0) {
                                    v9_0.printStackTrace();
                                } catch (OutOfMemoryError v11_0) {
                                    v11_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.UpdateSamagraActivityFull.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_1) {
                                    v9_1.printStackTrace();
                                } catch (OutOfMemoryError v11_1) {
                                    v11_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v30_66 = p37.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v30_66.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v13_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v30_66.next());
                            com.mapit.TribalApp.UpdateSamagraActivityFull.path1 = v13_1.getPath();
                            if (((v13_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v21 = new java.io.FileInputStream;
                                    v21(com.mapit.TribalApp.UpdateSamagraActivityFull.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v21), 0);
                                    com.mapit.TribalApp.UpdateSamagraActivityFull.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837842);
                                } catch (String v31) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837696);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v26 == null) {
                        this.setLocale(com.mapit.TribalApp.UpdateSamagraActivityFull.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297987)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.UpdateSamagraActivityFull.Sessionval);
                        String v7 = v26.getContents();
                        if ((v7 == null) || (v7.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.UpdateSamagraActivityFull.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297986)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v7);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.UpdateSamagraActivityFull.extensionpdf = "test";
                this.imagesPath = p37.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v20 = 0;
                } catch (NullPointerException v9_2) {
                    v9_2.printStackTrace();
                    return;
                }
                while (v20 < this.imagesPath.length) {
                    android.graphics.Bitmap v27 = this.getThumbnailBitmap(this.imagesPath[v20], 1000);
                    this.user_profile_image.setImageBitmap(v27);
                    this.final_img_base64 = this.getStringImage(v27);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v20++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.UpdateSamagraActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p35, int p36, android.content.Intent p37)
    {
        com.google.zxing.integration.android.IntentResult v26 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p35, p36, p37);
        this = super.onActivityResult(p35, p36, p37);
        try {
            this.setLocale(com.mapit.TribalApp.UpdateSamagraActivity.Sessionval);
        } catch (NullPointerException v9_3) {
            v9_3.printStackTrace();
            return;
        }
        if (p36 != -1) {
            return;
        } else {
            if (p35 != 1) {
                if (v26 == null) {
                    if (p35 != 15) {
                        if (p35 != 100) {
                            if ((p36 != -1) || (p37 == null)) {
                                return;
                            } else {
                                try {
                                    if (p37 != null) {
                                        this = super.onActivityResult(p35, p36, p37);
                                        if (p36 != -1) {
                                            if (p36 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                return;
                                            }
                                        } else {
                                            if (p35 < 100) {
                                                if (p35 != 2) {
                                                    if (p35 == 3) {
                                                        return;
                                                    } else {
                                                        if (p35 != 13) {
                                                            if (p35 != 14) {
                                                                if (p35 != 15) {
                                                                    if (p35 != 16) {
                                                                        if (p35 != 17) {
                                                                            if (p35 != 19) {
                                                                                return;
                                                                            } else {
                                                                                String v29_4 = p37.getStringExtra("SETLINKS");
                                                                                if (v29_4 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v29_4, "SET LINK RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v29_5 = p37.getStringExtra("REVOKEREG");
                                                                            if (v29_5 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v29_5, "REGISTRATION FLAG REVOKE RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v29_0 = p37.getStringExtra("GET_REG");
                                                                        if (v29_0 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v29_0, "REGISTRATION FLAG GET RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v29_1 = p37.getStringExtra("SET_REG");
                                                                    if (v29_1 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v29_1, "REGISTRATION FLAG SET RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            } else {
                                                                String v29_2 = p37.getStringExtra("RELEASE");
                                                                if (v29_2 == null) {
                                                                    return;
                                                                } else {
                                                                    this.showMessageDialogue(v29_2, "INTERFACE RELEASE RESULT");
                                                                    return;
                                                                }
                                                            }
                                                        } else {
                                                            String v29_3 = p37.getStringExtra("CLAIM");
                                                            if (v29_3 == null) {
                                                                return;
                                                            } else {
                                                                this.showMessageDialogue(v29_3, "INTERFACE CLAIM RESULT");
                                                                return;
                                                            }
                                                        }
                                                    }
                                                } else {
                                                    String v24 = p37.getStringExtra("PID_DATA");
                                                    if (v24 == null) {
                                                        this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                        return;
                                                    } else {
                                                        this.showMessageDialogueResult(v24, "PID DATA XML");
                                                        return;
                                                    }
                                                }
                                            } else {
                                                String v25 = p37.getStringExtra("RD_SERVICE_INFO");
                                                if (v25 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                } else {
                                                    this.showMessageDialogue(v25, "RD SERVICE INFO XML");
                                                }
                                                String v8 = p37.getStringExtra("DEVICE_INFO");
                                                if (v8 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(v8, "DEVICE INFO XML");
                                                    return;
                                                }
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.UpdateSamagraActivity.extensionpdf = "test";
                                        if (p35 != 3) {
                                            if (p36 != -1) {
                                                if (p36 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                } catch (Exception v12) {
                                    this.showMessageDialogue(new StringBuilder().append("Error:-").append(v12.getMessage()).toString(), "EXCEPTION");
                                    v12.printStackTrace();
                                    return;
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.UpdateSamagraActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_0) {
                                    v9_0.printStackTrace();
                                } catch (OutOfMemoryError v11_0) {
                                    v11_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.UpdateSamagraActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_1) {
                                    v9_1.printStackTrace();
                                } catch (OutOfMemoryError v11_1) {
                                    v11_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v30_66 = p37.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v30_66.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v13_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v30_66.next());
                            com.mapit.TribalApp.UpdateSamagraActivity.path1 = v13_1.getPath();
                            if (((v13_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v21 = new java.io.FileInputStream;
                                    v21(com.mapit.TribalApp.UpdateSamagraActivity.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v21), 0);
                                    com.mapit.TribalApp.UpdateSamagraActivity.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837842);
                                } catch (String v31) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837696);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v26 == null) {
                        this.setLocale(com.mapit.TribalApp.UpdateSamagraActivity.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297987)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.UpdateSamagraActivity.Sessionval);
                        String v7 = v26.getContents();
                        if ((v7 == null) || (v7.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.UpdateSamagraActivity.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297986)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v7);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.UpdateSamagraActivity.extensionpdf = "test";
                this.imagesPath = p37.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v20 = 0;
                } catch (NullPointerException v9_2) {
                    v9_2.printStackTrace();
                    return;
                }
                while (v20 < this.imagesPath.length) {
                    android.graphics.Bitmap v27 = this.getThumbnailBitmap(this.imagesPath[v20], 1000);
                    this.user_profile_image.setImageBitmap(v27);
                    this.final_img_base64 = this.getStringImage(v27);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v20++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.RegistrationUpdateActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p73, int p74, android.content.Intent p75)
    {
        com.google.zxing.integration.android.IntentResult v60 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p73, p74, p75);
        this = super.onActivityResult(p73, p74, p75);
        try {
            this.setLocale(com.mapit.TribalApp.RegistrationUpdateActivity.Sessionval);
        } catch (Exception v39_3) {
            v39_3.printStackTrace();
            return;
        }
        if (p74 != -1) {
            return;
        } else {
            if (p73 != 1) {
                if (v60 == null) {
                    if (p73 != 15) {
                        if (p73 != 100) {
                            if ((p74 != -1) || ((p75 == null) || (p73 != 55))) {
                                if ((p74 != -1) || ((p75 == null) || (p73 != 56))) {
                                    if ((p74 != -1) || (p75 == null)) {
                                        return;
                                    } else {
                                        try {
                                            if (p75 != null) {
                                                this = super.onActivityResult(p73, p74, p75);
                                                if (p74 != -1) {
                                                    if (p74 != 0) {
                                                        return;
                                                    } else {
                                                        this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                        return;
                                                    }
                                                } else {
                                                    if (p73 < 100) {
                                                        if (p73 != 2) {
                                                            if (p73 == 3) {
                                                                return;
                                                            } else {
                                                                if (p73 != 13) {
                                                                    if (p73 != 14) {
                                                                        if (p73 != 15) {
                                                                            if (p73 != 16) {
                                                                                if (p73 != 17) {
                                                                                    if (p73 != 19) {
                                                                                        return;
                                                                                    } else {
                                                                                        String v65_0 = p75.getStringExtra("SETLINKS");
                                                                                        if (v65_0 == null) {
                                                                                            return;
                                                                                        } else {
                                                                                            this.showMessageDialogue(v65_0, "SET LINK RESULT");
                                                                                            return;
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    String v65_1 = p75.getStringExtra("REVOKEREG");
                                                                                    if (v65_1 == null) {
                                                                                        return;
                                                                                    } else {
                                                                                        this.showMessageDialogue(v65_1, "REGISTRATION FLAG REVOKE RESULT");
                                                                                        return;
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                String v65_2 = p75.getStringExtra("GET_REG");
                                                                                if (v65_2 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v65_2, "REGISTRATION FLAG GET RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v65_3 = p75.getStringExtra("SET_REG");
                                                                            if (v65_3 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v65_3, "REGISTRATION FLAG SET RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v65_4 = p75.getStringExtra("RELEASE");
                                                                        if (v65_4 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v65_4, "INTERFACE RELEASE RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v65_5 = p75.getStringExtra("CLAIM");
                                                                    if (v65_5 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v65_5, "INTERFACE CLAIM RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            }
                                                        } else {
                                                            String v58 = p75.getStringExtra("PID_DATA");
                                                            if (v58 == null) {
                                                                this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                                return;
                                                            } else {
                                                                this.showMessageDialogueResult(v58, "PID DATA XML");
                                                                return;
                                                            }
                                                        }
                                                    } else {
                                                        String v59 = p75.getStringExtra("RD_SERVICE_INFO");
                                                        if (v59 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                        } else {
                                                            this.showMessageDialogue(v59, "RD SERVICE INFO XML");
                                                        }
                                                        String v38 = p75.getStringExtra("DEVICE_INFO");
                                                        if (v38 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(v38, "DEVICE INFO XML");
                                                            return;
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                                                if (p73 != 3) {
                                                    if (p74 != -1) {
                                                        if (p74 != 0) {
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                            return;
                                                        }
                                                    } else {
                                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                        return;
                                                    }
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            }
                                        } catch (Exception v42) {
                                            this.showMessageDialogue(new StringBuilder().append("Error:-").append(v42.getMessage()).toString(), "EXCEPTION");
                                            v42.printStackTrace();
                                            return;
                                        }
                                    }
                                } else {
                                    if (p75 != null) {
                                        if (p75 == null) {
                                            return;
                                        } else {
                                            try {
                                                String v61_0 = p75.getStringExtra("PID_DATA");
                                            } catch (Exception v39_6) {
                                                android.util.Log.e("Error", "Error while deserialze pid data", v39_6);
                                                return;
                                            }
                                            if (v61_0 == null) {
                                                return;
                                            } else {
                                                String v68_99 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                                v68_99(v61_0);
                                                this.jsonObjectpiddata = v68_99.build().toJson();
                                                this.keyboardclose();
                                                try {
                                                    org.json.JSONObject v52_0 = new org.json.JSONObject;
                                                    v52_0(this.jsonObjectpiddata.toString());
                                                    com.android.db.DaoSession v36_0 = com.Manager.BaseManager.getDBSessoin(this);
                                                    v36_0.getPidDataTableDao().deleteAll();
                                                    com.android.db.PidDataTableDao v57_0 = v36_0.getPidDataTableDao();
                                                    int v50_1 = 0;
                                                } catch (Exception v39_5) {
                                                    v39_5.printStackTrace();
                                                    return;
                                                }
                                                while (v50_1 < v52_0.length()) {
                                                    org.json.JSONObject v29_0 = v52_0.getJSONObject("PidData");
                                                    org.json.JSONObject v30_0 = v29_0.getJSONObject("Resp");
                                                    String v20_0 = v30_0.optString("nmPoints");
                                                    String v21_0 = v30_0.optString("errInfo");
                                                    String v22_0 = v30_0.optString("fType");
                                                    String v23_0 = v30_0.optString("errCode");
                                                    String v24_0 = v30_0.optString("fCount");
                                                    String v25_0 = v30_0.optString("qScore");
                                                    String v62_0 = v23_0;
                                                    try {
                                                        if (!v62_0.equalsIgnoreCase("DNC")) {
                                                            if (!v62_0.equalsIgnoreCase("DNR")) {
                                                                if (!v62_0.equalsIgnoreCase("999")) {
                                                                    org.json.JSONObject v31_0 = v29_0.getJSONObject("Skey");
                                                                    String v5_0 = v31_0.optString("content");
                                                                    String v6_0 = v31_0.optString("ci");
                                                                    String v7_0 = v29_0.optString("Hmac");
                                                                    org.json.JSONObject v27_0 = v29_0.getJSONObject("DeviceInfo");
                                                                    String v12_0 = v27_0.optString("rdsId");
                                                                    String v13_0 = v27_0.optString("mi");
                                                                    String v14_0 = v27_0.optString("dpId");
                                                                    String v15_0 = v27_0.optString("dc");
                                                                    String v16_0 = v27_0.optString("rdsVer");
                                                                    String v17_0 = v27_0.optString("mc");
                                                                    org.json.JSONObject v26_0 = v29_0.getJSONObject("Data");
                                                                    v57_0.insertOrReplace(new com.android.db.PidDataTable(v5_0, v6_0, v7_0, "0", "0", "0", "0", v12_0, v13_0, v14_0, v15_0, v16_0, v17_0, v26_0.optString("content"), v26_0.optString("type"), v20_0, v21_0, v22_0, v23_0, v24_0, v25_0));
                                                                    this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                                    this.serviceCall1();
                                                                } else {
                                                                    this.keyboardclose();
                                                                    android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296870)).toString(), 1).show();
                                                                }
                                                            } else {
                                                                this.keyboardclose();
                                                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296866)).toString(), 1).show();
                                                            }
                                                        } else {
                                                            this.keyboardclose();
                                                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296864)).toString(), 1).show();
                                                        }
                                                        v50_1++;
                                                    } catch (Exception v39_4) {
                                                        v39_4.printStackTrace();
                                                    }
                                                }
                                                return;
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                                        if (p73 != 3) {
                                            if (p74 != -1) {
                                                if (p74 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                }
                            } else {
                                if (p75 != null) {
                                    if (p75 == null) {
                                        return;
                                    } else {
                                        try {
                                            String v61_1 = p75.getStringExtra("PID_DATA");
                                        } catch (Exception v39_9) {
                                            android.util.Log.e("Error", "Error while deserialze pid data", v39_9);
                                            return;
                                        }
                                        if (v61_1 == null) {
                                            return;
                                        } else {
                                            String v68_183 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                            v68_183(v61_1);
                                            this.jsonObjectpiddata = v68_183.build().toJson();
                                            this.keyboardclose();
                                            try {
                                                org.json.JSONObject v52_1 = new org.json.JSONObject;
                                                v52_1(this.jsonObjectpiddata.toString());
                                                com.android.db.DaoSession v36_1 = com.Manager.BaseManager.getDBSessoin(this);
                                                v36_1.getPidDataTableDao().deleteAll();
                                                com.android.db.PidDataTableDao v57_1 = v36_1.getPidDataTableDao();
                                                int v50_2 = 0;
                                            } catch (Exception v39_8) {
                                                v39_8.printStackTrace();
                                                return;
                                            }
                                            while (v50_2 < v52_1.length()) {
                                                org.json.JSONObject v29_1 = v52_1.getJSONObject("PidData");
                                                org.json.JSONObject v30_1 = v29_1.getJSONObject("Resp");
                                                String v20_1 = v30_1.getString("nmPoints");
                                                String v21_1 = v30_1.getString("errInfo");
                                                String v22_1 = v30_1.getString("fType");
                                                String v23_1 = v30_1.getString("errCode");
                                                String v24_1 = v30_1.getString("fCount");
                                                String v25_1 = v30_1.getString("qScore");
                                                try {
                                                    if (!v23_1.equalsIgnoreCase("720")) {
                                                        org.json.JSONObject v31_1 = v29_1.getJSONObject("Skey");
                                                        String v5_1 = v31_1.getString("content");
                                                        String v6_1 = v31_1.getString("ci");
                                                        String v7_1 = v29_1.getString("Hmac");
                                                        org.json.JSONObject v27_1 = v29_1.getJSONObject("DeviceInfo");
                                                        org.json.JSONArray v28 = v27_1.getJSONObject("additional_info").getJSONArray("Param");
                                                        org.json.JSONObject v54 = v28.getJSONObject(0);
                                                        String v8_1 = v54.getString("name");
                                                        String v9_1 = v54.getString("value");
                                                        org.json.JSONObject v53 = v28.getJSONObject(1);
                                                        String v10_1 = v53.getString("name");
                                                        String v11_1 = v53.getString("value");
                                                        String v12_1 = v27_1.getString("rdsId");
                                                        String v13_1 = v27_1.getString("mi");
                                                        String v14_1 = v27_1.getString("dpId");
                                                        String v15_1 = v27_1.getString("dc");
                                                        String v16_1 = v27_1.getString("rdsVer");
                                                        String v17_1 = v27_1.getString("mc");
                                                        org.json.JSONObject v26_1 = v29_1.getJSONObject("Data");
                                                        v57_1.insertOrReplace(new com.android.db.PidDataTable(v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1, v16_1, v17_1, v26_1.getString("content"), v26_1.getString("type"), v20_1, v21_1, v22_1, v23_1, v24_1, v25_1));
                                                        this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                        this.serviceCall1();
                                                    } else {
                                                        this.keyboardclose();
                                                        android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296864)).toString(), 1).show();
                                                    }
                                                    v50_2++;
                                                } catch (Exception v39_7) {
                                                    v39_7.printStackTrace();
                                                }
                                            }
                                            return;
                                        }
                                    }
                                } else {
                                    com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                                    if (p73 != 3) {
                                        if (p74 != -1) {
                                            if (p74 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    } else {
                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                        return;
                                    }
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_1 = new android.graphics.BitmapFactory$Options();
                                    v56_1.inSampleSize = 8;
                                    android.graphics.Bitmap v34_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_1);
                                    v34_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_0);
                                    this.final_img_base64 = this.getStringImage(v34_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_0) {
                                    v39_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_3 = new android.graphics.BitmapFactory$Options();
                                    v56_3.inSampleSize = 8;
                                    android.graphics.Bitmap v34_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_3);
                                    v34_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_1);
                                    this.final_img_base64 = this.getStringImage(v34_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_1) {
                                    v39_1.printStackTrace();
                                } catch (OutOfMemoryError v41_1) {
                                    v41_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v68_33 = p75.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v68_33.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v43_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v68_33.next());
                            com.mapit.TribalApp.RegistrationUpdateActivity.path1 = v43_1.getPath();
                            if (((v43_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v51 = new java.io.FileInputStream;
                                    v51(com.mapit.TribalApp.RegistrationUpdateActivity.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v51), 0);
                                    com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837842);
                                } catch (android.content.Context v69) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837696);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v60 == null) {
                        this.setLocale(com.mapit.TribalApp.RegistrationUpdateActivity.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297987)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.RegistrationUpdateActivity.Sessionval);
                        String v37 = v60.getContents();
                        if ((v37 == null) || (v37.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.RegistrationUpdateActivity.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297986)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v37);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                this.imagesPath = p75.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v50_0 = 0;
                } catch (Exception v39_2) {
                    v39_2.printStackTrace();
                    return;
                }
                while (v50_0 < this.imagesPath.length) {
                    android.graphics.Bitmap v63 = this.getThumbnailBitmap(this.imagesPath[v50_0], 1000);
                    this.user_profile_image.setImageBitmap(v63);
                    this.final_img_base64 = this.getStringImage(v63);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v50_0++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.RegistrationRenewalActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p73, int p74, android.content.Intent p75)
    {
        com.google.zxing.integration.android.IntentResult v60 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p73, p74, p75);
        this = super.onActivityResult(p73, p74, p75);
        try {
            this.setLocale(com.mapit.TribalApp.RegistrationRenewalActivity.Sessionval);
        } catch (Exception v39_3) {
            v39_3.printStackTrace();
            return;
        }
        if (p74 != -1) {
            return;
        } else {
            if (p73 != 1) {
                if (v60 == null) {
                    if (p73 != 15) {
                        if (p73 != 100) {
                            if ((p74 != -1) || ((p75 == null) || (p73 != 55))) {
                                if ((p74 != -1) || ((p75 == null) || (p73 != 56))) {
                                    if ((p74 != -1) || (p75 == null)) {
                                        return;
                                    } else {
                                        try {
                                            if (p75 != null) {
                                                this = super.onActivityResult(p73, p74, p75);
                                                if (p74 != -1) {
                                                    if (p74 != 0) {
                                                        return;
                                                    } else {
                                                        this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                        return;
                                                    }
                                                } else {
                                                    if (p73 < 100) {
                                                        if (p73 != 2) {
                                                            if (p73 == 3) {
                                                                return;
                                                            } else {
                                                                if (p73 != 13) {
                                                                    if (p73 != 14) {
                                                                        if (p73 != 15) {
                                                                            if (p73 != 16) {
                                                                                if (p73 != 17) {
                                                                                    if (p73 != 19) {
                                                                                        return;
                                                                                    } else {
                                                                                        String v65_0 = p75.getStringExtra("SETLINKS");
                                                                                        if (v65_0 == null) {
                                                                                            return;
                                                                                        } else {
                                                                                            this.showMessageDialogue(v65_0, "SET LINK RESULT");
                                                                                            return;
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    String v65_1 = p75.getStringExtra("REVOKEREG");
                                                                                    if (v65_1 == null) {
                                                                                        return;
                                                                                    } else {
                                                                                        this.showMessageDialogue(v65_1, "REGISTRATION FLAG REVOKE RESULT");
                                                                                        return;
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                String v65_2 = p75.getStringExtra("GET_REG");
                                                                                if (v65_2 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v65_2, "REGISTRATION FLAG GET RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v65_3 = p75.getStringExtra("SET_REG");
                                                                            if (v65_3 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v65_3, "REGISTRATION FLAG SET RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v65_4 = p75.getStringExtra("RELEASE");
                                                                        if (v65_4 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v65_4, "INTERFACE RELEASE RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v65_5 = p75.getStringExtra("CLAIM");
                                                                    if (v65_5 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v65_5, "INTERFACE CLAIM RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            }
                                                        } else {
                                                            String v58 = p75.getStringExtra("PID_DATA");
                                                            if (v58 == null) {
                                                                this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                                return;
                                                            } else {
                                                                this.showMessageDialogueResult(v58, "PID DATA XML");
                                                                return;
                                                            }
                                                        }
                                                    } else {
                                                        String v59 = p75.getStringExtra("RD_SERVICE_INFO");
                                                        if (v59 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                        } else {
                                                            this.showMessageDialogue(v59, "RD SERVICE INFO XML");
                                                        }
                                                        String v38 = p75.getStringExtra("DEVICE_INFO");
                                                        if (v38 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(v38, "DEVICE INFO XML");
                                                            return;
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                                                if (p73 != 3) {
                                                    if (p74 != -1) {
                                                        if (p74 != 0) {
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                            return;
                                                        }
                                                    } else {
                                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                        return;
                                                    }
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            }
                                        } catch (Exception v42) {
                                            this.showMessageDialogue(new StringBuilder().append("Error:-").append(v42.getMessage()).toString(), "EXCEPTION");
                                            v42.printStackTrace();
                                            return;
                                        }
                                    }
                                } else {
                                    if (p75 != null) {
                                        if (p75 == null) {
                                            return;
                                        } else {
                                            try {
                                                String v61_0 = p75.getStringExtra("PID_DATA");
                                            } catch (Exception v39_6) {
                                                android.util.Log.e("Error", "Error while deserialze pid data", v39_6);
                                                return;
                                            }
                                            if (v61_0 == null) {
                                                return;
                                            } else {
                                                String v68_99 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                                v68_99(v61_0);
                                                this.jsonObjectpiddata = v68_99.build().toJson();
                                                this.keyboardclose();
                                                try {
                                                    org.json.JSONObject v52_0 = new org.json.JSONObject;
                                                    v52_0(this.jsonObjectpiddata.toString());
                                                    com.android.db.DaoSession v36_0 = com.Manager.BaseManager.getDBSessoin(this);
                                                    v36_0.getPidDataTableDao().deleteAll();
                                                    com.android.db.PidDataTableDao v57_0 = v36_0.getPidDataTableDao();
                                                    int v50_1 = 0;
                                                } catch (Exception v39_5) {
                                                    v39_5.printStackTrace();
                                                    return;
                                                }
                                                while (v50_1 < v52_0.length()) {
                                                    org.json.JSONObject v29_0 = v52_0.getJSONObject("PidData");
                                                    org.json.JSONObject v30_0 = v29_0.getJSONObject("Resp");
                                                    String v20_0 = v30_0.optString("nmPoints");
                                                    String v21_0 = v30_0.optString("errInfo");
                                                    String v22_0 = v30_0.optString("fType");
                                                    String v23_0 = v30_0.optString("errCode");
                                                    String v24_0 = v30_0.optString("fCount");
                                                    String v25_0 = v30_0.optString("qScore");
                                                    String v62_0 = v23_0;
                                                    try {
                                                        if (!v62_0.equalsIgnoreCase("DNC")) {
                                                            if (!v62_0.equalsIgnoreCase("DNR")) {
                                                                if (!v62_0.equalsIgnoreCase("999")) {
                                                                    org.json.JSONObject v31_0 = v29_0.getJSONObject("Skey");
                                                                    String v5_0 = v31_0.optString("content");
                                                                    String v6_0 = v31_0.optString("ci");
                                                                    String v7_0 = v29_0.optString("Hmac");
                                                                    org.json.JSONObject v27_0 = v29_0.getJSONObject("DeviceInfo");
                                                                    String v12_0 = v27_0.optString("rdsId");
                                                                    String v13_0 = v27_0.optString("mi");
                                                                    String v14_0 = v27_0.optString("dpId");
                                                                    String v15_0 = v27_0.optString("dc");
                                                                    String v16_0 = v27_0.optString("rdsVer");
                                                                    String v17_0 = v27_0.optString("mc");
                                                                    org.json.JSONObject v26_0 = v29_0.getJSONObject("Data");
                                                                    v57_0.insertOrReplace(new com.android.db.PidDataTable(v5_0, v6_0, v7_0, "0", "0", "0", "0", v12_0, v13_0, v14_0, v15_0, v16_0, v17_0, v26_0.optString("content"), v26_0.optString("type"), v20_0, v21_0, v22_0, v23_0, v24_0, v25_0));
                                                                    this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                                    this.serviceCall1();
                                                                } else {
                                                                    this.keyboardclose();
                                                                    android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296870)).toString(), 1).show();
                                                                }
                                                            } else {
                                                                this.keyboardclose();
                                                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296866)).toString(), 1).show();
                                                            }
                                                        } else {
                                                            this.keyboardclose();
                                                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296864)).toString(), 1).show();
                                                        }
                                                        v50_1++;
                                                    } catch (Exception v39_4) {
                                                        v39_4.printStackTrace();
                                                    }
                                                }
                                                return;
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                                        if (p73 != 3) {
                                            if (p74 != -1) {
                                                if (p74 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                }
                            } else {
                                if (p75 != null) {
                                    if (p75 == null) {
                                        return;
                                    } else {
                                        try {
                                            String v61_1 = p75.getStringExtra("PID_DATA");
                                        } catch (Exception v39_9) {
                                            android.util.Log.e("Error", "Error while deserialze pid data", v39_9);
                                            return;
                                        }
                                        if (v61_1 == null) {
                                            return;
                                        } else {
                                            String v68_183 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                            v68_183(v61_1);
                                            this.jsonObjectpiddata = v68_183.build().toJson();
                                            this.keyboardclose();
                                            try {
                                                org.json.JSONObject v52_1 = new org.json.JSONObject;
                                                v52_1(this.jsonObjectpiddata.toString());
                                                com.android.db.DaoSession v36_1 = com.Manager.BaseManager.getDBSessoin(this);
                                                v36_1.getPidDataTableDao().deleteAll();
                                                com.android.db.PidDataTableDao v57_1 = v36_1.getPidDataTableDao();
                                                int v50_2 = 0;
                                            } catch (Exception v39_8) {
                                                v39_8.printStackTrace();
                                                return;
                                            }
                                            while (v50_2 < v52_1.length()) {
                                                org.json.JSONObject v29_1 = v52_1.getJSONObject("PidData");
                                                org.json.JSONObject v30_1 = v29_1.getJSONObject("Resp");
                                                String v20_1 = v30_1.getString("nmPoints");
                                                String v21_1 = v30_1.getString("errInfo");
                                                String v22_1 = v30_1.getString("fType");
                                                String v23_1 = v30_1.getString("errCode");
                                                String v24_1 = v30_1.getString("fCount");
                                                String v25_1 = v30_1.getString("qScore");
                                                try {
                                                    if (!v23_1.equalsIgnoreCase("720")) {
                                                        org.json.JSONObject v31_1 = v29_1.getJSONObject("Skey");
                                                        String v5_1 = v31_1.getString("content");
                                                        String v6_1 = v31_1.getString("ci");
                                                        String v7_1 = v29_1.getString("Hmac");
                                                        org.json.JSONObject v27_1 = v29_1.getJSONObject("DeviceInfo");
                                                        org.json.JSONArray v28 = v27_1.getJSONObject("additional_info").getJSONArray("Param");
                                                        org.json.JSONObject v54 = v28.getJSONObject(0);
                                                        String v8_1 = v54.getString("name");
                                                        String v9_1 = v54.getString("value");
                                                        org.json.JSONObject v53 = v28.getJSONObject(1);
                                                        String v10_1 = v53.getString("name");
                                                        String v11_1 = v53.getString("value");
                                                        String v12_1 = v27_1.getString("rdsId");
                                                        String v13_1 = v27_1.getString("mi");
                                                        String v14_1 = v27_1.getString("dpId");
                                                        String v15_1 = v27_1.getString("dc");
                                                        String v16_1 = v27_1.getString("rdsVer");
                                                        String v17_1 = v27_1.getString("mc");
                                                        org.json.JSONObject v26_1 = v29_1.getJSONObject("Data");
                                                        v57_1.insertOrReplace(new com.android.db.PidDataTable(v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1, v16_1, v17_1, v26_1.getString("content"), v26_1.getString("type"), v20_1, v21_1, v22_1, v23_1, v24_1, v25_1));
                                                        this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                        this.serviceCall1();
                                                    } else {
                                                        this.keyboardclose();
                                                        android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296864)).toString(), 1).show();
                                                    }
                                                    v50_2++;
                                                } catch (Exception v39_7) {
                                                    v39_7.printStackTrace();
                                                }
                                            }
                                            return;
                                        }
                                    }
                                } else {
                                    com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                                    if (p73 != 3) {
                                        if (p74 != -1) {
                                            if (p74 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    } else {
                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                        return;
                                    }
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_1 = new android.graphics.BitmapFactory$Options();
                                    v56_1.inSampleSize = 8;
                                    android.graphics.Bitmap v34_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_1);
                                    v34_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_0);
                                    this.final_img_base64 = this.getStringImage(v34_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_0) {
                                    v39_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_3 = new android.graphics.BitmapFactory$Options();
                                    v56_3.inSampleSize = 8;
                                    android.graphics.Bitmap v34_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_3);
                                    v34_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_1);
                                    this.final_img_base64 = this.getStringImage(v34_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_1) {
                                    v39_1.printStackTrace();
                                } catch (OutOfMemoryError v41_1) {
                                    v41_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v68_33 = p75.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v68_33.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v43_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v68_33.next());
                            com.mapit.TribalApp.RegistrationRenewalActivity.path1 = v43_1.getPath();
                            if (((v43_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v51 = new java.io.FileInputStream;
                                    v51(com.mapit.TribalApp.RegistrationRenewalActivity.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v51), 0);
                                    com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837842);
                                } catch (android.content.Context v69) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837696);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v60 == null) {
                        this.setLocale(com.mapit.TribalApp.RegistrationRenewalActivity.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297987)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.RegistrationRenewalActivity.Sessionval);
                        String v37 = v60.getContents();
                        if ((v37 == null) || (v37.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.RegistrationRenewalActivity.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297986)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v37);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                this.imagesPath = p75.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v50_0 = 0;
                } catch (Exception v39_2) {
                    v39_2.printStackTrace();
                    return;
                }
                while (v50_0 < this.imagesPath.length) {
                    android.graphics.Bitmap v63 = this.getThumbnailBitmap(this.imagesPath[v50_0], 1000);
                    this.user_profile_image.setImageBitmap(v63);
                    this.final_img_base64 = this.getStringImage(v63);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v50_0++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.RegistrationPartialUpdateActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p73, int p74, android.content.Intent p75)
    {
        com.google.zxing.integration.android.IntentResult v60 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p73, p74, p75);
        this = super.onActivityResult(p73, p74, p75);
        try {
            this.setLocale(com.mapit.TribalApp.RegistrationPartialUpdateActivity.Sessionval);
        } catch (Exception v39_3) {
            v39_3.printStackTrace();
            return;
        }
        if (p74 != -1) {
            return;
        } else {
            if (p73 != 1) {
                if (v60 == null) {
                    if (p73 != 15) {
                        if (p73 != 100) {
                            if ((p74 != -1) || ((p75 == null) || (p73 != 55))) {
                                if ((p74 != -1) || ((p75 == null) || (p73 != 56))) {
                                    if ((p74 != -1) || (p75 == null)) {
                                        return;
                                    } else {
                                        try {
                                            if (p75 != null) {
                                                this = super.onActivityResult(p73, p74, p75);
                                                if (p74 != -1) {
                                                    if (p74 != 0) {
                                                        return;
                                                    } else {
                                                        this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                        return;
                                                    }
                                                } else {
                                                    if (p73 < 100) {
                                                        if (p73 != 2) {
                                                            if (p73 == 3) {
                                                                return;
                                                            } else {
                                                                if (p73 != 13) {
                                                                    if (p73 != 14) {
                                                                        if (p73 != 15) {
                                                                            if (p73 != 16) {
                                                                                if (p73 != 17) {
                                                                                    if (p73 != 19) {
                                                                                        return;
                                                                                    } else {
                                                                                        String v65_0 = p75.getStringExtra("SETLINKS");
                                                                                        if (v65_0 == null) {
                                                                                            return;
                                                                                        } else {
                                                                                            this.showMessageDialogue(v65_0, "SET LINK RESULT");
                                                                                            return;
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    String v65_1 = p75.getStringExtra("REVOKEREG");
                                                                                    if (v65_1 == null) {
                                                                                        return;
                                                                                    } else {
                                                                                        this.showMessageDialogue(v65_1, "REGISTRATION FLAG REVOKE RESULT");
                                                                                        return;
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                String v65_2 = p75.getStringExtra("GET_REG");
                                                                                if (v65_2 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v65_2, "REGISTRATION FLAG GET RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v65_3 = p75.getStringExtra("SET_REG");
                                                                            if (v65_3 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v65_3, "REGISTRATION FLAG SET RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v65_4 = p75.getStringExtra("RELEASE");
                                                                        if (v65_4 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v65_4, "INTERFACE RELEASE RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v65_5 = p75.getStringExtra("CLAIM");
                                                                    if (v65_5 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v65_5, "INTERFACE CLAIM RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            }
                                                        } else {
                                                            String v58 = p75.getStringExtra("PID_DATA");
                                                            if (v58 == null) {
                                                                this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                                return;
                                                            } else {
                                                                this.showMessageDialogueResult(v58, "PID DATA XML");
                                                                return;
                                                            }
                                                        }
                                                    } else {
                                                        String v59 = p75.getStringExtra("RD_SERVICE_INFO");
                                                        if (v59 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                        } else {
                                                            this.showMessageDialogue(v59, "RD SERVICE INFO XML");
                                                        }
                                                        String v38 = p75.getStringExtra("DEVICE_INFO");
                                                        if (v38 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(v38, "DEVICE INFO XML");
                                                            return;
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                                                if (p73 != 3) {
                                                    if (p74 != -1) {
                                                        if (p74 != 0) {
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                            return;
                                                        }
                                                    } else {
                                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                        return;
                                                    }
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            }
                                        } catch (Exception v42) {
                                            this.showMessageDialogue(new StringBuilder().append("Error:-").append(v42.getMessage()).toString(), "EXCEPTION");
                                            v42.printStackTrace();
                                            return;
                                        }
                                    }
                                } else {
                                    if (p75 != null) {
                                        if (p75 == null) {
                                            return;
                                        } else {
                                            try {
                                                String v61_0 = p75.getStringExtra("PID_DATA");
                                            } catch (Exception v39_6) {
                                                android.util.Log.e("Error", "Error while deserialze pid data", v39_6);
                                                return;
                                            }
                                            if (v61_0 == null) {
                                                return;
                                            } else {
                                                String v68_99 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                                v68_99(v61_0);
                                                this.jsonObjectpiddata = v68_99.build().toJson();
                                                this.keyboardclose();
                                                try {
                                                    org.json.JSONObject v52_0 = new org.json.JSONObject;
                                                    v52_0(this.jsonObjectpiddata.toString());
                                                    com.android.db.DaoSession v36_0 = com.Manager.BaseManager.getDBSessoin(this);
                                                    v36_0.getPidDataTableDao().deleteAll();
                                                    com.android.db.PidDataTableDao v57_0 = v36_0.getPidDataTableDao();
                                                    int v50_1 = 0;
                                                } catch (Exception v39_5) {
                                                    v39_5.printStackTrace();
                                                    return;
                                                }
                                                while (v50_1 < v52_0.length()) {
                                                    org.json.JSONObject v29_0 = v52_0.getJSONObject("PidData");
                                                    org.json.JSONObject v30_0 = v29_0.getJSONObject("Resp");
                                                    String v20_0 = v30_0.optString("nmPoints");
                                                    String v21_0 = v30_0.optString("errInfo");
                                                    String v22_0 = v30_0.optString("fType");
                                                    String v23_0 = v30_0.optString("errCode");
                                                    String v24_0 = v30_0.optString("fCount");
                                                    String v25_0 = v30_0.optString("qScore");
                                                    String v62_0 = v23_0;
                                                    try {
                                                        if (!v62_0.equalsIgnoreCase("DNC")) {
                                                            if (!v62_0.equalsIgnoreCase("DNR")) {
                                                                if (!v62_0.equalsIgnoreCase("999")) {
                                                                    org.json.JSONObject v31_0 = v29_0.getJSONObject("Skey");
                                                                    String v5_0 = v31_0.optString("content");
                                                                    String v6_0 = v31_0.optString("ci");
                                                                    String v7_0 = v29_0.optString("Hmac");
                                                                    org.json.JSONObject v27_0 = v29_0.getJSONObject("DeviceInfo");
                                                                    String v12_0 = v27_0.optString("rdsId");
                                                                    String v13_0 = v27_0.optString("mi");
                                                                    String v14_0 = v27_0.optString("dpId");
                                                                    String v15_0 = v27_0.optString("dc");
                                                                    String v16_0 = v27_0.optString("rdsVer");
                                                                    String v17_0 = v27_0.optString("mc");
                                                                    org.json.JSONObject v26_0 = v29_0.getJSONObject("Data");
                                                                    v57_0.insertOrReplace(new com.android.db.PidDataTable(v5_0, v6_0, v7_0, "0", "0", "0", "0", v12_0, v13_0, v14_0, v15_0, v16_0, v17_0, v26_0.optString("content"), v26_0.optString("type"), v20_0, v21_0, v22_0, v23_0, v24_0, v25_0));
                                                                    this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                                    this.serviceCall1();
                                                                } else {
                                                                    this.keyboardclose();
                                                                    android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296870)).toString(), 1).show();
                                                                }
                                                            } else {
                                                                this.keyboardclose();
                                                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296866)).toString(), 1).show();
                                                            }
                                                        } else {
                                                            this.keyboardclose();
                                                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296864)).toString(), 1).show();
                                                        }
                                                        v50_1++;
                                                    } catch (Exception v39_4) {
                                                        v39_4.printStackTrace();
                                                    }
                                                }
                                                return;
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                                        if (p73 != 3) {
                                            if (p74 != -1) {
                                                if (p74 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                }
                            } else {
                                if (p75 != null) {
                                    if (p75 == null) {
                                        return;
                                    } else {
                                        try {
                                            String v61_1 = p75.getStringExtra("PID_DATA");
                                        } catch (Exception v39_9) {
                                            android.util.Log.e("Error", "Error while deserialze pid data", v39_9);
                                            return;
                                        }
                                        if (v61_1 == null) {
                                            return;
                                        } else {
                                            String v68_183 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                            v68_183(v61_1);
                                            this.jsonObjectpiddata = v68_183.build().toJson();
                                            this.keyboardclose();
                                            try {
                                                org.json.JSONObject v52_1 = new org.json.JSONObject;
                                                v52_1(this.jsonObjectpiddata.toString());
                                                com.android.db.DaoSession v36_1 = com.Manager.BaseManager.getDBSessoin(this);
                                                v36_1.getPidDataTableDao().deleteAll();
                                                com.android.db.PidDataTableDao v57_1 = v36_1.getPidDataTableDao();
                                                int v50_2 = 0;
                                            } catch (Exception v39_8) {
                                                v39_8.printStackTrace();
                                                return;
                                            }
                                            while (v50_2 < v52_1.length()) {
                                                org.json.JSONObject v29_1 = v52_1.getJSONObject("PidData");
                                                org.json.JSONObject v30_1 = v29_1.getJSONObject("Resp");
                                                String v20_1 = v30_1.getString("nmPoints");
                                                String v21_1 = v30_1.getString("errInfo");
                                                String v22_1 = v30_1.getString("fType");
                                                String v23_1 = v30_1.getString("errCode");
                                                String v24_1 = v30_1.getString("fCount");
                                                String v25_1 = v30_1.getString("qScore");
                                                try {
                                                    if (!v23_1.equalsIgnoreCase("720")) {
                                                        org.json.JSONObject v31_1 = v29_1.getJSONObject("Skey");
                                                        String v5_1 = v31_1.getString("content");
                                                        String v6_1 = v31_1.getString("ci");
                                                        String v7_1 = v29_1.getString("Hmac");
                                                        org.json.JSONObject v27_1 = v29_1.getJSONObject("DeviceInfo");
                                                        org.json.JSONArray v28 = v27_1.getJSONObject("additional_info").getJSONArray("Param");
                                                        org.json.JSONObject v54 = v28.getJSONObject(0);
                                                        String v8_1 = v54.getString("name");
                                                        String v9_1 = v54.getString("value");
                                                        org.json.JSONObject v53 = v28.getJSONObject(1);
                                                        String v10_1 = v53.getString("name");
                                                        String v11_1 = v53.getString("value");
                                                        String v12_1 = v27_1.getString("rdsId");
                                                        String v13_1 = v27_1.getString("mi");
                                                        String v14_1 = v27_1.getString("dpId");
                                                        String v15_1 = v27_1.getString("dc");
                                                        String v16_1 = v27_1.getString("rdsVer");
                                                        String v17_1 = v27_1.getString("mc");
                                                        org.json.JSONObject v26_1 = v29_1.getJSONObject("Data");
                                                        v57_1.insertOrReplace(new com.android.db.PidDataTable(v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1, v16_1, v17_1, v26_1.getString("content"), v26_1.getString("type"), v20_1, v21_1, v22_1, v23_1, v24_1, v25_1));
                                                        this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                        this.serviceCall1();
                                                    } else {
                                                        this.keyboardclose();
                                                        android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296864)).toString(), 1).show();
                                                    }
                                                    v50_2++;
                                                } catch (Exception v39_7) {
                                                    v39_7.printStackTrace();
                                                }
                                            }
                                            return;
                                        }
                                    }
                                } else {
                                    com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                                    if (p73 != 3) {
                                        if (p74 != -1) {
                                            if (p74 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    } else {
                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                        return;
                                    }
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_1 = new android.graphics.BitmapFactory$Options();
                                    v56_1.inSampleSize = 8;
                                    android.graphics.Bitmap v34_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_1);
                                    v34_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_0);
                                    this.final_img_base64 = this.getStringImage(v34_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_0) {
                                    v39_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_3 = new android.graphics.BitmapFactory$Options();
                                    v56_3.inSampleSize = 8;
                                    android.graphics.Bitmap v34_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_3);
                                    v34_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_1);
                                    this.final_img_base64 = this.getStringImage(v34_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_1) {
                                    v39_1.printStackTrace();
                                } catch (OutOfMemoryError v41_1) {
                                    v41_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v68_33 = p75.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v68_33.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v43_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v68_33.next());
                            com.mapit.TribalApp.RegistrationPartialUpdateActivity.path1 = v43_1.getPath();
                            if (((v43_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v51 = new java.io.FileInputStream;
                                    v51(com.mapit.TribalApp.RegistrationPartialUpdateActivity.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v51), 0);
                                    com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837842);
                                } catch (android.content.Context v69) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837696);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v60 == null) {
                        this.setLocale(com.mapit.TribalApp.RegistrationPartialUpdateActivity.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297987)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.RegistrationPartialUpdateActivity.Sessionval);
                        String v37 = v60.getContents();
                        if ((v37 == null) || (v37.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.RegistrationPartialUpdateActivity.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297986)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v37);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                this.imagesPath = p75.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v50_0 = 0;
                } catch (Exception v39_2) {
                    v39_2.printStackTrace();
                    return;
                }
                while (v50_0 < this.imagesPath.length) {
                    android.graphics.Bitmap v63 = this.getThumbnailBitmap(this.imagesPath[v50_0], 1000);
                    this.user_profile_image.setImageBitmap(v63);
                    this.final_img_base64 = this.getStringImage(v63);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v50_0++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.RegistrationActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p73, int p74, android.content.Intent p75)
    {
        com.google.zxing.integration.android.IntentResult v60 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p73, p74, p75);
        this = super.onActivityResult(p73, p74, p75);
        try {
            this.setLocale(com.mapit.TribalApp.RegistrationActivity.Sessionval);
        } catch (Exception v39_3) {
            v39_3.printStackTrace();
            return;
        }
        if (p74 != -1) {
            return;
        } else {
            if (p73 != 1) {
                if (v60 == null) {
                    if (p73 != 15) {
                        if (p73 != 100) {
                            if ((p74 != -1) || ((p75 == null) || (p73 != 55))) {
                                if ((p74 != -1) || ((p75 == null) || (p73 != 56))) {
                                    if ((p74 != -1) || (p75 == null)) {
                                        return;
                                    } else {
                                        try {
                                            if (p75 != null) {
                                                this = super.onActivityResult(p73, p74, p75);
                                                if (p74 != -1) {
                                                    if (p74 != 0) {
                                                        return;
                                                    } else {
                                                        this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                        return;
                                                    }
                                                } else {
                                                    if (p73 < 100) {
                                                        if (p73 != 2) {
                                                            if (p73 == 3) {
                                                                return;
                                                            } else {
                                                                if (p73 != 13) {
                                                                    if (p73 != 14) {
                                                                        if (p73 != 15) {
                                                                            if (p73 != 16) {
                                                                                if (p73 != 17) {
                                                                                    if (p73 != 19) {
                                                                                        return;
                                                                                    } else {
                                                                                        String v65_0 = p75.getStringExtra("SETLINKS");
                                                                                        if (v65_0 == null) {
                                                                                            return;
                                                                                        } else {
                                                                                            this.showMessageDialogue(v65_0, "SET LINK RESULT");
                                                                                            return;
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    String v65_1 = p75.getStringExtra("REVOKEREG");
                                                                                    if (v65_1 == null) {
                                                                                        return;
                                                                                    } else {
                                                                                        this.showMessageDialogue(v65_1, "REGISTRATION FLAG REVOKE RESULT");
                                                                                        return;
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                String v65_2 = p75.getStringExtra("GET_REG");
                                                                                if (v65_2 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v65_2, "REGISTRATION FLAG GET RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v65_3 = p75.getStringExtra("SET_REG");
                                                                            if (v65_3 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v65_3, "REGISTRATION FLAG SET RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v65_4 = p75.getStringExtra("RELEASE");
                                                                        if (v65_4 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v65_4, "INTERFACE RELEASE RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v65_5 = p75.getStringExtra("CLAIM");
                                                                    if (v65_5 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v65_5, "INTERFACE CLAIM RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            }
                                                        } else {
                                                            String v58 = p75.getStringExtra("PID_DATA");
                                                            if (v58 == null) {
                                                                this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                                return;
                                                            } else {
                                                                this.showMessageDialogueResult(v58, "PID DATA XML");
                                                                return;
                                                            }
                                                        }
                                                    } else {
                                                        String v59 = p75.getStringExtra("RD_SERVICE_INFO");
                                                        if (v59 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                        } else {
                                                            this.showMessageDialogue(v59, "RD SERVICE INFO XML");
                                                        }
                                                        String v38 = p75.getStringExtra("DEVICE_INFO");
                                                        if (v38 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(v38, "DEVICE INFO XML");
                                                            return;
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                                                if (p73 != 3) {
                                                    if (p74 != -1) {
                                                        if (p74 != 0) {
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                            return;
                                                        }
                                                    } else {
                                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                        return;
                                                    }
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            }
                                        } catch (Exception v42) {
                                            this.showMessageDialogue(new StringBuilder().append("Error:-").append(v42.getMessage()).toString(), "EXCEPTION");
                                            v42.printStackTrace();
                                            return;
                                        }
                                    }
                                } else {
                                    if (p75 != null) {
                                        if (p75 == null) {
                                            return;
                                        } else {
                                            try {
                                                String v61_0 = p75.getStringExtra("PID_DATA");
                                            } catch (Exception v39_6) {
                                                android.util.Log.e("Error", "Error while deserialze pid data", v39_6);
                                                return;
                                            }
                                            if (v61_0 == null) {
                                                return;
                                            } else {
                                                String v68_99 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                                v68_99(v61_0);
                                                this.jsonObjectpiddata = v68_99.build().toJson();
                                                this.keyboardclose();
                                                try {
                                                    org.json.JSONObject v52_0 = new org.json.JSONObject;
                                                    v52_0(this.jsonObjectpiddata.toString());
                                                    com.android.db.DaoSession v36_0 = com.Manager.BaseManager.getDBSessoin(this);
                                                    v36_0.getPidDataTableDao().deleteAll();
                                                    com.android.db.PidDataTableDao v57_0 = v36_0.getPidDataTableDao();
                                                    int v50_1 = 0;
                                                } catch (Exception v39_5) {
                                                    v39_5.printStackTrace();
                                                    return;
                                                }
                                                while (v50_1 < v52_0.length()) {
                                                    org.json.JSONObject v29_0 = v52_0.getJSONObject("PidData");
                                                    org.json.JSONObject v30_0 = v29_0.getJSONObject("Resp");
                                                    String v20_0 = v30_0.optString("nmPoints");
                                                    String v21_0 = v30_0.optString("errInfo");
                                                    String v22_0 = v30_0.optString("fType");
                                                    String v23_0 = v30_0.optString("errCode");
                                                    String v24_0 = v30_0.optString("fCount");
                                                    String v25_0 = v30_0.optString("qScore");
                                                    String v62_0 = v23_0;
                                                    try {
                                                        if (!v62_0.equalsIgnoreCase("DNC")) {
                                                            if (!v62_0.equalsIgnoreCase("DNR")) {
                                                                if (!v62_0.equalsIgnoreCase("999")) {
                                                                    org.json.JSONObject v31_0 = v29_0.getJSONObject("Skey");
                                                                    String v5_0 = v31_0.optString("content");
                                                                    String v6_0 = v31_0.optString("ci");
                                                                    String v7_0 = v29_0.optString("Hmac");
                                                                    org.json.JSONObject v27_0 = v29_0.getJSONObject("DeviceInfo");
                                                                    String v12_0 = v27_0.optString("rdsId");
                                                                    String v13_0 = v27_0.optString("mi");
                                                                    String v14_0 = v27_0.optString("dpId");
                                                                    String v15_0 = v27_0.optString("dc");
                                                                    String v16_0 = v27_0.optString("rdsVer");
                                                                    String v17_0 = v27_0.optString("mc");
                                                                    org.json.JSONObject v26_0 = v29_0.getJSONObject("Data");
                                                                    v57_0.insertOrReplace(new com.android.db.PidDataTable(v5_0, v6_0, v7_0, "0", "0", "0", "0", v12_0, v13_0, v14_0, v15_0, v16_0, v17_0, v26_0.optString("content"), v26_0.optString("type"), v20_0, v21_0, v22_0, v23_0, v24_0, v25_0));
                                                                    this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                                    this.serviceCall1();
                                                                } else {
                                                                    this.keyboardclose();
                                                                    android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296870)).toString(), 1).show();
                                                                }
                                                            } else {
                                                                this.keyboardclose();
                                                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296866)).toString(), 1).show();
                                                            }
                                                        } else {
                                                            this.keyboardclose();
                                                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296864)).toString(), 1).show();
                                                        }
                                                        v50_1++;
                                                    } catch (Exception v39_4) {
                                                        v39_4.printStackTrace();
                                                    }
                                                }
                                                return;
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                                        if (p73 != 3) {
                                            if (p74 != -1) {
                                                if (p74 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                }
                            } else {
                                if (p75 != null) {
                                    if (p75 == null) {
                                        return;
                                    } else {
                                        try {
                                            String v61_1 = p75.getStringExtra("PID_DATA");
                                        } catch (Exception v39_9) {
                                            android.util.Log.e("Error", "Error while deserialze pid data", v39_9);
                                            return;
                                        }
                                        if (v61_1 == null) {
                                            return;
                                        } else {
                                            String v68_183 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                            v68_183(v61_1);
                                            this.jsonObjectpiddata = v68_183.build().toJson();
                                            this.keyboardclose();
                                            try {
                                                org.json.JSONObject v52_1 = new org.json.JSONObject;
                                                v52_1(this.jsonObjectpiddata.toString());
                                                com.android.db.DaoSession v36_1 = com.Manager.BaseManager.getDBSessoin(this);
                                                v36_1.getPidDataTableDao().deleteAll();
                                                com.android.db.PidDataTableDao v57_1 = v36_1.getPidDataTableDao();
                                                int v50_2 = 0;
                                            } catch (Exception v39_8) {
                                                v39_8.printStackTrace();
                                                return;
                                            }
                                            while (v50_2 < v52_1.length()) {
                                                org.json.JSONObject v29_1 = v52_1.getJSONObject("PidData");
                                                org.json.JSONObject v30_1 = v29_1.getJSONObject("Resp");
                                                String v20_1 = v30_1.optString("nmPoints");
                                                String v21_1 = v30_1.optString("errInfo");
                                                String v22_1 = v30_1.optString("fType");
                                                String v23_1 = v30_1.optString("errCode");
                                                String v24_1 = v30_1.optString("fCount");
                                                String v25_1 = v30_1.optString("qScore");
                                                try {
                                                    if (!v23_1.equalsIgnoreCase("720")) {
                                                        org.json.JSONObject v31_1 = v29_1.getJSONObject("Skey");
                                                        String v5_1 = v31_1.optString("content");
                                                        String v6_1 = v31_1.optString("ci");
                                                        String v7_1 = v29_1.optString("Hmac");
                                                        org.json.JSONObject v27_1 = v29_1.getJSONObject("DeviceInfo");
                                                        org.json.JSONArray v28 = v27_1.getJSONObject("additional_info").getJSONArray("Param");
                                                        org.json.JSONObject v54 = v28.getJSONObject(0);
                                                        String v8_1 = v54.optString("name");
                                                        String v9_1 = v54.optString("value");
                                                        org.json.JSONObject v53 = v28.getJSONObject(1);
                                                        String v10_1 = v53.optString("name");
                                                        String v11_1 = v53.optString("value");
                                                        String v12_1 = v27_1.optString("rdsId");
                                                        String v13_1 = v27_1.optString("mi");
                                                        String v14_1 = v27_1.optString("dpId");
                                                        String v15_1 = v27_1.optString("dc");
                                                        String v16_1 = v27_1.optString("rdsVer");
                                                        String v17_1 = v27_1.optString("mc");
                                                        org.json.JSONObject v26_1 = v29_1.getJSONObject("Data");
                                                        v57_1.insertOrReplace(new com.android.db.PidDataTable(v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1, v16_1, v17_1, v26_1.optString("content"), v26_1.optString("type"), v20_1, v21_1, v22_1, v23_1, v24_1, v25_1));
                                                        this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                        this.serviceCall1();
                                                    } else {
                                                        this.keyboardclose();
                                                        android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296864)).toString(), 1).show();
                                                    }
                                                    v50_2++;
                                                } catch (Exception v39_7) {
                                                    v39_7.printStackTrace();
                                                }
                                            }
                                            return;
                                        }
                                    }
                                } else {
                                    com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                                    if (p73 != 3) {
                                        if (p74 != -1) {
                                            if (p74 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    } else {
                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                        return;
                                    }
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_1 = new android.graphics.BitmapFactory$Options();
                                    v56_1.inSampleSize = 8;
                                    android.graphics.Bitmap v34_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_1);
                                    v34_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_0);
                                    this.final_img_base64 = this.getStringImage(v34_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_0) {
                                    v39_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_3 = new android.graphics.BitmapFactory$Options();
                                    v56_3.inSampleSize = 8;
                                    android.graphics.Bitmap v34_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_3);
                                    v34_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_1);
                                    this.final_img_base64 = this.getStringImage(v34_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_1) {
                                    v39_1.printStackTrace();
                                } catch (OutOfMemoryError v41_1) {
                                    v41_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v68_33 = p75.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v68_33.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v43_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v68_33.next());
                            com.mapit.TribalApp.RegistrationActivity.path1 = v43_1.getPath();
                            if (((v43_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v51 = new java.io.FileInputStream;
                                    v51(com.mapit.TribalApp.RegistrationActivity.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v51), 0);
                                    com.mapit.TribalApp.RegistrationActivity.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837842);
                                } catch (android.content.Context v69) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837696);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v60 == null) {
                        this.setLocale(com.mapit.TribalApp.RegistrationActivity.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297987)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.RegistrationActivity.Sessionval);
                        String v37 = v60.getContents();
                        if ((v37 == null) || (v37.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.RegistrationActivity.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297986)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v37);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                this.imagesPath = p75.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v50_0 = 0;
                } catch (Exception v39_2) {
                    v39_2.printStackTrace();
                    return;
                }
                while (v50_0 < this.imagesPath.length) {
                    android.graphics.Bitmap v63 = this.getThumbnailBitmap(this.imagesPath[v50_0], 1000);
                    this.user_profile_image.setImageBitmap(v63);
                    this.final_img_base64 = this.getStringImage(v63);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v50_0++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.IncomeUpdate.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p35, int p36, android.content.Intent p37)
    {
        com.google.zxing.integration.android.IntentResult v26 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p35, p36, p37);
        this = super.onActivityResult(p35, p36, p37);
        try {
            this.setLocale(com.mapit.TribalApp.IncomeUpdate.Sessionval);
        } catch (NullPointerException v9_3) {
            v9_3.printStackTrace();
            return;
        }
        if (p36 != -1) {
            return;
        } else {
            if (p35 != 1) {
                if (v26 == null) {
                    if (p35 != 15) {
                        if (p35 != 100) {
                            if ((p36 != -1) || (p37 == null)) {
                                return;
                            } else {
                                try {
                                    if (p37 != null) {
                                        this = super.onActivityResult(p35, p36, p37);
                                        if (p36 != -1) {
                                            if (p36 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                return;
                                            }
                                        } else {
                                            if (p35 < 100) {
                                                if (p35 != 2) {
                                                    if (p35 == 3) {
                                                        return;
                                                    } else {
                                                        if (p35 != 13) {
                                                            if (p35 != 14) {
                                                                if (p35 != 15) {
                                                                    if (p35 != 16) {
                                                                        if (p35 != 17) {
                                                                            if (p35 != 19) {
                                                                                return;
                                                                            } else {
                                                                                String v29_4 = p37.getStringExtra("SETLINKS");
                                                                                if (v29_4 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v29_4, "SET LINK RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v29_5 = p37.getStringExtra("REVOKEREG");
                                                                            if (v29_5 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v29_5, "REGISTRATION FLAG REVOKE RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v29_0 = p37.getStringExtra("GET_REG");
                                                                        if (v29_0 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v29_0, "REGISTRATION FLAG GET RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v29_1 = p37.getStringExtra("SET_REG");
                                                                    if (v29_1 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v29_1, "REGISTRATION FLAG SET RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            } else {
                                                                String v29_2 = p37.getStringExtra("RELEASE");
                                                                if (v29_2 == null) {
                                                                    return;
                                                                } else {
                                                                    this.showMessageDialogue(v29_2, "INTERFACE RELEASE RESULT");
                                                                    return;
                                                                }
                                                            }
                                                        } else {
                                                            String v29_3 = p37.getStringExtra("CLAIM");
                                                            if (v29_3 == null) {
                                                                return;
                                                            } else {
                                                                this.showMessageDialogue(v29_3, "INTERFACE CLAIM RESULT");
                                                                return;
                                                            }
                                                        }
                                                    }
                                                } else {
                                                    String v24 = p37.getStringExtra("PID_DATA");
                                                    if (v24 == null) {
                                                        this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                        return;
                                                    } else {
                                                        this.showMessageDialogueResult(v24, "PID DATA XML");
                                                        return;
                                                    }
                                                }
                                            } else {
                                                String v25 = p37.getStringExtra("RD_SERVICE_INFO");
                                                if (v25 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                } else {
                                                    this.showMessageDialogue(v25, "RD SERVICE INFO XML");
                                                }
                                                String v8 = p37.getStringExtra("DEVICE_INFO");
                                                if (v8 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(v8, "DEVICE INFO XML");
                                                    return;
                                                }
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.IncomeUpdate.extensionpdf = "test";
                                        if (p35 != 3) {
                                            if (p36 != -1) {
                                                if (p36 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                } catch (Exception v12) {
                                    this.showMessageDialogue(new StringBuilder().append("Error:-").append(v12.getMessage()).toString(), "EXCEPTION");
                                    v12.printStackTrace();
                                    return;
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.IncomeUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_0) {
                                    v9_0.printStackTrace();
                                } catch (OutOfMemoryError v11_0) {
                                    v11_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.IncomeUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_1) {
                                    v9_1.printStackTrace();
                                } catch (OutOfMemoryError v11_1) {
                                    v11_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v30_66 = p37.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v30_66.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v13_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v30_66.next());
                            com.mapit.TribalApp.IncomeUpdate.path1 = v13_1.getPath();
                            if (((v13_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v21 = new java.io.FileInputStream;
                                    v21(com.mapit.TribalApp.IncomeUpdate.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v21), 0);
                                    com.mapit.TribalApp.IncomeUpdate.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837842);
                                } catch (String v31) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837696);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v26 == null) {
                        this.setLocale(com.mapit.TribalApp.IncomeUpdate.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297987)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.IncomeUpdate.Sessionval);
                        String v7 = v26.getContents();
                        if ((v7 == null) || (v7.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.IncomeUpdate.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297986)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v7);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.IncomeUpdate.extensionpdf = "test";
                this.imagesPath = p37.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v20 = 0;
                } catch (NullPointerException v9_2) {
                    v9_2.printStackTrace();
                    return;
                }
                while (v20 < this.imagesPath.length) {
                    android.graphics.Bitmap v27 = this.getThumbnailBitmap(this.imagesPath[v20], 1000);
                    this.user_profile_image.setImageBitmap(v27);
                    this.final_img_base64 = this.getStringImage(v27);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v20++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.DomicileUpdate.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p35, int p36, android.content.Intent p37)
    {
        com.google.zxing.integration.android.IntentResult v26 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p35, p36, p37);
        this = super.onActivityResult(p35, p36, p37);
        try {
            this.setLocale(com.mapit.TribalApp.DomicileUpdate.Sessionval);
        } catch (NullPointerException v9_3) {
            v9_3.printStackTrace();
            return;
        }
        if (p36 != -1) {
            return;
        } else {
            if (p35 != 1) {
                if (v26 == null) {
                    if (p35 != 15) {
                        if (p35 != 100) {
                            if ((p36 != -1) || (p37 == null)) {
                                return;
                            } else {
                                try {
                                    if (p37 != null) {
                                        this = super.onActivityResult(p35, p36, p37);
                                        if (p36 != -1) {
                                            if (p36 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                return;
                                            }
                                        } else {
                                            if (p35 < 100) {
                                                if (p35 != 2) {
                                                    if (p35 == 3) {
                                                        return;
                                                    } else {
                                                        if (p35 != 13) {
                                                            if (p35 != 14) {
                                                                if (p35 != 15) {
                                                                    if (p35 != 16) {
                                                                        if (p35 != 17) {
                                                                            if (p35 != 19) {
                                                                                return;
                                                                            } else {
                                                                                String v29_4 = p37.getStringExtra("SETLINKS");
                                                                                if (v29_4 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v29_4, "SET LINK RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v29_5 = p37.getStringExtra("REVOKEREG");
                                                                            if (v29_5 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v29_5, "REGISTRATION FLAG REVOKE RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v29_0 = p37.getStringExtra("GET_REG");
                                                                        if (v29_0 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v29_0, "REGISTRATION FLAG GET RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v29_1 = p37.getStringExtra("SET_REG");
                                                                    if (v29_1 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v29_1, "REGISTRATION FLAG SET RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            } else {
                                                                String v29_2 = p37.getStringExtra("RELEASE");
                                                                if (v29_2 == null) {
                                                                    return;
                                                                } else {
                                                                    this.showMessageDialogue(v29_2, "INTERFACE RELEASE RESULT");
                                                                    return;
                                                                }
                                                            }
                                                        } else {
                                                            String v29_3 = p37.getStringExtra("CLAIM");
                                                            if (v29_3 == null) {
                                                                return;
                                                            } else {
                                                                this.showMessageDialogue(v29_3, "INTERFACE CLAIM RESULT");
                                                                return;
                                                            }
                                                        }
                                                    }
                                                } else {
                                                    String v24 = p37.getStringExtra("PID_DATA");
                                                    if (v24 == null) {
                                                        this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                        return;
                                                    } else {
                                                        this.showMessageDialogueResult(v24, "PID DATA XML");
                                                        return;
                                                    }
                                                }
                                            } else {
                                                String v25 = p37.getStringExtra("RD_SERVICE_INFO");
                                                if (v25 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                } else {
                                                    this.showMessageDialogue(v25, "RD SERVICE INFO XML");
                                                }
                                                String v8 = p37.getStringExtra("DEVICE_INFO");
                                                if (v8 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(v8, "DEVICE INFO XML");
                                                    return;
                                                }
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.DomicileUpdate.extensionpdf = "test";
                                        if (p35 != 3) {
                                            if (p36 != -1) {
                                                if (p36 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                } catch (Exception v12) {
                                    this.showMessageDialogue(new StringBuilder().append("Error:-").append(v12.getMessage()).toString(), "EXCEPTION");
                                    v12.printStackTrace();
                                    return;
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.DomicileUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_0) {
                                    v9_0.printStackTrace();
                                } catch (OutOfMemoryError v11_0) {
                                    v11_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.DomicileUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_1) {
                                    v9_1.printStackTrace();
                                } catch (OutOfMemoryError v11_1) {
                                    v11_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v30_66 = p37.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v30_66.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v13_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v30_66.next());
                            com.mapit.TribalApp.DomicileUpdate.path1 = v13_1.getPath();
                            if (((v13_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v21 = new java.io.FileInputStream;
                                    v21(com.mapit.TribalApp.DomicileUpdate.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v21), 0);
                                    com.mapit.TribalApp.DomicileUpdate.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837842);
                                } catch (String v31) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837696);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v26 == null) {
                        this.setLocale(com.mapit.TribalApp.DomicileUpdate.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297987)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.DomicileUpdate.Sessionval);
                        String v7 = v26.getContents();
                        if ((v7 == null) || (v7.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.DomicileUpdate.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297986)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v7);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.DomicileUpdate.extensionpdf = "test";
                this.imagesPath = p37.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v20 = 0;
                } catch (NullPointerException v9_2) {
                    v9_2.printStackTrace();
                    return;
                }
                while (v20 < this.imagesPath.length) {
                    android.graphics.Bitmap v27 = this.getThumbnailBitmap(this.imagesPath[v20], 1000);
                    this.user_profile_image.setImageBitmap(v27);
                    this.final_img_base64 = this.getStringImage(v27);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v20++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.CastUpdate.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p35, int p36, android.content.Intent p37)
    {
        com.google.zxing.integration.android.IntentResult v26 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p35, p36, p37);
        this = super.onActivityResult(p35, p36, p37);
        try {
            this.setLocale(com.mapit.TribalApp.CastUpdate.Sessionval);
        } catch (NullPointerException v9_3) {
            v9_3.printStackTrace();
            return;
        }
        if (p36 != -1) {
            return;
        } else {
            if (p35 != 1) {
                if (v26 == null) {
                    if (p35 != 15) {
                        if (p35 != 100) {
                            if ((p36 != -1) || (p37 == null)) {
                                return;
                            } else {
                                try {
                                    if (p37 != null) {
                                        this = super.onActivityResult(p35, p36, p37);
                                        if (p36 != -1) {
                                            if (p36 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                return;
                                            }
                                        } else {
                                            if (p35 < 100) {
                                                if (p35 != 2) {
                                                    if (p35 == 3) {
                                                        return;
                                                    } else {
                                                        if (p35 != 13) {
                                                            if (p35 != 14) {
                                                                if (p35 != 15) {
                                                                    if (p35 != 16) {
                                                                        if (p35 != 17) {
                                                                            if (p35 != 19) {
                                                                                return;
                                                                            } else {
                                                                                String v29_4 = p37.getStringExtra("SETLINKS");
                                                                                if (v29_4 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v29_4, "SET LINK RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v29_5 = p37.getStringExtra("REVOKEREG");
                                                                            if (v29_5 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v29_5, "REGISTRATION FLAG REVOKE RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v29_0 = p37.getStringExtra("GET_REG");
                                                                        if (v29_0 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v29_0, "REGISTRATION FLAG GET RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v29_1 = p37.getStringExtra("SET_REG");
                                                                    if (v29_1 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v29_1, "REGISTRATION FLAG SET RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            } else {
                                                                String v29_2 = p37.getStringExtra("RELEASE");
                                                                if (v29_2 == null) {
                                                                    return;
                                                                } else {
                                                                    this.showMessageDialogue(v29_2, "INTERFACE RELEASE RESULT");
                                                                    return;
                                                                }
                                                            }
                                                        } else {
                                                            String v29_3 = p37.getStringExtra("CLAIM");
                                                            if (v29_3 == null) {
                                                                return;
                                                            } else {
                                                                this.showMessageDialogue(v29_3, "INTERFACE CLAIM RESULT");
                                                                return;
                                                            }
                                                        }
                                                    }
                                                } else {
                                                    String v24 = p37.getStringExtra("PID_DATA");
                                                    if (v24 == null) {
                                                        this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                        return;
                                                    } else {
                                                        this.showMessageDialogueResult(v24, "PID DATA XML");
                                                        return;
                                                    }
                                                }
                                            } else {
                                                String v25 = p37.getStringExtra("RD_SERVICE_INFO");
                                                if (v25 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                } else {
                                                    this.showMessageDialogue(v25, "RD SERVICE INFO XML");
                                                }
                                                String v8 = p37.getStringExtra("DEVICE_INFO");
                                                if (v8 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(v8, "DEVICE INFO XML");
                                                    return;
                                                }
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.CastUpdate.extensionpdf = "test";
                                        if (p35 != 3) {
                                            if (p36 != -1) {
                                                if (p36 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                } catch (Exception v12) {
                                    this.showMessageDialogue(new StringBuilder().append("Error:-").append(v12.getMessage()).toString(), "EXCEPTION");
                                    v12.printStackTrace();
                                    return;
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.CastUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_0) {
                                    v9_0.printStackTrace();
                                } catch (OutOfMemoryError v11_0) {
                                    v11_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.CastUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_1) {
                                    v9_1.printStackTrace();
                                } catch (OutOfMemoryError v11_1) {
                                    v11_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v30_66 = p37.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v30_66.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v13_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v30_66.next());
                            com.mapit.TribalApp.CastUpdate.path1 = v13_1.getPath();
                            if (((v13_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v21 = new java.io.FileInputStream;
                                    v21(com.mapit.TribalApp.CastUpdate.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v21), 0);
                                    com.mapit.TribalApp.CastUpdate.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837842);
                                } catch (String v31) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837696);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v26 == null) {
                        this.setLocale(com.mapit.TribalApp.CastUpdate.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297987)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.CastUpdate.Sessionval);
                        String v7 = v26.getContents();
                        if ((v7 == null) || (v7.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.CastUpdate.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297986)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v7);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.CastUpdate.extensionpdf = "test";
                this.imagesPath = p37.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v20 = 0;
                } catch (NullPointerException v9_2) {
                    v9_2.printStackTrace();
                    return;
                }
                while (v20 < this.imagesPath.length) {
                    android.graphics.Bitmap v27 = this.getThumbnailBitmap(this.imagesPath[v20], 1000);
                    this.user_profile_image.setImageBitmap(v27);
                    this.final_img_base64 = this.getStringImage(v27);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v20++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.AdminBasedProfileRegistration.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p73, int p74, android.content.Intent p75)
    {
        com.google.zxing.integration.android.IntentResult v60 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p73, p74, p75);
        this = super.onActivityResult(p73, p74, p75);
        try {
            this.setLocale(com.mapit.TribalApp.AdminBasedProfileRegistration.Sessionval);
        } catch (Exception v39_3) {
            v39_3.printStackTrace();
            return;
        }
        if (p74 != -1) {
            return;
        } else {
            if (p73 != 1) {
                if (v60 == null) {
                    if (p73 != 15) {
                        if (p73 != 100) {
                            if ((p74 != -1) || ((p75 == null) || (p73 != 55))) {
                                if ((p74 != -1) || ((p75 == null) || (p73 != 56))) {
                                    if ((p74 != -1) || (p75 == null)) {
                                        return;
                                    } else {
                                        try {
                                            if (p75 != null) {
                                                this = super.onActivityResult(p73, p74, p75);
                                                if (p74 != -1) {
                                                    if (p74 != 0) {
                                                        return;
                                                    } else {
                                                        this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                        return;
                                                    }
                                                } else {
                                                    if (p73 < 100) {
                                                        if (p73 != 2) {
                                                            if (p73 == 3) {
                                                                return;
                                                            } else {
                                                                if (p73 != 13) {
                                                                    if (p73 != 14) {
                                                                        if (p73 != 15) {
                                                                            if (p73 != 16) {
                                                                                if (p73 != 17) {
                                                                                    if (p73 != 19) {
                                                                                        return;
                                                                                    } else {
                                                                                        String v65_0 = p75.getStringExtra("SETLINKS");
                                                                                        if (v65_0 == null) {
                                                                                            return;
                                                                                        } else {
                                                                                            this.showMessageDialogue(v65_0, "SET LINK RESULT");
                                                                                            return;
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    String v65_1 = p75.getStringExtra("REVOKEREG");
                                                                                    if (v65_1 == null) {
                                                                                        return;
                                                                                    } else {
                                                                                        this.showMessageDialogue(v65_1, "REGISTRATION FLAG REVOKE RESULT");
                                                                                        return;
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                String v65_2 = p75.getStringExtra("GET_REG");
                                                                                if (v65_2 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v65_2, "REGISTRATION FLAG GET RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v65_3 = p75.getStringExtra("SET_REG");
                                                                            if (v65_3 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v65_3, "REGISTRATION FLAG SET RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v65_4 = p75.getStringExtra("RELEASE");
                                                                        if (v65_4 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v65_4, "INTERFACE RELEASE RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v65_5 = p75.getStringExtra("CLAIM");
                                                                    if (v65_5 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v65_5, "INTERFACE CLAIM RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            }
                                                        } else {
                                                            String v58 = p75.getStringExtra("PID_DATA");
                                                            if (v58 == null) {
                                                                this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                                return;
                                                            } else {
                                                                this.showMessageDialogueResult(v58, "PID DATA XML");
                                                                return;
                                                            }
                                                        }
                                                    } else {
                                                        String v59 = p75.getStringExtra("RD_SERVICE_INFO");
                                                        if (v59 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                        } else {
                                                            this.showMessageDialogue(v59, "RD SERVICE INFO XML");
                                                        }
                                                        String v38 = p75.getStringExtra("DEVICE_INFO");
                                                        if (v38 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(v38, "DEVICE INFO XML");
                                                            return;
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                                                if (p73 != 3) {
                                                    if (p74 != -1) {
                                                        if (p74 != 0) {
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                            return;
                                                        }
                                                    } else {
                                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                        return;
                                                    }
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            }
                                        } catch (Exception v42) {
                                            this.showMessageDialogue(new StringBuilder().append("Error:-").append(v42.getMessage()).toString(), "EXCEPTION");
                                            v42.printStackTrace();
                                            return;
                                        }
                                    }
                                } else {
                                    if (p75 != null) {
                                        if (p75 == null) {
                                            return;
                                        } else {
                                            try {
                                                String v61_0 = p75.getStringExtra("PID_DATA");
                                            } catch (Exception v39_6) {
                                                android.util.Log.e("Error", "Error while deserialze pid data", v39_6);
                                                return;
                                            }
                                            if (v61_0 == null) {
                                                return;
                                            } else {
                                                String v68_99 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                                v68_99(v61_0);
                                                this.jsonObjectpiddata = v68_99.build().toJson();
                                                this.keyboardclose();
                                                try {
                                                    org.json.JSONObject v52_0 = new org.json.JSONObject;
                                                    v52_0(this.jsonObjectpiddata.toString());
                                                    com.android.db.DaoSession v36_0 = com.Manager.BaseManager.getDBSessoin(this);
                                                    v36_0.getPidDataTableDao().deleteAll();
                                                    com.android.db.PidDataTableDao v57_0 = v36_0.getPidDataTableDao();
                                                    int v50_1 = 0;
                                                } catch (Exception v39_5) {
                                                    v39_5.printStackTrace();
                                                    return;
                                                }
                                                while (v50_1 < v52_0.length()) {
                                                    org.json.JSONObject v29_0 = v52_0.getJSONObject("PidData");
                                                    org.json.JSONObject v30_0 = v29_0.getJSONObject("Resp");
                                                    String v20_0 = v30_0.optString("nmPoints");
                                                    String v21_0 = v30_0.optString("errInfo");
                                                    String v22_0 = v30_0.optString("fType");
                                                    String v23_0 = v30_0.optString("errCode");
                                                    String v24_0 = v30_0.optString("fCount");
                                                    String v25_0 = v30_0.optString("qScore");
                                                    String v62_0 = v23_0;
                                                    try {
                                                        if (!v62_0.equalsIgnoreCase("DNC")) {
                                                            if (!v62_0.equalsIgnoreCase("DNR")) {
                                                                if (!v62_0.equalsIgnoreCase("999")) {
                                                                    org.json.JSONObject v31_0 = v29_0.getJSONObject("Skey");
                                                                    String v5_0 = v31_0.optString("content");
                                                                    String v6_0 = v31_0.optString("ci");
                                                                    String v7_0 = v29_0.optString("Hmac");
                                                                    org.json.JSONObject v27_0 = v29_0.getJSONObject("DeviceInfo");
                                                                    String v12_0 = v27_0.optString("rdsId");
                                                                    String v13_0 = v27_0.optString("mi");
                                                                    String v14_0 = v27_0.optString("dpId");
                                                                    String v15_0 = v27_0.optString("dc");
                                                                    String v16_0 = v27_0.optString("rdsVer");
                                                                    String v17_0 = v27_0.optString("mc");
                                                                    org.json.JSONObject v26_0 = v29_0.getJSONObject("Data");
                                                                    v57_0.insertOrReplace(new com.android.db.PidDataTable(v5_0, v6_0, v7_0, "0", "0", "0", "0", v12_0, v13_0, v14_0, v15_0, v16_0, v17_0, v26_0.optString("content"), v26_0.optString("type"), v20_0, v21_0, v22_0, v23_0, v24_0, v25_0));
                                                                    this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                                    this.serviceCall1();
                                                                } else {
                                                                    this.keyboardclose();
                                                                    android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296870)).toString(), 1).show();
                                                                }
                                                            } else {
                                                                this.keyboardclose();
                                                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296866)).toString(), 1).show();
                                                            }
                                                        } else {
                                                            this.keyboardclose();
                                                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296864)).toString(), 1).show();
                                                        }
                                                        v50_1++;
                                                    } catch (Exception v39_4) {
                                                        v39_4.printStackTrace();
                                                    }
                                                }
                                                return;
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                                        if (p73 != 3) {
                                            if (p74 != -1) {
                                                if (p74 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                }
                            } else {
                                if (p75 != null) {
                                    if (p75 == null) {
                                        return;
                                    } else {
                                        try {
                                            String v61_1 = p75.getStringExtra("PID_DATA");
                                        } catch (Exception v39_9) {
                                            android.util.Log.e("Error", "Error while deserialze pid data", v39_9);
                                            return;
                                        }
                                        if (v61_1 == null) {
                                            return;
                                        } else {
                                            String v68_183 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                            v68_183(v61_1);
                                            this.jsonObjectpiddata = v68_183.build().toJson();
                                            this.keyboardclose();
                                            try {
                                                org.json.JSONObject v52_1 = new org.json.JSONObject;
                                                v52_1(this.jsonObjectpiddata.toString());
                                                com.android.db.DaoSession v36_1 = com.Manager.BaseManager.getDBSessoin(this);
                                                v36_1.getPidDataTableDao().deleteAll();
                                                com.android.db.PidDataTableDao v57_1 = v36_1.getPidDataTableDao();
                                                int v50_2 = 0;
                                            } catch (Exception v39_8) {
                                                v39_8.printStackTrace();
                                                return;
                                            }
                                            while (v50_2 < v52_1.length()) {
                                                org.json.JSONObject v29_1 = v52_1.getJSONObject("PidData");
                                                org.json.JSONObject v30_1 = v29_1.getJSONObject("Resp");
                                                String v20_1 = v30_1.optString("nmPoints");
                                                String v21_1 = v30_1.optString("errInfo");
                                                String v22_1 = v30_1.optString("fType");
                                                String v23_1 = v30_1.optString("errCode");
                                                String v24_1 = v30_1.optString("fCount");
                                                String v25_1 = v30_1.optString("qScore");
                                                try {
                                                    if (!v23_1.equalsIgnoreCase("720")) {
                                                        org.json.JSONObject v31_1 = v29_1.getJSONObject("Skey");
                                                        String v5_1 = v31_1.optString("content");
                                                        String v6_1 = v31_1.optString("ci");
                                                        String v7_1 = v29_1.optString("Hmac");
                                                        org.json.JSONObject v27_1 = v29_1.getJSONObject("DeviceInfo");
                                                        org.json.JSONArray v28 = v27_1.getJSONObject("additional_info").getJSONArray("Param");
                                                        org.json.JSONObject v54 = v28.getJSONObject(0);
                                                        String v8_1 = v54.optString("name");
                                                        String v9_1 = v54.optString("value");
                                                        org.json.JSONObject v53 = v28.getJSONObject(1);
                                                        String v10_1 = v53.optString("name");
                                                        String v11_1 = v53.optString("value");
                                                        String v12_1 = v27_1.optString("rdsId");
                                                        String v13_1 = v27_1.optString("mi");
                                                        String v14_1 = v27_1.optString("dpId");
                                                        String v15_1 = v27_1.optString("dc");
                                                        String v16_1 = v27_1.optString("rdsVer");
                                                        String v17_1 = v27_1.optString("mc");
                                                        org.json.JSONObject v26_1 = v29_1.getJSONObject("Data");
                                                        v57_1.insertOrReplace(new com.android.db.PidDataTable(v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1, v16_1, v17_1, v26_1.optString("content"), v26_1.optString("type"), v20_1, v21_1, v22_1, v23_1, v24_1, v25_1));
                                                        this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                        this.serviceCall1();
                                                    } else {
                                                        this.keyboardclose();
                                                        android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296864)).toString(), 1).show();
                                                    }
                                                    v50_2++;
                                                } catch (Exception v39_7) {
                                                    v39_7.printStackTrace();
                                                }
                                            }
                                            return;
                                        }
                                    }
                                } else {
                                    com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                                    if (p73 != 3) {
                                        if (p74 != -1) {
                                            if (p74 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    } else {
                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                        return;
                                    }
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_1 = new android.graphics.BitmapFactory$Options();
                                    v56_1.inSampleSize = 8;
                                    android.graphics.Bitmap v34_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_1);
                                    v34_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_0);
                                    this.final_img_base64 = this.getStringImage(v34_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_0) {
                                    v39_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_3 = new android.graphics.BitmapFactory$Options();
                                    v56_3.inSampleSize = 8;
                                    android.graphics.Bitmap v34_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_3);
                                    v34_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_1);
                                    this.final_img_base64 = this.getStringImage(v34_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_1) {
                                    v39_1.printStackTrace();
                                } catch (OutOfMemoryError v41_1) {
                                    v41_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v68_33 = p75.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v68_33.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v43_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v68_33.next());
                            com.mapit.TribalApp.AdminBasedProfileRegistration.path1 = v43_1.getPath();
                            if (((v43_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v51 = new java.io.FileInputStream;
                                    v51(com.mapit.TribalApp.AdminBasedProfileRegistration.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v51), 0);
                                    com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837842);
                                } catch (android.content.Context v69) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837696);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v60 == null) {
                        this.setLocale(com.mapit.TribalApp.AdminBasedProfileRegistration.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297987)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.AdminBasedProfileRegistration.Sessionval);
                        String v37 = v60.getContents();
                        if ((v37 == null) || (v37.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.AdminBasedProfileRegistration.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297986)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v37);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                this.imagesPath = p75.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v50_0 = 0;
                } catch (Exception v39_2) {
                    v39_2.printStackTrace();
                    return;
                }
                while (v50_0 < this.imagesPath.length) {
                    android.graphics.Bitmap v63 = this.getThumbnailBitmap(this.imagesPath[v50_0], 1000);
                    this.user_profile_image.setImageBitmap(v63);
                    this.final_img_base64 = this.getStringImage(v63);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v50_0++;
                }
                return;
            }
        }
    }

Method com.google.firebase.iid.zzp.zza() calling method java.io.FileInputStream.<init>()


    private static com.google.firebase.iid.zzq zza(java.io.File p7)
    {
        int v1_0 = 0;
        java.io.FileInputStream v2_1 = new java.io.FileInputStream(p7);
        try {
            com.google.firebase.iid.zzq v0_3;
            com.google.firebase.iid.zzq v0_7 = new java.util.Properties();
            v0_7.load(v2_1);
            com.google.firebase.iid.zzr v3_4 = v0_7.getProperty("pub");
            long v4_0 = v0_7.getProperty("pri");
        } catch (com.google.firebase.iid.zzq v0_6) {
            com.google.firebase.iid.zzp.zza(v1_0, v2_1);
            throw v0_6;
        } catch (com.google.firebase.iid.zzq v0_4) {
            try {
                throw v0_4;
            } catch (int v1_1) {
                v1_0 = v0_4;
                v0_6 = v1_1;
            }
        }
        if ((v3_4 != null) && (v4_0 != 0)) {
            try {
            } catch (com.google.firebase.iid.zzq v0_1) {
                throw new com.google.firebase.iid.zzr(v0_1);
            }
            v0_3 = new com.google.firebase.iid.zzq(com.google.firebase.iid.zzp.zzc(v3_4, v4_0), Long.parseLong(v0_7.getProperty("cre")));
            com.google.firebase.iid.zzp.zza(0, v2_1);
        } else {
            com.google.firebase.iid.zzp.zza(0, v2_1);
            v0_3 = 0;
        }
        return v0_3;
    }

Method org.apache.poi.hssf.extractor.ExcelExtractor.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p8)
    {
        try {
            org.apache.poi.hssf.extractor.ExcelExtractor$CommandArgs v0_1 = new org.apache.poi.hssf.extractor.ExcelExtractor$CommandArgs(p8);
        } catch (Exception v1_1) {
            System.err.println(v1_1.getMessage());
            org.apache.poi.hssf.extractor.ExcelExtractor.printUsageMessage(System.err);
            System.exit(1);
            return;
        }
        if (!v0_1.isRequestHelp()) {
            try {
                java.io.FileInputStream v3_1;
                if (v0_1.getInputFile() != null) {
                    v3_1 = new java.io.FileInputStream(v0_1.getInputFile());
                } else {
                    v3_1 = System.in;
                }
            } catch (Exception v1_0) {
                v1_0.printStackTrace();
                System.exit(1);
                return;
            }
            java.io.PrintStream v5_5;
            org.apache.poi.hssf.extractor.ExcelExtractor v2_1 = new org.apache.poi.hssf.extractor.ExcelExtractor(new org.apache.poi.hssf.usermodel.HSSFWorkbook(v3_1));
            v2_1.setIncludeSheetNames(v0_1.shouldShowSheetNames());
            if (v0_1.shouldEvaluateFormulas()) {
                v5_5 = 0;
            } else {
                v5_5 = 1;
            }
            v2_1.setFormulasNotResults(v5_5);
            v2_1.setIncludeCellComments(v0_1.shouldShowCellComments());
            v2_1.setIncludeBlankCells(v0_1.shouldShowBlankCells());
            v2_1.setIncludeHeadersFooters(v0_1.shouldIncludeHeadersFooters());
            System.out.println(v2_1.getText());
            return;
        } else {
            org.apache.poi.hssf.extractor.ExcelExtractor.printUsageMessage(System.out);
            return;
        }
    }

Method org.apache.http.entity.FileEntity.writeTo() calling method java.io.FileInputStream.<init>()


    public void writeTo(java.io.OutputStream p5)
    {
        org.apache.http.util.Args.notNull(p5, "Output stream");
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(this.file);
        try {
            byte[] v2 = new byte[4096];
        } catch (int v3_1) {
            v0_1.close();
            throw v3_1;
        }
        while(true) {
            int v1 = v0_1.read(v2);
            if (v1 == -1) {
                break;
            }
            p5.write(v2, 0, v1);
        }
        p5.flush();
        v0_1.close();
        return;
    }

Method org.apache.http.entity.FileEntity.getContent() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream getContent()
    {
        return new java.io.FileInputStream(this.file);
    }

Method com.google.android.gms.common.util.IOUtils$zzb.zzdd() calling method java.io.FileInputStream.<init>()


    public final byte[] zzdd()
    {
        try {
            int v1_1 = new java.io.FileInputStream(this.file);
            try {
                Throwable v0_0 = com.google.android.gms.common.util.IOUtils.zzb(v1_1, v1_1.getChannel().size());
                com.google.android.gms.common.util.IOUtils.closeQuietly(v1_1);
                return v0_0;
            } catch (Throwable v0_1) {
                com.google.android.gms.common.util.IOUtils.closeQuietly(v1_1);
                throw v0_1;
            }
        } catch (Throwable v0_1) {
            v1_1 = 0;
        }
        v0_0 = com.google.android.gms.common.util.IOUtils.zzb(v1_1, v1_1.getChannel().size());
        com.google.android.gms.common.util.IOUtils.closeQuietly(v1_1);
        return v0_0;
    }

Method com.crashlytics.android.core.Sha1FileIdStrategy.getFileSHA() calling method java.io.FileInputStream.<init>()


    private static String getFileSHA(String p4)
    {
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(p4));
            try {
                String v2 = io.fabric.sdk.android.services.common.CommonUtils.sha1(v1_1);
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
                return v2;
            } catch (Throwable v3_0) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v0);
                throw v3_0;
            }
        } catch (Throwable v3_0) {
        }
        v2 = io.fabric.sdk.android.services.common.CommonUtils.sha1(v1_1);
        io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
        return v2;
    }

Method com.crashlytics.android.core.NativeFileUtils.readFile() calling method java.io.FileInputStream.<init>()


    static byte[] readFile(java.io.File p4)
    {
        Throwable v3_0 = 0;
        java.io.FileInputStream v1 = 0;
        try {
            java.io.FileInputStream v2_1 = new java.io.FileInputStream(p4);
            try {
                v3_0 = com.crashlytics.android.core.NativeFileUtils.readBytes(v2_1);
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v2_1);
            } catch (Throwable v3_1) {
                v1 = v2_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1);
                throw v3_1;
            } catch (java.io.IOException v0) {
                v1 = v2_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1);
            } catch (java.io.IOException v0) {
                v1 = v2_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1);
            }
            return v3_0;
        } catch (Throwable v3_1) {
        } catch (java.io.IOException v0) {
        } catch (java.io.IOException v0) {
        }
    }

Method com.crashlytics.android.core.MetaDataStore.readUserData() calling method java.io.FileInputStream.<init>()


    public com.crashlytics.android.core.UserMetaData readUserData(String p8)
    {
        Throwable v4_1;
        java.io.File v1 = this.getUserDataFileForSession(p8);
        if (v1.exists()) {
            java.io.FileInputStream v2 = 0;
            try {
                java.io.FileInputStream v3_1 = new java.io.FileInputStream(v1);
                try {
                    v4_1 = com.crashlytics.android.core.MetaDataStore.jsonToUserData(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v3_1));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3_1, "Failed to close user metadata file.");
                } catch (Throwable v4_4) {
                    v2 = v3_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    throw v4_4;
                } catch (Exception v0) {
                    v2 = v3_1;
                    io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error deserializing user metadata.", v0);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    v4_1 = com.crashlytics.android.core.UserMetaData.EMPTY;
                }
            } catch (Throwable v4_4) {
            } catch (Exception v0) {
            }
        } else {
            v4_1 = com.crashlytics.android.core.UserMetaData.EMPTY;
        }
        return v4_1;
    }

Method com.crashlytics.android.core.MetaDataStore.readKeyData() calling method java.io.FileInputStream.<init>()


    public java.util.Map readKeyData(String p8)
    {
        Throwable v4_1;
        java.io.File v1 = this.getKeysFileForSession(p8);
        if (v1.exists()) {
            java.io.FileInputStream v2 = 0;
            try {
                java.io.FileInputStream v3_1 = new java.io.FileInputStream(v1);
                try {
                    v4_1 = com.crashlytics.android.core.MetaDataStore.jsonToKeysData(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v3_1));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3_1, "Failed to close user metadata file.");
                } catch (Throwable v4_4) {
                    v2 = v3_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    throw v4_4;
                } catch (Exception v0) {
                    v2 = v3_1;
                    io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error deserializing user metadata.", v0);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    v4_1 = java.util.Collections.emptyMap();
                }
            } catch (Throwable v4_4) {
            } catch (Exception v0) {
            }
        } else {
            v4_1 = java.util.Collections.emptyMap();
        }
        return v4_1;
    }

Method com.crashlytics.android.core.CrashlyticsController.writeToCosFromFile() calling method java.io.FileInputStream.<init>()


    private static void writeToCosFromFile(com.crashlytics.android.core.CodedOutputStream p6, java.io.File p7)
    {
        if (p7.exists()) {
            java.io.FileInputStream v0 = 0;
            try {
                java.io.FileInputStream v1_1 = new java.io.FileInputStream(p7);
                try {
                    com.crashlytics.android.core.CrashlyticsController.copyToCodedOutputStream(v1_1, p6, ((int) p7.length()));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, "Failed to close file input stream.");
                } catch (Throwable v2_2) {
                    v0 = v1_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close file input stream.");
                    throw v2_2;
                }
            } catch (Throwable v2_2) {
            }
        } else {
            io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", new StringBuilder().append("Tried to include a file that doesn\'t exist: ").append(p7.getName()).toString(), 0);
        }
        return;
    }

Method com.crashlytics.android.beta.DeviceTokenLoader.getZipInputStreamOfApkFrom() calling method java.io.FileInputStream.<init>()


    java.util.zip.ZipInputStream getZipInputStreamOfApkFrom(android.content.Context p6, String p7)
    {
        return new java.util.zip.ZipInputStream(new java.io.FileInputStream(p6.getPackageManager().getApplicationInfo(p7, 0).sourceDir));
    }

Method com.bumptech.glide.load.resource.file.FileToStreamDecoder$FileOpener.open() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream open(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.bumptech.glide.disklrucache.DiskLruCache.readJournal() calling method java.io.FileInputStream.<init>()


    private void readJournal()
    {
        com.bumptech.glide.disklrucache.StrictLineReader v5_1 = new com.bumptech.glide.disklrucache.StrictLineReader(new java.io.FileInputStream(this.journalFile), com.bumptech.glide.disklrucache.Util.US_ASCII);
        try {
            String v4 = v5_1.readLine();
            String v7 = v5_1.readLine();
            String v0 = v5_1.readLine();
            String v6 = v5_1.readLine();
            String v1 = v5_1.readLine();
        } catch (java.io.BufferedWriter v8_23) {
            com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
            throw v8_23;
        }
        if (("libcore.io.DiskLruCache".equals(v4)) && (("1".equals(v7)) && ((Integer.toString(this.appVersion).equals(v0)) && ((Integer.toString(this.valueCount).equals(v6)) && ("".equals(v1)))))) {
            int v3 = 0;
            try {
                while(true) {
                    this.readJournalLine(v5_1.readLine());
                    v3++;
                }
            } catch (java.io.EOFException v2) {
                this.redundantOpCount = (v3 - this.lruEntries.size());
                if (!v5_1.hasUnterminatedLine()) {
                    this.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFile, 1), com.bumptech.glide.disklrucache.Util.US_ASCII));
                } else {
                    this.rebuildJournal();
                }
                com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v4).append(", ").append(v7).append(", ").append(v6).append(", ").append(v1).append("]").toString());
        }
    }

Method com.bumptech.glide.disklrucache.DiskLruCache$Value.getString() calling method java.io.FileInputStream.<init>()


    public String getString(int p3)
    {
        return com.bumptech.glide.disklrucache.DiskLruCache.access$1700(new java.io.FileInputStream(this.files[p3]));
    }

Method com.bumptech.glide.disklrucache.DiskLruCache$Editor.newInputStream() calling method java.io.FileInputStream.<init>()


    private java.io.InputStream newInputStream(int p6)
    {
        java.io.FileInputStream v1_0 = 0;
        try {
            if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$700(this.entry) == this) {
                if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$600(this.entry)) {
                    try {
                    } catch (java.io.FileNotFoundException v0) {
                    }
                    v1_0 = new java.io.FileInputStream(this.entry.getCleanFile(p6));
                } else {
                }
                return v1_0;
            } else {
                throw new IllegalStateException();
            }
        } catch (java.io.FileInputStream v1_3) {
            throw v1_3;
        }
    }

Method com.android.volley.toolbox.DiskBasedCache.initialize() calling method java.io.FileInputStream.<init>()


    public declared_synchronized void initialize()
    {
        try {
            if (this.mRootDirectory.exists()) {
                java.io.File[] v4 = this.mRootDirectory.listFiles();
                if (v4 != null) {
                    java.io.File[] v0 = v4;
                    int v8 = v0.length;
                    int v7 = 0;
                    while (v7 < v8) {
                        java.io.File v3 = v0[v7];
                        java.io.FileInputStream v5 = 0;
                        try {
                            java.io.FileInputStream v6_1 = new java.io.FileInputStream(v3);
                            try {
                                com.android.volley.toolbox.DiskBasedCache$CacheHeader v2 = com.android.volley.toolbox.DiskBasedCache$CacheHeader.readHeader(v6_1);
                                v2.size = v3.length();
                                this.putEntry(v2.key, v2);
                            } catch (java.io.IOException v9_3) {
                                v5 = v6_1;
                                if (v5 != null) {
                                    try {
                                        v5.close();
                                    } catch (java.io.IOException v10) {
                                    }
                                }
                                throw v9_3;
                            } catch (java.io.IOException v1) {
                                v5 = v6_1;
                                if (v3 != null) {
                                    v3.delete();
                                }
                                if (v5 == null) {
                                    v7++;
                                } else {
                                    try {
                                        v5.close();
                                    } catch (java.io.IOException v9) {
                                    }
                                }
                            }
                            if (v6_1 == null) {
                            } else {
                                try {
                                    v6_1.close();
                                } catch (java.io.IOException v9) {
                                }
                            }
                        } catch (java.io.IOException v9_3) {
                        } catch (java.io.IOException v1) {
                        }
                    }
                }
            } else {
                if (!this.mRootDirectory.mkdirs()) {
                    java.io.IOException v10_2 = new Object[1];
                    v10_2[0] = this.mRootDirectory.getAbsolutePath();
                    com.android.volley.VolleyLog.e("Unable to create cache dir %s", v10_2);
                }
            }
        } catch (java.io.IOException v9_8) {
            throw v9_8;
        }
        return;
    }

Method com.android.volley.toolbox.DiskBasedCache.get() calling method java.io.FileInputStream.<init>()


    public declared_synchronized com.android.volley.Cache$Entry get(String p13)
    {
        Throwable v7_0 = 0;
        try {
            com.android.volley.toolbox.DiskBasedCache$CacheHeader v4_1 = ((com.android.volley.toolbox.DiskBasedCache$CacheHeader) this.mEntries.get(p13));
        } catch (Throwable v7_1) {
            throw v7_1;
        }
        if (v4_1 != null) {
            java.io.File v5 = this.getFileForKey(p13);
            com.android.volley.toolbox.DiskBasedCache$CountingInputStream v0 = 0;
            try {
                com.android.volley.toolbox.DiskBasedCache$CountingInputStream v1_0 = new com.android.volley.toolbox.DiskBasedCache$CountingInputStream(new java.io.FileInputStream(v5), 0);
                try {
                    com.android.volley.toolbox.DiskBasedCache$CacheHeader.readHeader(v1_0);
                    Throwable v8_6 = v4_1.toCacheEntry(com.android.volley.toolbox.DiskBasedCache.streamToBytes(v1_0, ((int) (v5.length() - ((long) com.android.volley.toolbox.DiskBasedCache$CountingInputStream.access$100(v1_0))))));
                } catch (Throwable v8_8) {
                    v0 = v1_0;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v6) {
                            return v7_0;
                        }
                    }
                    throw v8_8;
                } catch (java.io.IOException v3) {
                    v0 = v1_0;
                    Object[] v9_2 = new Object[2];
                    v9_2[0] = v5.getAbsolutePath();
                    v9_2[1] = v3.toString();
                    com.android.volley.VolleyLog.d("%s: %s", v9_2);
                    this.remove(p13);
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v6) {
                        }
                    }
                }
                if (v1_0 != null) {
                    try {
                        v1_0.close();
                    } catch (java.io.IOException v6) {
                        return v7_0;
                    }
                }
                v7_0 = v8_6;
            } catch (Throwable v8_8) {
            } catch (java.io.IOException v3) {
            }
        }
        return v7_0;
    }

Method com.PMSYojna.PmsFreshApply.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            this.keyboardclose();
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.admission_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.admission_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.admission_letter_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                    this.admission_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837842);
                                android.util.Log.i("encodedPdfString", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.admission_letter_image.setImageResource(2130837842);
                                android.util.Log.i("encodedPdfString", new StringBuilder().append("").append(v8_1.toString()).toString());
                                this.admission_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            }
                        } else {
                            this.admission_letter_image.setImageResource(2130837696);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.admission_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.admission_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.pta.PTAMeetingDetailActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            this.keyboardclose();
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837842);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.payment_mode.ChecqueDetailFragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p29, int p30, android.content.Intent p31)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p29, p30, p31);
        this = super.onActivityResult(p29, p30, p31);
        this.getActivity();
        if (p30 == -1) {
            this.keyboardclose();
            if (p29 != 1) {
                if (p29 != 15) {
                    if (p29 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p31.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837842);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p31.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.payment_mode.CashPaymentDetailFragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p29, int p30, android.content.Intent p31)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p29, p30, p31);
        this = super.onActivityResult(p29, p30, p31);
        this.getActivity();
        if (p30 == -1) {
            this.keyboardclose();
            if (p29 != 1) {
                if (p29 != 15) {
                    if (p29 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p31.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837842);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p31.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.inventory.purchase_request_na.GenratePurchaseReqestStep2Fragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p32, int p33, android.content.Intent p34)
    {
        this = super.onActivityResult(p32, p33, p34);
        if (p32 != 200) {
            if (p32 != 1) {
                if (p32 != 15) {
                    if (p32 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v23_5 = new android.graphics.BitmapFactory$Options();
                                v23_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_5);
                            } catch (NullPointerException v8_2) {
                                v8_2.printStackTrace();
                            } catch (OutOfMemoryError v10_1) {
                                v10_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v8_0) {
                                v8_0.printStackTrace();
                            } catch (OutOfMemoryError v10_0) {
                                v10_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v26_27 = p34.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v26_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v11_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v26_27.next());
                        this.path1 = v11_1.getPath();
                        long v16 = ((v11_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v20_0 = new java.io.FileInputStream;
                                v20_0(this.path1);
                                String v9_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v20_0), 0);
                                this.cert_income = v9_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837842);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v9_0.toString()).toString());
                                this.final_img_base64 = v9_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v20_1 = new java.io.FileInputStream;
                                v20_1(this.path1);
                                String v9_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v20_1), 0);
                                this.cert_admission = v9_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v9_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getActivity(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p34.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v19 = 0;
                } catch (NullPointerException v8_1) {
                    v8_1.printStackTrace();
                }
                while (v19 < this.imagesPath.length) {
                    android.graphics.Bitmap v24 = this.getThumbnailBitmap(this.imagesPath[v19], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v24);
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v19++;
                }
            }
        } else {
            if ((p33 == 300) && (p34 != null)) {
                com.Hostel.superintendent.beans.AddItemInformation v25_1 = ((com.Hostel.superintendent.beans.AddItemInformation) com.Hostel.superintendent.others.HelpUtility.getGsonInstance().fromJson(p34.getStringExtra("json").toString(), com.Hostel.superintendent.beans.AddItemInformation));
                this.addItemInformationList.add(v25_1);
                this.addItemToView(v25_1);
                if (!this.quantity_et.getText().toString().trim().isEmpty()) {
                    if (Integer.parseInt(this.quantity_et.getText().toString().trim()) != this.addItemInformationList.size()) {
                        this.add_item_button_container_ll.setVisibility(0);
                    } else {
                        this.add_item_button_container_ll.setVisibility(8);
                    }
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.inventory.gift.AddGiftItemToStokeFragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p32, int p33, android.content.Intent p34)
    {
        this = super.onActivityResult(p32, p33, p34);
        if (p32 != 200) {
            if (p32 != 1) {
                if (p32 != 15) {
                    if (p32 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v23_5 = new android.graphics.BitmapFactory$Options();
                                v23_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_5);
                            } catch (NullPointerException v8_2) {
                                v8_2.printStackTrace();
                            } catch (OutOfMemoryError v10_1) {
                                v10_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v8_0) {
                                v8_0.printStackTrace();
                            } catch (OutOfMemoryError v10_0) {
                                v10_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v26_27 = p34.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v26_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v11_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v26_27.next());
                        this.path1 = v11_1.getPath();
                        long v16 = ((v11_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v20_0 = new java.io.FileInputStream;
                                v20_0(this.path1);
                                String v9_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v20_0), 0);
                                this.cert_income = v9_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837842);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v9_0.toString()).toString());
                                this.final_img_base64 = v9_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v20_1 = new java.io.FileInputStream;
                                v20_1(this.path1);
                                String v9_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v20_1), 0);
                                this.cert_admission = v9_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v9_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getActivity(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p34.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v19 = 0;
                } catch (NullPointerException v8_1) {
                    v8_1.printStackTrace();
                }
                while (v19 < this.imagesPath.length) {
                    android.graphics.Bitmap v24 = this.getThumbnailBitmap(this.imagesPath[v19], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v24);
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v19++;
                }
            }
        } else {
            if ((p33 == 300) && (p34 != null)) {
                com.Hostel.superintendent.beans.AddItemInformation v25_1 = ((com.Hostel.superintendent.beans.AddItemInformation) com.Hostel.superintendent.others.HelpUtility.getGsonInstance().fromJson(p34.getStringExtra("json").toString(), com.Hostel.superintendent.beans.AddItemInformation));
                this.addItemInformationList.add(v25_1);
                this.addItemToView(v25_1);
                if (!this.quantity_et.getText().toString().trim().isEmpty()) {
                    Integer.parseInt(this.quantity_et.getText().toString().trim());
                    if (this.remaningCount != 0) {
                        this.add_item_button_container_ll.setVisibility(0);
                    } else {
                        this.add_item_button_container_ll.setVisibility(8);
                    }
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.inventory.demand_request.MakeDemandRequestNVActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p29, int p30, android.content.Intent p31)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p29, p30, p31);
        this = super.onActivityResult(p29, p30, p31);
        if (p30 == -1) {
            this.keyboardclose();
            if (p29 != 1) {
                if (p29 != 15) {
                    if (p29 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p31.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837842);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p31.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.inventory.PurchaseRequestDetailFragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p31, int p32, android.content.Intent p33)
    {
        this = super.onActivityResult(p31, p32, p33);
        if (p31 != 200) {
            if (p31 != 1) {
                if (p31 != 15) {
                    if (p31 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v22_5 = new android.graphics.BitmapFactory$Options();
                                v22_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v22_1 = new android.graphics.BitmapFactory$Options();
                                    v22_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v22_3 = new android.graphics.BitmapFactory$Options();
                                    v22_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v25_27 = p33.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v25_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v25_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v19_0 = new java.io.FileInputStream;
                                v19_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v19_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837842);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v19_1 = new java.io.FileInputStream;
                                v19_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v19_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getActivity(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p33.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v18 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v18 < this.imagesPath.length) {
                    android.graphics.Bitmap v23 = this.getThumbnailBitmap(this.imagesPath[v18], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v23);
                        this.final_img_base64 = this.getStringImage(v23);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v23);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v18++;
                }
            }
        } else {
            if ((p32 == 300) && (p33 != null)) {
                com.Hostel.superintendent.beans.AddItemInformation v24_1 = ((com.Hostel.superintendent.beans.AddItemInformation) com.Hostel.superintendent.others.HelpUtility.getGsonInstance().fromJson(p33.getStringExtra("json").toString(), com.Hostel.superintendent.beans.AddItemInformation));
                this.addItemInformationList.add(v24_1);
                this.addItemToView(v24_1);
                if (this.remaningItemCount != 0) {
                    this.add_item_button_container_ll.setVisibility(0);
                } else {
                    this.add_item_button_container_ll.setVisibility(8);
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.exit.StudentForceExitStep1Fragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p29, int p30, android.content.Intent p31)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p29, p30, p31);
        this = super.onActivityResult(p29, p30, p31);
        if (p30 == -1) {
            this.keyboardclose();
            if (p29 != 1) {
                if (p29 != 15) {
                    if (p29 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p31.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837842);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p31.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.UploadAttendanceExcelSheetActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p31, int p32, android.content.Intent p33)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p31, p32, p33);
        this = super.onActivityResult(p31, p32, p33);
        if (p32 == -1) {
            this.keyboardclose();
            if (p31 != 1) {
                if (p31 != 15) {
                    if (p31 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v22_5 = new android.graphics.BitmapFactory$Options();
                                v22_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_5);
                            } catch (Exception v7_3) {
                                v7_3.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v22_1 = new android.graphics.BitmapFactory$Options();
                                    v22_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v22_3 = new android.graphics.BitmapFactory$Options();
                                    v22_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (Exception v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v25_27 = p33.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v25_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v25_27.next());
                        this.path1 = v10_1.getPath();
                        String v21 = v10_1.getName();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                int v19 = 0;
                                try {
                                    if (this.type_spinner.getSelectedItemPosition() != 1) {
                                        if (this.type_spinner.getSelectedItemPosition() == 2) {
                                            if (!v10_1.getName().startsWith("employee")) {
                                                v19 = 0;
                                                com.Hostel.superintendent.others.HelpUtility.showCustomMessageDialog(this.getContext(), this.getResources().getString(2131298019));
                                            } else {
                                                v19 = 1;
                                            }
                                        }
                                    } else {
                                        if (!v10_1.getName().startsWith("student")) {
                                            v19 = 0;
                                            com.Hostel.superintendent.others.HelpUtility.showCustomMessageDialog(this.getContext(), this.getResources().getString(2131298054));
                                        } else {
                                            v19 = 1;
                                        }
                                    }
                                    if (v19 != 0) {
                                        this.file_name_tv.setText(v21);
                                        com.Hostel.superintendent.attendance.UploadAttendanceExcelSheetActivity$ReadExcelSheetTask v26_32 = new com.Hostel.superintendent.attendance.UploadAttendanceExcelSheetActivity$ReadExcelSheetTask;
                                        v26_32(this);
                                        java.io.InputStream[] v0_68 = new java.io.InputStream[1];
                                        java.io.InputStream[] v27_23 = v0_68;
                                        v27_23[0] = v18_0;
                                        v26_32.execute(v27_23);
                                    }
                                } catch (Exception v7_1) {
                                    v7_1.printStackTrace();
                                    com.Hostel.superintendent.others.HelpUtility.showCustomMessageDialog(this.getContext(), this.getResources().getString(2131298328));
                                }
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p33.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (Exception v7_2) {
                    v7_2.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v24 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v24);
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.StudentPerformanceActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            this.keyboardclose();
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837842);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.PDFAttendanceActvity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p30, int p31, android.content.Intent p32)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p30, p31, p32);
        this = super.onActivityResult(p30, p31, p32);
        if (p31 == -1) {
            this.keyboardclose();
            if (p30 != 1) {
                if (p30 != 15) {
                    if (p30 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v21_5 = new android.graphics.BitmapFactory$Options();
                                v21_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v21_5);
                            } catch (Exception v7_3) {
                                v7_3.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v21_1 = new android.graphics.BitmapFactory$Options();
                                    v21_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v21_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v21_3 = new android.graphics.BitmapFactory$Options();
                                    v21_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v21_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (Exception v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v24_27 = p32.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v24_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v24_27.next());
                        this.path1 = v10_1.getPath();
                        String v20 = v10_1.getName();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                try {
                                    this.readExcel(v18_0);
                                    String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                    this.cert_income = v8_0;
                                    this.extensionpdf = ".pdf";
                                    this.income_letter_image.setImageResource(2130837714);
                                    this.main_document_upload_ll.setVisibility(0);
                                    android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                    this.final_img_base64 = v8_0.toString();
                                    this.file_name_tv.setText(v20);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } catch (Exception v7_1) {
                                    v7_1.printStackTrace();
                                    com.Hostel.superintendent.others.HelpUtility.showCustomMessageDialog(this.getContext(), this.getResources().getString(2131298328));
                                }
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p32.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (Exception v7_2) {
                    v7_2.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v23 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v23);
                        this.final_img_base64 = this.getStringImage(v23);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v23);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method android.support.v4.util.AtomicFile.openRead() calling method java.io.FileInputStream.<init>()


    public java.io.FileInputStream openRead()
    {
        if (this.mBackupName.exists()) {
            this.mBaseName.delete();
            this.mBackupName.renameTo(this.mBaseName);
        }
        return new java.io.FileInputStream(this.mBaseName);
    }

Method android.support.v4.graphics.TypefaceCompatUtil.mmap() calling method java.io.FileInputStream.<init>()


    private static java.nio.ByteBuffer mmap(java.io.File p11)
    {
        java.io.FileInputStream v7_1 = new java.io.FileInputStream(p11);
        try {
            java.nio.channels.FileChannel v0 = v7_1.getChannel();
            Throwable v1_0 = v0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0.size());
        } catch (Throwable v1_2) {
            Throwable v2_1 = 0;
            if (v7_1 != null) {
                if (v2_1 == null) {
                    v7_1.close();
                } else {
                    v7_1.close();
                }
            }
            throw v1_2;
        } catch (Throwable v1_1) {
            try {
                throw v1_1;
            } catch (Throwable v2_0) {
                v2_1 = v1_1;
                v1_2 = v2_0;
            }
        }
        if (v7_1 == null) {
            return v1_0;
        } else {
            if (0 == 0) {
                v7_1.close();
                return v1_0;
            } else {
                try {
                    v7_1.close();
                } catch (Throwable v2_2) {
                    0.addSuppressed(v2_2);
                }
                return v1_0;
            }
        }
    }

Method android.support.v4.graphics.TypefaceCompatUtil.mmap() calling method java.io.FileInputStream.<init>()


    public static java.nio.ByteBuffer mmap(android.content.Context p13, android.os.CancellationSignal p14, android.net.Uri p15)
    {
        try {
            android.os.ParcelFileDescriptor v8 = p13.getContentResolver().openFileDescriptor(p15, "r", p14);
            try {
                java.io.FileInputStream v7_1 = new java.io.FileInputStream(v8.getFileDescriptor());
                try {
                    java.nio.channels.FileChannel v0 = v7_1.getChannel();
                    Throwable v1_1 = v0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0.size());
                } catch (Throwable v1_4) {
                    Throwable v2_2 = 0;
                    if (v7_1 != null) {
                        if (v2_2 == null) {
                            v7_1.close();
                        } else {
                            v7_1.close();
                        }
                    }
                    throw v1_4;
                } catch (Throwable v1_3) {
                    try {
                        throw v1_3;
                    } catch (Throwable v2_1) {
                        v2_2 = v1_3;
                        v1_4 = v2_1;
                    }
                }
                if (v7_1 != null) {
                    if (0 == 0) {
                        v7_1.close();
                    } else {
                        try {
                            v7_1.close();
                        } catch (Throwable v2_3) {
                            0.addSuppressed(v2_3);
                        }
                    }
                }
                if (v8 == null) {
                    return v1_1;
                } else {
                    if (0 == 0) {
                        v8.close();
                        return v1_1;
                    } else {
                        try {
                            v8.close();
                        } catch (Throwable v2_6) {
                            0.addSuppressed(v2_6);
                        }
                        return v1_1;
                    }
                }
            } catch (Throwable v1_6) {
                Throwable v2_5 = 0;
                if (v8 != null) {
                    if (v2_5 == null) {
                        v8.close();
                    } else {
                        try {
                            v8.close();
                        } catch (Throwable v3_1) {
                            v2_5.addSuppressed(v3_1);
                        }
                    }
                }
                throw v1_6;
            } catch (Throwable v1_5) {
                try {
                    throw v1_5;
                } catch (Throwable v2_4) {
                    v2_5 = v1_5;
                    v1_6 = v2_4;
                }
            }
        } catch (java.io.IOException v6) {
            v1_1 = 0;
            return v1_1;
        }
    }

Method android.support.v4.graphics.TypefaceCompatApi21Impl.createFromFontInfo() calling method java.io.FileInputStream.<init>()


    public android.graphics.Typeface createFromFontInfo(android.content.Context p12, android.os.CancellationSignal p13, android.support.v4.provider.FontsContractCompat$FontInfo[] p14, int p15)
    {
        Throwable v6_2;
        if (p14.length >= 1) {
            try {
                android.os.ParcelFileDescriptor v4 = p12.getContentResolver().openFileDescriptor(this.findBestInfo(p14, p15).getUri(), "r", p13);
                try {
                    java.io.File v2 = this.getFile(v4);
                } catch (Throwable v6_6) {
                    Throwable v7_4 = 0;
                    if (v4 != null) {
                        if (v7_4 == null) {
                            v4.close();
                        } else {
                            v4.close();
                        }
                    }
                    throw v6_6;
                } catch (Throwable v6_5) {
                    try {
                        throw v6_5;
                    } catch (Throwable v7_3) {
                        v7_4 = v6_5;
                        v6_6 = v7_3;
                    }
                }
                if ((v2 != null) && (v2.canRead())) {
                    v6_2 = android.graphics.Typeface.createFromFile(v2);
                    if (v4 != null) {
                        if (0 == 0) {
                            v4.close();
                        } else {
                            try {
                                v4.close();
                            } catch (Throwable v7_1) {
                                0.addSuppressed(v7_1);
                            }
                        }
                    }
                } else {
                    java.io.FileInputStream v3_1 = new java.io.FileInputStream(v4.getFileDescriptor());
                    Throwable v7_2 = 0;
                    try {
                        v6_2 = super.createFromInputStream(p12, v3_1);
                    } catch (Throwable v7_2) {
                        throw v7_2;
                    } catch (Throwable v6_4) {
                        if (v3_1 != null) {
                            if (v7_2 == null) {
                                v3_1.close();
                            } else {
                                v3_1.close();
                            }
                        }
                        throw v6_4;
                    }
                    if (v3_1 != null) {
                        if (0 == 0) {
                            v3_1.close();
                        } else {
                            try {
                                v3_1.close();
                            } catch (Throwable v9_1) {
                                0.addSuppressed(v9_1);
                            }
                        }
                    }
                    if (v4 != null) {
                        if (0 == 0) {
                            v4.close();
                        } else {
                            try {
                                v4.close();
                            } catch (Throwable v7_5) {
                                0.addSuppressed(v7_5);
                            }
                        }
                    }
                }
            } catch (java.io.IOException v1) {
                v6_2 = 0;
            }
        } else {
            v6_2 = 0;
        }
        return v6_2;
    }

Method ae.javax.xml.stream.FactoryFinder.find() calling method java.io.FileInputStream.<init>()


    static Object find(String p13, String p14, ClassLoader p15)
    {
        try {
            Object v10_1;
            String v9 = System.getProperty(p13);
        } catch (Object v10) {
            try {
                java.io.File v2_1 = new java.io.File(new StringBuilder().append(System.getProperty("java.home")).append(java.io.File.separator).append("lib").append(java.io.File.separator).append("jaxp.properties").toString());
            } catch (Exception v1_0) {
                if (!ae.javax.xml.stream.FactoryFinder.debug) {
                    java.io.InputStream v4;
                    String v8 = new StringBuilder().append("META-INF/services/").append(p13).toString();
                    try {
                        if (p15 != null) {
                            v4 = p15.getResourceAsStream(v8);
                            if (v4 != null) {
                                ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("found ").append(v8).toString());
                                java.io.BufferedReader v7_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v4, "UTF-8"));
                                String v3_1 = v7_1.readLine();
                                v7_1.close();
                                if ((v3_1 != null) && (!"".equals(v3_1))) {
                                    ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("loaded from services: ").append(v3_1).toString());
                                    v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(v3_1, p15);
                                    return v10_1;
                                }
                            }
                        } else {
                            v4 = ClassLoader.getSystemResourceAsStream(v8);
                        }
                    } catch (Exception v1_1) {
                        if (ae.javax.xml.stream.FactoryFinder.debug) {
                            v1_1.printStackTrace();
                        }
                    }
                    if (p14 != null) {
                        ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("loaded from fallback value: ").append(p14).toString());
                        v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(p14, p15);
                        return v10_1;
                    } else {
                        throw new ae.javax.xml.stream.FactoryConfigurationError(new StringBuilder().append("Provider for ").append(p13).append(" cannot be found").toString(), 0);
                    }
                } else {
                    v1_0.printStackTrace();
                }
            }
            if (!v2_1.exists()) {
            } else {
                java.util.Properties v6_1 = new java.util.Properties();
                v6_1.load(new java.io.FileInputStream(v2_1));
                String v3_0 = v6_1.getProperty(p13);
                ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("found java.home property ").append(v3_0).toString());
                v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(v3_0, p15);
                return v10_1;
            }
        }
        if (v9 == null) {
        } else {
            ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("found system property").append(v9).toString());
            v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(v9, p15);
            return v10_1;
        }
    }

Method aavax.xml.stream.FactoryFinder.find() calling method java.io.FileInputStream.<init>()


    static Object find(String p13, String p14, ClassLoader p15)
    {
        try {
            Object v10_6;
            String v9 = System.getProperty(p13);
        } catch (Object v10) {
            try {
                java.io.File v2_1 = new java.io.File(new StringBuffer().append(System.getProperty("java.home")).append(java.io.File.separator).append("lib").append(java.io.File.separator).append("jaxp.properties").toString());
            } catch (Exception v1_0) {
                if (!aavax.xml.stream.FactoryFinder.debug) {
                    java.io.InputStream v4;
                    String v8 = new StringBuffer().append("META-INF/services/").append(p13).toString();
                    try {
                        if (p15 != null) {
                            v4 = p15.getResourceAsStream(v8);
                            if (v4 != null) {
                                aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("found ").append(v8).toString());
                                java.io.BufferedReader v7_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v4, "UTF-8"));
                                String v3_1 = v7_1.readLine();
                                v7_1.close();
                                if ((v3_1 != null) && (!"".equals(v3_1))) {
                                    aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("loaded from services: ").append(v3_1).toString());
                                    v10_6 = aavax.xml.stream.FactoryFinder.newInstance(v3_1, p15);
                                    return v10_6;
                                }
                            }
                        } else {
                            v4 = ClassLoader.getSystemResourceAsStream(v8);
                        }
                    } catch (Exception v1_1) {
                        if (aavax.xml.stream.FactoryFinder.debug) {
                            v1_1.printStackTrace();
                        }
                    }
                    if (p14 != null) {
                        aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("loaded from fallback value: ").append(p14).toString());
                        v10_6 = aavax.xml.stream.FactoryFinder.newInstance(p14, p15);
                        return v10_6;
                    } else {
                        throw new aavax.xml.stream.FactoryConfigurationError(new StringBuffer().append("Provider for ").append(p13).append(" cannot be found").toString(), 0);
                    }
                } else {
                    v1_0.printStackTrace();
                }
            }
            if (!v2_1.exists()) {
            } else {
                java.util.Properties v6_1 = new java.util.Properties();
                v6_1.load(new java.io.FileInputStream(v2_1));
                String v3_0 = v6_1.getProperty(p13);
                if ((v3_0 == null) || (v3_0.length() <= 0)) {
                } else {
                    aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("found java.home property ").append(v3_0).toString());
                    v10_6 = aavax.xml.stream.FactoryFinder.newInstance(v3_0, p15);
                    return v10_6;
                }
            }
        }
        if (v9 == null) {
        } else {
            aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("found system property").append(v9).toString());
            v10_6 = aavax.xml.stream.FactoryFinder.newInstance(v9, p15);
            return v10_6;
        }
    }

Method org.apache.xmlbeans.impl.util.FilerImpl$IncrFileWriter.close() calling method java.io.FileReader.<init>()


    public void close()
    {
        StringBuffer v4;
        super.close();
        if (this._repackager == null) {
            v4 = this.getBuffer();
        } else {
            v4 = this._repackager.repackage(this.getBuffer());
        }
        String v5 = v4.toString();
        java.util.ArrayList v0_1 = new java.util.ArrayList();
        java.io.StringReader v3_1 = new java.io.StringReader(v5);
        java.io.FileReader v1_1 = new java.io.FileReader(this._file);
        try {
            org.apache.xmlbeans.impl.util.Diff.readersAsText(v3_1, "<generated>", v1_1, this._file.getName(), v0_1);
            v3_1.close();
            v1_1.close();
        } catch (Throwable v6_4) {
            v3_1.close();
            v1_1.close();
            throw v6_4;
        }
        if (v0_1.size() > 0) {
            java.io.Writer v2 = org.apache.xmlbeans.impl.util.FilerImpl.access$000(this._file);
            try {
                v2.write(v5);
                v2.close();
            } catch (Throwable v6_6) {
                v2.close();
                throw v6_6;
            }
        }
        return;
    }

Method org.apache.xmlbeans.impl.jam.internal.parser.ParserClassBuilder$MainTool.parse() calling method java.io.FileReader.<init>()


    private void parse(org.apache.xmlbeans.impl.jam.internal.parser.ParserClassBuilder p7, java.io.File p8)
    {
        System.gc();
        if (!p8.isDirectory()) {
            if (p8.getName().endsWith(".java")) {
                this.mCount = (this.mCount + 1);
                try {
                    if (org.apache.xmlbeans.impl.jam.internal.parser.ParserClassBuilder.access$100(new java.io.FileReader(p8), 0) == null) {
                        this.mOut.println("[error, parser result is null]");
                        this.addFailure(p8);
                    }
                } catch (Throwable v0) {
                    v0.printStackTrace(this.mOut);
                    this.addFailure(p8);
                }
            }
        } else {
            java.io.File[] v1 = p8.listFiles();
            int v2 = 0;
            while (v2 < v1.length) {
                this.parse(p7, v1[v2]);
                v2++;
            }
        }
        return;
    }

Method com.sun.org.apache.regexp.internal.RETest.runAutomatedTests() calling method java.io.FileReader.<init>()


    void runAutomatedTests(String p9)
    {
        long v2 = System.currentTimeMillis();
        this.testPrecompiledRE();
        this.testSplitAndGrep();
        this.testSubst();
        this.testOther();
        java.io.File v1_1 = new java.io.File(p9);
        if (v1_1.exists()) {
            java.io.BufferedReader v0_1 = new java.io.BufferedReader(new java.io.FileReader(v1_1));
            try {
                while (v0_1.ready()) {
                    com.sun.org.apache.regexp.internal.RETestCase v4 = this.getNextTestCase(v0_1);
                    if (v4 != null) {
                        v4.runTest();
                    }
                }
            } catch (String v5_21) {
                v0_1.close();
                throw v5_21;
            }
            v0_1.close();
            this.say(new StringBuilder().append(com.sun.org.apache.regexp.internal.RETest.NEW_LINE).append(com.sun.org.apache.regexp.internal.RETest.NEW_LINE).append("Match time = ").append((System.currentTimeMillis() - v2)).append(" ms.").toString());
            if (this.failures > 0) {
                this.say("*************** THERE ARE FAILURES! *******************");
            }
            this.say(new StringBuilder().append("Tests complete.  ").append(this.testCount).append(" tests, ").append(this.failures).append(" failure(s).").toString());
            return;
        } else {
            throw new Exception(new StringBuilder().append("Could not find: ").append(p9).toString());
        }
    }

Method com.sun.activation.registries.MimeTypeFile.<init>() calling method java.io.FileReader.<init>()


    public MimeTypeFile(String p5)
    {
        this.fname = 0;
        this.type_hash = new java.util.Hashtable();
        java.io.FileReader v0 = 0;
        this.fname = p5;
        java.io.FileReader v0_1 = new java.io.FileReader(new java.io.File(this.fname));
        try {
            this.parse(new java.io.BufferedReader(v0_1));
            try {
                v0_1.close();
            } catch (java.io.IOException v2) {
            }
            return;
        } catch (java.io.IOException v2_4) {
            try {
                v0_1.close();
            } catch (java.io.IOException v3) {
            }
            throw v2_4;
        }
    }

Method com.sun.activation.registries.MailcapFile.<init>() calling method java.io.FileReader.<init>()


    public MailcapFile(String p5)
    {
        this.type_hash = new java.util.HashMap();
        this.fallback_hash = new java.util.HashMap();
        this.native_commands = new java.util.HashMap();
        if (com.sun.activation.registries.LogSupport.isLoggable()) {
            com.sun.activation.registries.LogSupport.log(new StringBuilder("new MailcapFile: file ").append(p5).toString());
        }
        java.io.FileReader v0 = 0;
        try {
            java.io.FileReader v1_1 = new java.io.FileReader(p5);
            try {
                this.parse(new java.io.BufferedReader(v1_1));
            } catch (java.io.IOException v2_7) {
                v0 = v1_1;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (java.io.IOException v3) {
                    }
                }
                throw v2_7;
            }
            if (v1_1 != null) {
                try {
                    v1_1.close();
                } catch (java.io.IOException v2) {
                }
            }
            return;
        } catch (java.io.IOException v2_7) {
        }
    }

Method io.fabric.sdk.android.services.common.CommonUtils.extractFieldFromSystemFile() calling method java.io.FileReader.<init>()


    public static String extractFieldFromSystemFile(java.io.File p11, String p12)
    {
        String v6 = 0;
        if (p11.exists()) {
            java.io.BufferedReader v0 = 0;
            try {
                java.io.BufferedReader v1_0 = new java.io.BufferedReader(new java.io.FileReader(p11), 1024);
                try {
                    do {
                        String v3 = v1_0.readLine();
                    } while((String[] v5.length <= 1) || (!v5[0].equals(p12)));
                    v6 = v5[1];
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_0, "Failed to close system file reader.");
                } catch (int v7_10) {
                    v0 = v1_0;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close system file reader.");
                    throw v7_10;
                } catch (Exception v2) {
                    v0 = v1_0;
                    io.fabric.sdk.android.Fabric.getLogger().e("Fabric", new StringBuilder().append("Error parsing ").append(p11).toString(), v2);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close system file reader.");
                }
                if (v3 != null) {
                    v5 = java.util.regex.Pattern.compile("\\s*:\\s*").split(v3, 2);
                    if ((v5.length > 1) && (v5[0].equals(p12))) {
                    }
                }
            } catch (int v7_10) {
            } catch (Exception v2) {
            }
        }
        return v6;
    }

Method com.google.android.gms.common.util.ProcessUtils.zzm() calling method java.io.FileReader.<init>()


    private static java.io.BufferedReader zzm(String p3)
    {
        android.os.StrictMode$ThreadPolicy v1 = android.os.StrictMode.allowThreadDiskReads();
        try {
            Throwable v0_1 = new java.io.BufferedReader(new java.io.FileReader(p3));
            android.os.StrictMode.setThreadPolicy(v1);
            return v0_1;
        } catch (Throwable v0_2) {
            android.os.StrictMode.setThreadPolicy(v1);
            throw v0_2;
        }
    }

Method com.crashlytics.android.core.NativeFileUtils.binaryImagesJsonFromMapsFile() calling method java.io.FileReader.<init>()


    private static byte[] binaryImagesJsonFromMapsFile(java.io.File p4, android.content.Context p5)
    {
        Throwable v2_2;
        if (p4.exists()) {
            java.io.BufferedReader v0 = 0;
            try {
                java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(p4));
                try {
                    v2_2 = new com.crashlytics.android.core.BinaryImagesConverter(p5, new com.crashlytics.android.core.Sha1FileIdStrategy()).convert(v1_1);
                    io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
                } catch (Throwable v2_3) {
                    v0 = v1_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v0);
                    throw v2_3;
                }
            } catch (Throwable v2_3) {
            }
        } else {
            v2_2 = 0;
        }
        return v2_2;
    }

Method org.simpleframework.xml.transform.FileTransform.read() calling method java.io.File.<init>()


    public java.io.File read(String p2)
    {
        return new java.io.File(p2);
    }

Method org.apache.xmlbeans.impl.util.FilerImpl.createSourceFile() calling method java.io.File.<init>()


    public java.io.Writer createSourceFile(String p8)
    {
        if (this.incrSrcGen) {
            this.seenTypes.add(p8);
        }
        if (p8.indexOf(36) > 0) {
            p8 = new StringBuffer().append(p8.substring(0, p8.lastIndexOf(46))).append(".").append(p8.substring((p8.indexOf(36) + 1))).toString();
        }
        java.io.File v1_1 = new java.io.File(this.srcdir, new StringBuffer().append(p8.replace(46, java.io.File.separatorChar)).append(".java").toString());
        v1_1.getParentFile().mkdirs();
        if (this.verbose) {
            System.err.println(new StringBuffer().append("created source: ").append(v1_1.getAbsolutePath()).toString());
        }
        org.apache.xmlbeans.impl.util.FilerImpl$RepackagingWriter v2_20;
        this.sourceFiles.add(v1_1);
        if ((!this.incrSrcGen) || (!v1_1.exists())) {
            if (this.repackager != null) {
                v2_20 = new org.apache.xmlbeans.impl.util.FilerImpl$RepackagingWriter(v1_1, this.repackager);
            } else {
                v2_20 = org.apache.xmlbeans.impl.util.FilerImpl.writerForFile(v1_1);
            }
        } else {
            v2_20 = new org.apache.xmlbeans.impl.util.FilerImpl$IncrFileWriter(v1_1, this.repackager);
        }
        return v2_20;
    }

Method org.apache.xmlbeans.impl.util.FilerImpl.createBinaryFile() calling method java.io.File.<init>()


    public java.io.OutputStream createBinaryFile(String p5)
    {
        if (this.verbose) {
            System.err.println(new StringBuffer().append("created binary: ").append(p5).toString());
        }
        java.io.File v0_1 = new java.io.File(this.classdir, p5);
        v0_1.getParentFile().mkdirs();
        return new java.io.FileOutputStream(v0_1);
    }

Method org.apache.xmlbeans.impl.tool.XsbDumper.main() calling method java.io.File.<init>()


    public static void main(String[] p3)
    {
        if (p3.length != 0) {
            int v0 = 0;
            while (v0 < p3.length) {
                org.apache.xmlbeans.impl.tool.XsbDumper.dump(new java.io.File(p3[v0]), 1);
                v0++;
            }
        } else {
            org.apache.xmlbeans.impl.tool.XsbDumper.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.XSTCTester.parseLTGFile() calling method java.io.File.<init>()


    public static org.apache.xmlbeans.impl.tool.XSTCTester$TestCase[] parseLTGFile(java.io.File p17, java.util.Collection p18)
    {
        java.util.ArrayList v4_1 = new java.util.ArrayList();
        try {
            org.apache.xmlbeans.XmlOptions v9_1 = new org.apache.xmlbeans.XmlOptions();
            v9_1.setLoadSubstituteNamespaces(java.util.Collections.singletonMap("", "http://www.bea.com/2003/05/xmlbean/ltgfmt"));
            v9_1.setErrorListener(v4_1);
            v9_1.setLoadLineNumbers();
            org.apache.xmlbeans.impl.xb.ltgfmt.TestsDocument v2 = org.apache.xmlbeans.impl.xb.ltgfmt.TestsDocument$Factory.parse(p17, v9_1);
        } catch (Exception v3) {
            if (!v4_1.isEmpty()) {
                int v7_0 = v4_1.iterator();
            } else {
                p18.add(v3.getMessage());
            }
            String v14_39 = 0;
            return v14_39;
        }
        if (v2.validate(v9_1)) {
            org.apache.xmlbeans.impl.xb.ltgfmt.TestCase[] v12 = v2.getTests().getTestArray();
            java.util.ArrayList v11_1 = new java.util.ArrayList();
            int v7_1 = 0;
            while (v7_1 < v12.length) {
                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase v10_1 = new org.apache.xmlbeans.impl.tool.XSTCTester$TestCase();
                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$302(v10_1, p17);
                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$402(v10_1, v12[v7_1].getId());
                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$502(v10_1, v12[v7_1].getOrigin());
                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$602(v10_1, v12[v7_1].getDescription());
                org.apache.xmlbeans.impl.xb.ltgfmt.FileDesc[] v5 = v12[v7_1].getFiles().getFileArray();
                v12[v7_1].getOrigin();
                int v8 = 0;
                while (v8 < v5.length) {
                    java.io.File v13_1 = new java.io.File(p17.getParentFile(), new StringBuffer().append(v5[v8].getFolder()).append("/").append(v5[v8].getFileName()).toString());
                    if ((v13_1.exists()) && ((v13_1.isFile()) && (v13_1.canRead()))) {
                        switch (v5[v8].getRole().intValue()) {
                            case 1:
                                if (org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$900(v10_1) != null) {
                                    p18.add(org.apache.xmlbeans.XmlError.forObject("More than one schema file speicifed - ignoring all but last", v5[v8]).toString());
                                }
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$902(v10_1, v13_1);
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$1002(v10_1, v5[v8].getValidity());
                            case 2:
                                if (org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$700(v10_1) != null) {
                                    p18.add(org.apache.xmlbeans.XmlError.forObject("More than one instance file speicifed - ignoring all but last", v5[v8]).toString());
                                }
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$702(v10_1, v13_1);
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$802(v10_1, v5[v8].getValidity());
                                break;
                            case 3:
                                if (org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$1100(v10_1) != null) {
                                    p18.add(org.apache.xmlbeans.XmlError.forObject("More than one resource file speicifed - ignoring all but last", v5[v8]).toString());
                                }
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$1102(v10_1, v13_1);
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$1202(v10_1, v5[v8].getValidity());
                                break;
                            default:
                                throw new org.apache.xmlbeans.XmlException(org.apache.xmlbeans.XmlError.forObject("Unexpected file role", v5[v8]));
                        }
                        if (v5[v8].getCode() != null) {
                            org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$1302(v10_1, v5[v8].getCode().getID());
                        }
                    } else {
                        p18.add(org.apache.xmlbeans.XmlError.forObject(new StringBuffer().append("Can\'t read file ").append(v13_1).toString(), v5[v8]).toString());
                    }
                    v8++;
                }
                v11_1.add(v10_1);
                v7_1++;
            }
            String v14_42 = new org.apache.xmlbeans.impl.tool.XSTCTester$TestCase[v11_1.size()];
            v14_39 = ((org.apache.xmlbeans.impl.tool.XSTCTester$TestCase[]) v11_1.toArray(v14_42));
            return v14_39;
        } else {
            throw new Exception(new StringBuffer().append("Document ").append(p17).append(" not valid.").toString());
        }
    }

Method org.apache.xmlbeans.impl.tool.XSTCTester.main() calling method java.io.File.<init>()


    public static void main(String[] p34)
    {
        java.util.HashSet v12_1 = new java.util.HashSet();
        v12_1.add("h");
        v12_1.add("help");
        v12_1.add("usage");
        v12_1.add("version");
        v12_1.add("showpass");
        v12_1.add("errcode");
        long v24 = System.currentTimeMillis();
        org.apache.xmlbeans.impl.tool.CommandLine v7_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p34, v12_1, java.util.Collections.EMPTY_SET);
        if ((v7_1.getOpt("h") == null) && ((v7_1.getOpt("help") == null) && (v7_1.getOpt("usage") == null))) {
            if (v7_1.getOpt("version") == null) {
                String[] v5 = v7_1.getBadOpts();
                if (v5.length <= 0) {
                    if (v7_1.args().length != 0) {
                        int v22;
                        if (v7_1.getOpt("showpass") == null) {
                            v22 = 0;
                        } else {
                            v22 = 1;
                        }
                        int v8;
                        if (v7_1.getOpt("errcode") == null) {
                            v8 = 0;
                        } else {
                            v8 = 1;
                        }
                        java.io.File[] v4 = v7_1.getFiles();
                        java.util.ArrayList v18_1 = new java.util.ArrayList();
                        org.apache.xmlbeans.impl.tool.XMLBeanXSTCHarness v13_1 = new org.apache.xmlbeans.impl.tool.XMLBeanXSTCHarness();
                        int v14_1 = 0;
                        while (v14_1 < v4.length) {
                            if (v4[v14_1].getName().indexOf("LTG") >= 0) {
                                v18_1.add(v4[v14_1]);
                            }
                            v14_1++;
                        }
                        java.io.File v21 = new java.io.File;
                        v21("out.html");
                        org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult v27_99 = new java.io.FileWriter;
                        v27_99(v21);
                        java.io.PrintWriter v26_1 = new java.io.PrintWriter(v27_99);
                        v26_1.println("<html>");
                        v26_1.println("<style>td {border-bottom: 1px solid black} xmp {white-space: normal; word-wrap: break-word; word-break: break-all} </style>");
                        v26_1.println("<body>");
                        v26_1.println("<script language=\'JavaScript\' type=\'text/javascript\'>");
                        v26_1.println("var w;");
                        v26_1.println("function openWindow(schema, instance) {");
                        v26_1.println("  if (w == null) {");
                        v26_1.println("    w = window.open(\'about:blank\', \'xstc\');");
                        v26_1.println("  }");
                        v26_1.println("  if (w.closed) {");
                        v26_1.println("    w = window.open(\'about:blank\', \'xstc\');");
                        v26_1.println("  }");
                        v26_1.println("  w.document.open();");
                        v26_1.println("  w.document.write(\"<frameset rows=*,*><frame src=\'\" + schema + \"\'><frame src=\'\" + instance + \"\'></frameset>\");");
                        v26_1.println("  w.document.close();");
                        v26_1.println("  w.focus();");
                        v26_1.println("}");
                        v26_1.println("</script>");
                        v26_1.println("<h1>XML Schema Test Collection Results</h1>");
                        v26_1.println(new StringBuffer().append("<p>Run on ").append(new org.apache.xmlbeans.XmlCalendar(new java.util.Date())).append("</p>").toString());
                        v26_1.println("<p>Values in schema or instance valid columns are results from compiling or validating respectively.");
                        v26_1.println("Red or orange background mean the test failed.</p>");
                        v26_1.println("<table style=\'border: 1px solid black\' cellpadding=0 cellspacing=0>");
                        v26_1.println("<tr><td witdh=10%>id</td><td width=70%>Description</td><td width=10%>sch v</td><td width=10%>ins v</td></tr>");
                        int v9 = 0;
                        int v6 = 0;
                        int v14_0 = v18_1.iterator();
                        while (v14_0.hasNext()) {
                            java.io.File v17_1 = ((java.io.File) v14_0.next());
                            System.out.println(new StringBuffer().append("Processing test cases in ").append(v17_1).toString());
                            java.util.ArrayList v16_1 = new java.util.ArrayList();
                            org.apache.xmlbeans.impl.tool.XSTCTester$TestCase[] v23 = org.apache.xmlbeans.impl.tool.XSTCTester.parseLTGFile(v17_1, v16_1);
                            java.util.ArrayList v20_1 = new java.util.ArrayList();
                            if (v23 != null) {
                                int v15_0 = 0;
                                while (v15_0 < v23.length) {
                                    org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult v19_1 = new org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult();
                                    org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult.access$002(v19_1, v23[v15_0]);
                                    v13_1.runTestCase(v19_1);
                                    v6++;
                                    if (v19_1.succeeded(v8)) {
                                        if (v22 != 0) {
                                            v20_1.add(v19_1);
                                        }
                                    } else {
                                        v9++;
                                    }
                                    v15_0++;
                                }
                            }
                            v26_1.println(new StringBuffer().append("<tr><td colspan=4 bgcolor=skyblue>").append(v17_1).append("</td></tr>").toString());
                            if (v16_1.isEmpty()) {
                                if (v20_1.size() == 0) {
                                    v26_1.println("<tr><td colspan=4 bgcolor=green>Nothing to report</td></tr>");
                                }
                            } else {
                                v26_1.println("<tr><td>Errors within the LTG file:");
                                v26_1.println("<xmp>");
                                int v15_1 = v16_1.iterator();
                                while (v15_1.hasNext()) {
                                    v26_1.println(v15_1.next());
                                }
                                v26_1.println("</xmp>");
                                v26_1.println("</td></tr>");
                            }
                            if (v20_1 != null) {
                                int v15_2 = v20_1.iterator();
                                while (v15_2.hasNext()) {
                                    org.apache.xmlbeans.impl.tool.XSTCTester.summarizeResultAsHTMLTableRows(((org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult) v15_2.next()), v26_1, v8);
                                }
                            }
                        }
                        v26_1.println(new StringBuffer().append("<tr><td colspan=4>Summary: ").append(v9).append(" failures out of ").append(v6).append(" cases run.</td></tr>").toString());
                        v26_1.println("</table>");
                        v26_1.close();
                        System.out.println(new StringBuffer().append("Time run tests: ").append((((double) (System.currentTimeMillis() - v24)) / 1000.0)).append(" seconds").toString());
                        System.out.println(new StringBuffer().append("Results output to ").append(v21).toString());
                        if (org.apache.xmlbeans.SystemProperties.getProperty("os.name").toLowerCase().indexOf("windows") < 0) {
                            Runtime.getRuntime().exec(new StringBuffer().append("mozilla file://").append(v21.getAbsolutePath()).toString());
                        } else {
                            Runtime.getRuntime().exec(new StringBuffer().append("cmd /c start iexplore \"").append(v21.getAbsolutePath()).append("\"").toString());
                        }
                    } else {
                        org.apache.xmlbeans.impl.tool.XSTCTester.printUsage();
                    }
                } else {
                    int v14_2 = 0;
                    while (v14_2 < v5.length) {
                        System.out.println(new StringBuffer().append("Unrecognized option: ").append(v5[v14_2]).toString());
                        v14_2++;
                    }
                    org.apache.xmlbeans.impl.tool.XSTCTester.printUsage();
                    System.exit(0);
                }
            } else {
                org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                System.exit(0);
            }
        } else {
            org.apache.xmlbeans.impl.tool.XSTCTester.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.XMLBean.execute() calling method java.io.File.<init>()


    public void execute()
    {
        if ((this.schemas.size() != 0) || ((this.schema != null) || (this.fileset.getDir(this.project) != null))) {
            this._extRouter.put(".xsd", new java.util.HashSet());
            this._extRouter.put(".wsdl", new java.util.HashSet());
            this._extRouter.put(".java", new java.util.HashSet());
            this._extRouter.put(".xsdconfig", new java.util.HashSet());
            java.io.File v26 = this.schema;
            if (this.schema != null) {
                if (!this.schema.isDirectory()) {
                    v26 = this.schema.getParentFile();
                    java.io.File v0_253 = new String[1];
                    java.io.File v34_128 = v0_253;
                    v34_128[0] = this.schema.getName();
                    this.processPaths(v34_128, v26);
                } else {
                    org.apache.tools.ant.DirectoryScanner v20_1 = this.getDirectoryScanner(this.schema);
                    this.processPaths(v20_1.getIncludedFiles(), v20_1.getBasedir());
                }
            }
            if (this.fileset.getDir(this.project) != null) {
                this.schemas.add(this.fileset);
            }
            java.util.Iterator v21 = this.schemas.iterator();
            while (v21.hasNext()) {
                org.apache.tools.ant.DirectoryScanner v20_0 = ((org.apache.tools.ant.types.FileSet) v21.next()).getDirectoryScanner(this.project);
                this.processPaths(v20_0.getIncludedFiles(), v20_0.getBasedir());
            }
            java.util.Set v31_1 = ((java.util.Set) this._extRouter.get(".xsd"));
            java.util.Set v29_1 = ((java.util.Set) this._extRouter.get(".wsdl"));
            if ((v31_1.size() + v29_1.size()) != 0) {
                java.util.Set v14_1 = ((java.util.Set) this._extRouter.get(".java"));
                java.util.Set v33_1 = ((java.util.Set) this._extRouter.get(".xsdconfig"));
                if ((this.srcgendir == null) && (this.srconly)) {
                    this.srcgendir = this.classgendir;
                }
                if ((this.destfile == null) && ((this.classgendir == null) && (!this.srconly))) {
                    this.destfile = new java.io.File("xmltypes.jar");
                }
                if (this.verbose) {
                    this.quiet = 0;
                }
                java.io.File v0_39 = new java.io.File[v31_1.size()];
                java.io.File[] v30_1 = ((java.io.File[]) v31_1.toArray(v0_39));
                java.io.File v0_43 = new java.io.File[v29_1.size()];
                java.io.File[] v28_1 = ((java.io.File[]) v29_1.toArray(v0_43));
                java.io.File v0_46 = new java.io.File[v14_1.size()];
                java.io.File[] v13_1 = ((java.io.File[]) v14_1.toArray(v0_46));
                java.io.File v0_49 = new java.io.File[v33_1.size()];
                java.io.File[] v32_1 = ((java.io.File[]) v33_1.toArray(v0_49));
                org.apache.xmlbeans.impl.tool.XMLBean$ErrorLogger v7_1 = new org.apache.xmlbeans.impl.tool.XMLBean$ErrorLogger(this, this.verbose);
                boolean v24 = 0;
                java.io.File v27 = 0;
                try {
                    if ((this.srcgendir != null) && (this.classgendir != null)) {
                        if (this.srcgendir == null) {
                            this.srcgendir = org.apache.xmlbeans.impl.common.IOUtil.createDir(v27, "src");
                        }
                        if (this.classgendir == null) {
                            this.classgendir = org.apache.xmlbeans.impl.common.IOUtil.createDir(v27, "classes");
                        }
                        if (this.classpath == null) {
                            this.classpath = new org.apache.tools.ant.types.Path(this.project);
                            this.classpath.concatSystemClasspath();
                        }
                        this.classpath.createPathElement().setLocation(this.classgendir);
                        String[] v19_0 = this.classpath.list();
                        java.io.File[] v5 = new java.io.File[v19_0.length];
                        int v11 = 0;
                        while (v11 < v19_0.length) {
                            v5[v11] = new java.io.File(v19_0[v11]);
                            v11++;
                        }
                        org.apache.xmlbeans.impl.tool.SchemaCompiler$Parameters v17_1 = new org.apache.xmlbeans.impl.tool.SchemaCompiler$Parameters();
                        v17_1.setBaseDir(v26);
                        v17_1.setXsdFiles(v30_1);
                        v17_1.setWsdlFiles(v28_1);
                        v17_1.setJavaFiles(v13_1);
                        v17_1.setConfigFiles(v32_1);
                        v17_1.setClasspath(v5);
                        v17_1.setName(this.typesystemname);
                        v17_1.setSrcDir(this.srcgendir);
                        v17_1.setClassesDir(this.classgendir);
                        v17_1.setNojavac(1);
                        v17_1.setDebug(this.debug);
                        v17_1.setVerbose(this.verbose);
                        v17_1.setQuiet(this.quiet);
                        v17_1.setDownload(this.download);
                        v17_1.setExtensions(this.extensions);
                        v17_1.setErrorListener(v7_1);
                        v17_1.setCatalogFile(this.catalog);
                        v17_1.setIncrementalSrcGen(this.noSrcRegen);
                        v17_1.setMdefNamespaces(this.mdefnamespaces);
                        v17_1.setNoUpa(this.noupa);
                        v17_1.setNoPvr(this.nopvr);
                        v17_1.setNoAnn(this.noann);
                        v17_1.setNoVDoc(this.novdoc);
                        v17_1.setNoExt(this.noext);
                        v17_1.setJavaSource(this.javasource);
                        v24 = org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(v17_1);
                        if ((v24) && (!this.srconly)) {
                            long v22 = System.currentTimeMillis();
                            org.apache.tools.ant.taskdefs.Javac v15_1 = new org.apache.tools.ant.taskdefs.Javac();
                            v15_1.setProject(this.project);
                            v15_1.setTaskName(this.getTaskName());
                            v15_1.setClasspath(this.classpath);
                            if (this.compiler != null) {
                                v15_1.setCompiler(this.compiler);
                            }
                            v15_1.setDebug(this.debug);
                            if (this.debugLevel != null) {
                                v15_1.setDebugLevel(this.debugLevel);
                            }
                            v15_1.setDestdir(this.classgendir);
                            v15_1.setExecutable(this.forkedExecutable);
                            v15_1.setFailonerror(this.failonerror);
                            v15_1.setFork(this.fork);
                            if (this.javasource == null) {
                                v15_1.setSource("1.4");
                                v15_1.setTarget("1.4");
                            } else {
                                v15_1.setSource(this.javasource);
                                v15_1.setTarget(this.javasource);
                            }
                            v15_1.setIncludeantruntime(this.includeAntRuntime);
                            v15_1.setIncludejavaruntime(this.includeJavaRuntime);
                            v15_1.setSrcdir(new org.apache.tools.ant.types.Path(this.project, this.srcgendir.getAbsolutePath()));
                            if (this.memoryInitialSize != null) {
                                v15_1.setMemoryInitialSize(this.memoryInitialSize);
                            }
                            if (this.memoryMaximumSize != null) {
                                v15_1.setMemoryMaximumSize(this.memoryMaximumSize);
                            }
                            v15_1.setOptimize(this.optimize);
                            v15_1.setVerbose(this.verbose);
                            v15_1.execute();
                            long v8 = System.currentTimeMillis();
                            if (!this.quiet) {
                                this.log(new StringBuffer().append("Time to compile code: ").append((((double) (v8 - v22)) / 1000.0)).append(" seconds").toString());
                            }
                            if (this.destfile != null) {
                                org.apache.tools.ant.taskdefs.Jar v12_1 = new org.apache.tools.ant.taskdefs.Jar();
                                v12_1.setProject(this.project);
                                v12_1.setTaskName(this.getTaskName());
                                v12_1.setBasedir(this.classgendir);
                                v12_1.setDestFile(this.destfile);
                                v12_1.execute();
                            }
                        }
                        if (v27 != null) {
                            org.apache.xmlbeans.impl.tool.SchemaCodeGenerator.tryHardToDelete(v27);
                        }
                    } else {
                        v27 = org.apache.xmlbeans.impl.tool.SchemaCodeGenerator.createTempDir();
                    }
                } catch (Throwable v6_1) {
                    throw v6_1;
                } catch (Throwable v6_0) {
                    if (!(v6_0 instanceof InterruptedException)) {
                        if (!this.failonerror) {
                            this.log(new StringBuffer().append("Exception while building schemas: ").append(v6_0.getMessage()).toString(), 0);
                            java.io.StringWriter v25_1 = new java.io.StringWriter();
                            java.io.File v34_126 = new java.io.PrintWriter;
                            v34_126(v25_1);
                            v6_0.printStackTrace(v34_126);
                            this.log(v25_1.toString(), 3);
                        }
                    }
                    java.io.File v34_132 = new org.apache.tools.ant.BuildException;
                    v34_132(v6_0);
                    throw v34_132;
                }
                if ((!v24) && (this.failonerror)) {
                    throw new org.apache.tools.ant.BuildException();
                }
            } else {
                this.log("Could not find any xsd or wsdl files to process.", 1);
            }
        } else {
            if (!this.failonerror) {
                this.log("The \'schema\' or \'dir\' attribute or a nested fileset is required.", 0);
            } else {
                java.io.File v34_137 = new org.apache.tools.ant.BuildException;
                v34_137("The \'schema\' or \'dir\' attribute or a nested fileset is required.");
                throw v34_137;
            }
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.XMLBean.processPaths() calling method java.io.File.<init>()


    private void processPaths(String[] p8, java.io.File p9)
    {
        int v1 = 0;
        while (v1 < p8.length) {
            int v0 = p8[v1].lastIndexOf(46);
            if (v0 > -1) {
                String v2 = p8[v1];
                java.util.Set v4_1 = ((java.util.Set) this._extRouter.get(v2.substring(v0).toLowerCase()));
                if (v4_1 != null) {
                    v4_1.add(new java.io.File(p9, v2));
                }
            }
            v1++;
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.SchemaResourceManager.writeInputStreamToFile() calling method java.io.File.<init>()


    protected void writeInputStreamToFile(java.io.InputStream p5, String p6)
    {
        java.io.File v2_1 = new java.io.File(this._directory, p6);
        java.io.File v1 = v2_1.getParentFile();
        if (!v1.exists()) {
            v1.mkdirs();
        }
        org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(p5, new java.io.FileOutputStream(v2_1));
        return;
    }

Method org.apache.xmlbeans.impl.tool.SchemaResourceManager.inputStreamForFile() calling method java.io.File.<init>()


    protected java.io.InputStream inputStreamForFile(String p4)
    {
        return new java.io.FileInputStream(new java.io.File(this._directory, p4));
    }

Method org.apache.xmlbeans.impl.tool.SchemaResourceManager.fileExists() calling method java.io.File.<init>()


    protected boolean fileExists(String p3)
    {
        return new java.io.File(this._directory, p3).exists();
    }

Method org.apache.xmlbeans.impl.tool.SchemaResourceManager.deleteFile() calling method java.io.File.<init>()


    protected void deleteFile(String p3)
    {
        new java.io.File(this._directory, p3).delete();
        return;
    }

Method org.apache.xmlbeans.impl.tool.SchemaResourceManager.main() calling method java.io.File.<init>()


    public static void main(String[] p24)
    {
        if (p24.length != 0) {
            java.util.HashSet v17_1 = new java.util.HashSet();
            v17_1.add("h");
            v17_1.add("help");
            v17_1.add("usage");
            v17_1.add("license");
            v17_1.add("version");
            v17_1.add("sync");
            v17_1.add("refresh");
            v17_1.add("recurse");
            java.util.HashSet v19_1 = new java.util.HashSet();
            v19_1.add("dir");
            org.apache.xmlbeans.impl.tool.CommandLine v10_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p24, v17_1, v19_1);
            if ((v10_1.getOpt("h") == null) && ((v10_1.getOpt("help") == null) && (v10_1.getOpt("usage") == null))) {
                String[] v9 = v10_1.getBadOpts();
                if (v9.length <= 0) {
                    if (v10_1.getOpt("license") == null) {
                        if (v10_1.getOpt("version") == null) {
                            int v6;
                            String[] v24_1 = v10_1.args();
                            if (v10_1.getOpt("sync") == null) {
                                v6 = 0;
                            } else {
                                v6 = 1;
                            }
                            int v7;
                            if (v10_1.getOpt("refresh") == null) {
                                v7 = 0;
                            } else {
                                v7 = 1;
                            }
                            int v8;
                            if (v10_1.getOpt("recurse") == null) {
                                v8 = 0;
                            } else {
                                v8 = 1;
                            }
                            String v11 = v10_1.getOpt("dir");
                            if (v11 == null) {
                                v11 = ".";
                            }
                            java.io.File v12_1 = new java.io.File(v11);
                            try {
                                org.apache.xmlbeans.impl.tool.SchemaResourceManager v3_1 = new org.apache.xmlbeans.impl.tool.SchemaResourceManager(v12_1);
                                java.util.ArrayList v20_1 = new java.util.ArrayList();
                                java.util.List v15_1 = new java.util.ArrayList();
                                int v18_0 = 0;
                            } catch (IllegalStateException v13) {
                                if (v13.getMessage() == null) {
                                    v13.printStackTrace();
                                } else {
                                    System.out.println(v13.getMessage());
                                }
                                System.exit(1);
                            }
                            while (v18_0 < v24_1.length) {
                                if (!org.apache.xmlbeans.impl.tool.SchemaResourceManager.looksLikeURL(v24_1[v18_0])) {
                                    int v21_25 = new java.io.File;
                                    v21_25(v12_1, v24_1[v18_0]);
                                    v15_1.add(v21_25);
                                } else {
                                    v20_1.add(v24_1[v18_0]);
                                }
                                v18_0++;
                            }
                            int v18_1 = v15_1.iterator();
                            while (v18_1.hasNext()) {
                                java.io.File v14_1 = ((java.io.File) v18_1.next());
                                if (!org.apache.xmlbeans.impl.tool.SchemaResourceManager.isInDirectory(v14_1, v12_1)) {
                                    System.err.println(new StringBuffer().append("File not within directory: ").append(v14_1).toString());
                                    v18_1.remove();
                                }
                            }
                            StringBuffer v0_8 = new java.io.File[0];
                            StringBuffer v0_12 = new String[0];
                            String[] v4_1 = ((String[]) v20_1.toArray(v0_12));
                            StringBuffer v0_14 = new java.io.File[0];
                            String[] v5 = org.apache.xmlbeans.impl.tool.SchemaResourceManager.relativeFilenames(((java.io.File[]) org.apache.xmlbeans.impl.tool.SchemaResourceManager.collectXSDFiles(((java.io.File[]) v15_1.toArray(v0_8))).toArray(v0_14)), v12_1);
                            if ((v4_1.length + v5.length) <= 0) {
                                v3_1.processAll(v6, v7, v8);
                            } else {
                                v3_1.process(v4_1, v5, v6, v7, v8);
                            }
                            v3_1.writeCache();
                            System.exit(0);
                        } else {
                            org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                            System.exit(0);
                        }
                    } else {
                        org.apache.xmlbeans.impl.tool.CommandLine.printLicense();
                        System.exit(0);
                    }
                } else {
                    int v18_2 = 0;
                    while (v18_2 < v9.length) {
                        System.out.println(new StringBuffer().append("Unrecognized option: ").append(v9[v18_2]).toString());
                        v18_2++;
                    }
                    org.apache.xmlbeans.impl.tool.SchemaResourceManager.printUsage();
                    System.exit(0);
                }
            } else {
                org.apache.xmlbeans.impl.tool.SchemaResourceManager.printUsage();
                System.exit(0);
            }
        } else {
            org.apache.xmlbeans.impl.tool.SchemaResourceManager.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.SchemaCopy.main() calling method java.io.File.<init>()


    public static void main(String[] p12)
    {
        if ((p12.length >= 1) && (p12.length <= 2)) {
            java.net.URI v3 = 0;
            try {
                if (p12[0].compareToIgnoreCase("-usage") != 0) {
                    java.net.URI v4_1 = new java.net.URI(p12[0]);
                    try {
                        java.net.URI v5;
                        v4_1.toURL();
                    } catch (Exception v1) {
                        v3 = v4_1;
                    }
                    if (p12.length >= 2) {
                        try {
                            java.net.URI v6_1 = new java.net.URI(p12[1]);
                            try {
                                if (v6_1.isAbsolute()) {
                                    if (v6_1.getScheme().equals("file")) {
                                        v5 = v6_1;
                                        if (v5 == null) {
                                            try {
                                                v5 = new java.io.File(v5).getCanonicalFile().toURI();
                                            } catch (Exception v1) {
                                                System.err.println("Cannot canonicalize current directory");
                                                return;
                                            }
                                        }
                                    } else {
                                        v5 = 0;
                                    }
                                } else {
                                    v5 = 0;
                                }
                            } catch (Exception v1) {
                                v5 = 0;
                            }
                        } catch (Exception v1) {
                        }
                    } else {
                        try {
                            java.net.URI v0 = new java.io.File(".").getCanonicalFile().toURI();
                            String v2_0 = v4_1.getPath();
                            v5 = org.apache.xmlbeans.impl.tool.CodeGenUtil.resolve(v0, java.net.URI.create(v2_0.substring((v2_0.lastIndexOf(47) + 1))));
                        } catch (Exception v1) {
                            System.err.println("Cannot canonicalize current directory");
                            return;
                        }
                    }
                    org.apache.xmlbeans.impl.tool.SchemaCopy.copyAll(org.apache.xmlbeans.impl.tool.SchemaCopy.findAllRelative(v4_1, v5), 1);
                    return;
                } else {
                    org.apache.xmlbeans.impl.tool.SchemaCopy.printUsage();
                    return;
                }
            } catch (Exception v1) {
            }
            System.err.println(new StringBuffer().append("Badly formed URL ").append(v3).toString());
        } else {
            org.apache.xmlbeans.impl.tool.SchemaCopy.printUsage();
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.SchemaCompiler.main() calling method java.io.File.<init>()


    public static void main(String[] p62)
    {
        if (p62.length != 0) {
            java.util.HashSet v24_1 = new java.util.HashSet();
            v24_1.add("h");
            v24_1.add("help");
            v24_1.add("usage");
            v24_1.add("license");
            v24_1.add("quiet");
            v24_1.add("verbose");
            v24_1.add("version");
            v24_1.add("dl");
            v24_1.add("noupa");
            v24_1.add("nopvr");
            v24_1.add("noann");
            v24_1.add("novdoc");
            v24_1.add("noext");
            v24_1.add("srconly");
            v24_1.add("debug");
            java.util.HashSet v43_1 = new java.util.HashSet();
            v43_1.add("out");
            v43_1.add("name");
            v43_1.add("src");
            v43_1.add("d");
            v43_1.add("cp");
            v43_1.add("compiler");
            v43_1.add("javasource");
            v43_1.add("jar");
            v43_1.add("ms");
            v43_1.add("mx");
            v43_1.add("repackage");
            v43_1.add("schemaCodePrinter");
            v43_1.add("extension");
            v43_1.add("extensionParms");
            v43_1.add("allowmdef");
            v43_1.add("catalog");
            org.apache.xmlbeans.impl.tool.CommandLine v8_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p62, v24_1, v43_1);
            if ((v8_1.getOpt("h") == null) && ((v8_1.getOpt("help") == null) && (v8_1.getOpt("usage") == null))) {
                String[] v4 = v8_1.getBadOpts();
                if (v4.length <= 0) {
                    if (v8_1.getOpt("license") == null) {
                        if (v8_1.getOpt("version") == null) {
                            int v56;
                            v8_1.args();
                            if (v8_1.getOpt("verbose") == null) {
                                v56 = 0;
                            } else {
                                v56 = 1;
                            }
                            int v48;
                            if (v8_1.getOpt("quiet") == null) {
                                v48 = 0;
                            } else {
                                v48 = 1;
                            }
                            if (v56 != 0) {
                                v48 = 0;
                            }
                            if (v56 != 0) {
                                org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                            }
                            String v44 = v8_1.getOpt("out");
                            String v49 = v8_1.getOpt("repackage");
                            String v13 = v8_1.getOpt("schemaCodePrinter");
                            org.apache.xmlbeans.SchemaCodePrinter v12 = 0;
                            if (v13 != null) {
                                try {
                                    v12 = ((org.apache.xmlbeans.SchemaCodePrinter) Class.forName(v13).newInstance());
                                } catch (java.io.IOException v21) {
                                    System.err.println(new StringBuffer().append("Failed to load SchemaCodePrinter class ").append(v13).append("; proceeding with default printer").toString());
                                }
                            }
                            int v20;
                            String v35 = v8_1.getOpt("name");
                            if (v8_1.getOpt("dl") == null) {
                                v20 = 0;
                            } else {
                                v20 = 1;
                            }
                            int v39;
                            if (v8_1.getOpt("noupa") == null) {
                                v39 = 0;
                            } else {
                                v39 = 1;
                            }
                            int v38;
                            if (v8_1.getOpt("nopvr") == null) {
                                v38 = 0;
                            } else {
                                v38 = 1;
                            }
                            int v36;
                            if (v8_1.getOpt("noann") == null) {
                                v36 = 0;
                            } else {
                                v36 = 1;
                            }
                            int v40;
                            if (v8_1.getOpt("novdoc") == null) {
                                v40 = 0;
                            } else {
                                v40 = 1;
                            }
                            int v37;
                            if (v8_1.getOpt("noext") == null) {
                                v37 = 0;
                            } else {
                                v37 = 1;
                            }
                            int v41;
                            if (v8_1.getOpt("srconly") == null) {
                                v41 = 0;
                            } else {
                                v41 = 1;
                            }
                            int v19;
                            if (v8_1.getOpt("debug") == null) {
                                v19 = 0;
                            } else {
                                v19 = 1;
                            }
                            java.util.HashSet v31;
                            String v3 = v8_1.getOpt("allowmdef");
                            if (v3 != null) {
                                v31 = new java.util.HashSet;
                                v31(java.util.Arrays.asList(org.apache.xmlbeans.impl.values.XmlListImpl.split_list(v3)));
                            } else {
                                v31 = java.util.Collections.EMPTY_SET;
                            }
                            java.util.ArrayList v23_1 = new java.util.ArrayList();
                            if (v8_1.getOpt("extension") != null) {
                                try {
                                    java.io.IOException v21_1 = new org.apache.xmlbeans.impl.tool.Extension();
                                    v21_1.setClassName(Class.forName(v8_1.getOpt("extension"), 0, Thread.currentThread().getContextClassLoader()));
                                    v23_1.add(v21_1);
                                } catch (java.io.IOException v21) {
                                    System.err.println(new StringBuffer().append("Could not find extension class: ").append(v8_1.getOpt("extension")).append("  Is it on your classpath?").toString());
                                    System.exit(1);
                                }
                            }
                            if ((v23_1.size() > 0) && (v8_1.getOpt("extensionParms") != null)) {
                                java.io.IOException v21_3 = ((org.apache.xmlbeans.impl.tool.Extension) v23_1.get(0));
                                java.util.StringTokenizer v47 = new java.util.StringTokenizer;
                                v47(v8_1.getOpt("extensionParms"), ";");
                                while (v47.hasMoreTokens()) {
                                    String v42 = v47.nextToken();
                                    int v26 = v42.indexOf(61);
                                    if (v26 < 0) {
                                        System.err.println("extensionParms should be name=value;name=value");
                                        System.exit(1);
                                    }
                                    String v34 = v42.substring(0, v26);
                                    String v55 = v42.substring((v26 + 1));
                                    org.apache.xmlbeans.impl.tool.Extension$Param v45 = v21_3.createParam();
                                    v45.setName(v34);
                                    v45.setValue(v55);
                                }
                            }
                            String v10 = v8_1.getOpt("d");
                            java.io.File v9_0 = 0;
                            if (v10 != null) {
                                v9_0 = new java.io.File(v10);
                            }
                            String v52 = v8_1.getOpt("src");
                            java.io.File v51_0 = 0;
                            if (v52 != null) {
                                v51_0 = new java.io.File(v52);
                            }
                            if ((v41 != 0) && ((v52 == null) && (v9_0 != null))) {
                                v51_0 = v9_0;
                            }
                            java.io.File v53 = 0;
                            if ((v51_0 == null) || (v9_0 == null)) {
                                try {
                                    v53 = org.apache.xmlbeans.impl.tool.SchemaCodeGenerator.createTempDir();
                                } catch (java.io.IOException v21_4) {
                                    System.err.println(new StringBuffer().append("Error creating temp dir ").append(v21_4).toString());
                                    System.exit(1);
                                }
                            }
                            java.io.File v28 = 0;
                            if ((v44 == null) && ((v9_0 == null) && (v41 == 0))) {
                                v44 = "xmltypes.jar";
                            }
                            if (v44 != null) {
                                v28 = new java.io.File;
                                v28(v44);
                            }
                            if (v51_0 == null) {
                                v51_0 = org.apache.xmlbeans.impl.common.IOUtil.createDir(v53, "src");
                            }
                            if (v9_0 == null) {
                                v9_0 = org.apache.xmlbeans.impl.common.IOUtil.createDir(v53, "classes");
                            }
                            java.io.File[] v11_0;
                            String v17 = v8_1.getOpt("cp");
                            if (v17 == null) {
                                v11_0 = org.apache.xmlbeans.impl.tool.CodeGenUtil.systemClasspath();
                            } else {
                                String[] v18 = v17.split(java.io.File.pathSeparator);
                                java.util.ArrayList v16_1 = new java.util.ArrayList();
                                int v25_0 = 0;
                                while (v25_0 < v18.length) {
                                    v16_1.add(new java.io.File(v18[v25_0]));
                                    v25_0++;
                                }
                                org.apache.xmlbeans.impl.tool.SchemaCompiler$Parameters v0_66 = new java.io.File[v16_1.size()];
                                v11_0 = ((java.io.File[]) v16_1.toArray(v0_66));
                            }
                            String v30 = v8_1.getOpt("javasource");
                            String v14 = v8_1.getOpt("compiler");
                            String v27 = v8_1.getOpt("jar");
                            if ((v56 != 0) && (v27 != null)) {
                                System.out.println("The \'jar\' option is no longer supported.");
                            }
                            String v32 = v8_1.getOpt("ms");
                            String v33 = v8_1.getOpt("mx");
                            java.io.File[] v58 = v8_1.filesEndingWith(".xsd");
                            java.io.File[] v57 = v8_1.filesEndingWith(".wsdl");
                            java.io.File[] v29 = v8_1.filesEndingWith(".java");
                            java.io.File[] v15 = v8_1.filesEndingWith(".xsdconfig");
                            java.net.URL[] v54 = v8_1.getURLs();
                            if (((v54.length + v54.length) + v54.length) == 0) {
                                System.out.println("Could not find any xsd or wsdl files to process.");
                                System.exit(0);
                            }
                            java.net.URI v6;
                            java.io.File v5 = v8_1.getBaseDir();
                            if (v5 != null) {
                                v6 = v5.toURI();
                            } else {
                                v6 = 0;
                            }
                            org.apache.xmlbeans.impl.common.XmlErrorPrinter v22 = new org.apache.xmlbeans.impl.common.XmlErrorPrinter;
                            v22(v56, v6);
                            String v7 = v8_1.getOpt("catalog");
                            org.apache.xmlbeans.impl.tool.SchemaCompiler$Parameters v46_1 = new org.apache.xmlbeans.impl.tool.SchemaCompiler$Parameters();
                            v46_1.setBaseDir(v5);
                            v46_1.setXsdFiles(v58);
                            v46_1.setWsdlFiles(v57);
                            v46_1.setJavaFiles(v29);
                            v46_1.setConfigFiles(v15);
                            v46_1.setUrlFiles(v54);
                            v46_1.setClasspath(v11_0);
                            v46_1.setOutputJar(v28);
                            v46_1.setName(v35);
                            v46_1.setSrcDir(v51_0);
                            v46_1.setClassesDir(v9_0);
                            v46_1.setCompiler(v14);
                            v46_1.setJavaSource(v30);
                            v46_1.setMemoryInitialSize(v32);
                            v46_1.setMemoryMaximumSize(v33);
                            v46_1.setNojavac(v41);
                            v46_1.setQuiet(v48);
                            v46_1.setVerbose(v56);
                            v46_1.setDownload(v20);
                            v46_1.setNoUpa(v39);
                            v46_1.setNoPvr(v38);
                            v46_1.setNoAnn(v36);
                            v46_1.setNoVDoc(v40);
                            v46_1.setNoExt(v37);
                            v46_1.setDebug(v19);
                            v46_1.setErrorListener(v22);
                            v46_1.setRepackage(v49);
                            v46_1.setExtensions(v23_1);
                            v46_1.setMdefNamespaces(v31);
                            v46_1.setCatalogFile(v7);
                            v46_1.setSchemaCodePrinter(v12);
                            boolean v50 = org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(v46_1);
                            if (v53 != null) {
                                org.apache.xmlbeans.impl.tool.SchemaCodeGenerator.tryHardToDelete(v53);
                            }
                            if (!v50) {
                                System.exit(1);
                            }
                            System.exit(0);
                        } else {
                            org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                            System.exit(0);
                        }
                    } else {
                        org.apache.xmlbeans.impl.tool.CommandLine.printLicense();
                        System.exit(0);
                    }
                } else {
                    int v25_1 = 0;
                    while (v25_1 < v4.length) {
                        System.out.println(new StringBuffer().append("Unrecognized option: ").append(v4[v25_1]).toString());
                        v25_1++;
                    }
                    org.apache.xmlbeans.impl.tool.SchemaCompiler.printUsage();
                    System.exit(0);
                }
            } else {
                org.apache.xmlbeans.impl.tool.SchemaCompiler.printUsage();
                System.exit(0);
            }
        } else {
            org.apache.xmlbeans.impl.tool.SchemaCompiler.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.SchemaCompiler.compile() calling method java.io.File.<init>()


    public static boolean compile(org.apache.xmlbeans.impl.tool.SchemaCompiler$Parameters p60)
    {
        java.io.File v18 = p60.getBaseDir();
        java.io.File[] v5 = p60.getXsdFiles();
        java.io.File[] v6 = p60.getWsdlFiles();
        java.net.URL[] v7 = p60.getUrlFiles();
        java.io.File[] v9 = p60.getJavaFiles();
        java.io.File[] v8 = p60.getConfigFiles();
        java.io.File[] v23 = p60.getClasspath();
        java.io.File v49 = p60.getOutputJar();
        String v4 = p60.getName();
        java.io.File v27 = p60.getSrcDir();
        java.io.File v26 = p60.getClassesDir();
        String v35 = p60.getCompiler();
        String v24 = p60.getJavaSource();
        String v37 = p60.getMemoryInitialSize();
        String v38 = p60.getMemoryMaximumSize();
        boolean v46 = p60.isNojavac();
        boolean v34 = p60.isDebug();
        boolean v29 = p60.isVerbose();
        boolean v39 = p60.isQuiet();
        boolean v11 = p60.isDownload();
        boolean v12 = p60.isNoUpa();
        boolean v13 = p60.isNoPvr();
        boolean v14 = p60.isNoAnn();
        boolean v15 = p60.isNoVDoc();
        boolean v16 = p60.isNoExt();
        boolean v30 = p60.isIncrementalSrcGen();
        java.util.Collection v48 = p60.getErrorListener();
        String v50 = p60.getRepackage();
        if (v50 != null) {
            java.io.PrintStream v32_31;
            org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.METADATA_PACKAGE_LOAD = org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.METADATA_PACKAGE_GEN;
            if (org.apache.xmlbeans.impl.tool.SchemaCompiler.class$org$apache$xmlbeans$SchemaTypeSystem != null) {
                v32_31 = org.apache.xmlbeans.impl.tool.SchemaCompiler.class$org$apache$xmlbeans$SchemaTypeSystem;
            } else {
                v32_31 = org.apache.xmlbeans.impl.tool.SchemaCompiler.class$("org.apache.xmlbeans.SchemaTypeSystem");
                org.apache.xmlbeans.impl.tool.SchemaCompiler.class$org$apache$xmlbeans$SchemaTypeSystem = v32_31;
            }
            String v54 = v32_31.getPackage().getName();
            repackage.Repackager v28_1 = new repackage.Repackager;
            v28_1(v50);
            java.io.PrintStream v32_34 = new StringBuffer;
            v32_34(v54);
            org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.METADATA_PACKAGE_GEN = v28_1.repackage(v32_34).toString().replace(46, 95);
            System.out.println(new StringBuffer().append("\n\n\n").append(v54).append(".SchemaCompiler  Metadata LOAD:").append(org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.METADATA_PACKAGE_LOAD).append(" GEN:").append(org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.METADATA_PACKAGE_GEN).toString());
        }
        org.xml.sax.EntityResolver v22;
        org.apache.xmlbeans.SchemaCodePrinter v41 = p60.getSchemaCodePrinter();
        java.util.List v43 = p60.getExtensions();
        java.util.Set v17 = p60.getMdefNamespaces();
        if (p60.getEntityResolver() != null) {
            v22 = p60.getEntityResolver();
        } else {
            v22 = org.apache.xmlbeans.impl.common.ResolverUtil.resolverForCatalog(p60.getCatalogFile());
        }
        if ((v27 != null) && (v26 != null)) {
            long v52_0 = System.currentTimeMillis();
            if (v18 == null) {
                v18 = new java.io.File;
                v18(org.apache.xmlbeans.SystemProperties.getProperty("user.dir"));
            }
            org.apache.xmlbeans.impl.schema.PathResourceLoader v10_0 = 0;
            java.util.HashMap v19_1 = new java.util.HashMap();
            if (v23 != null) {
                v10_0 = new org.apache.xmlbeans.impl.schema.PathResourceLoader(v23);
            }
            int v51 = 1;
            java.io.File v21 = org.apache.xmlbeans.impl.common.IOUtil.createDir(v26, new StringBuffer().append("schema").append(org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.METADATA_PACKAGE_GEN).append("/src").toString());
            org.apache.xmlbeans.impl.common.XmlErrorWatcher v20 = new org.apache.xmlbeans.impl.common.XmlErrorWatcher;
            v20(v48);
            org.apache.xmlbeans.SchemaTypeSystem v55 = org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(v4, v5, v6, v7, v8, v9, v10_0, v11, v12, v13, v14, v15, v16, v17, v18, v19_1, v20, v21, v22, v23, v24);
            if (v20.hasError()) {
                v51 = 0;
            }
            long v44_0 = System.currentTimeMillis();
            if (!v39) {
                System.out.println(new StringBuffer().append("Time to build schema type system: ").append((((double) (v44_0 - v52_0)) / 1000.0)).append(" seconds").toString());
            }
            if ((v51 != 0) && (v55 != null)) {
                repackage.Repackager v28_0;
                long v52_1 = System.currentTimeMillis();
                if (v50 != null) {
                    v28_0 = new repackage.Repackager;
                    v28_0(v50);
                } else {
                    v28_0 = 0;
                }
                org.apache.xmlbeans.impl.util.FilerImpl v25_1 = new org.apache.xmlbeans.impl.util.FilerImpl(v26, v27, v28_0, v29, v30);
                org.apache.xmlbeans.XmlOptions v47_1 = new org.apache.xmlbeans.XmlOptions();
                if (v41 != null) {
                    v47_1.setSchemaCodePrinter(v41);
                }
                if (v24 != null) {
                    v47_1.setGenerateJavaVersion(v24);
                }
                v55.save(v25_1);
                v51 &= org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.generateTypes(v55, v25_1, v47_1);
                if (v30) {
                    org.apache.xmlbeans.impl.tool.SchemaCodeGenerator.deleteObsoleteFiles(v27, v27, new java.util.HashSet(v25_1.getSourceFiles()));
                }
                if (v51 != 0) {
                    long v44_1 = System.currentTimeMillis();
                    if (!v39) {
                        System.out.println(new StringBuffer().append("Time to generate code: ").append((((double) (v44_1 - v52_1)) / 1000.0)).append(" seconds").toString());
                    }
                }
                if ((v51 != 0) && (!v46)) {
                    long v52_2 = System.currentTimeMillis();
                    java.util.List v31 = v25_1.getSourceFiles();
                    if (v9 != null) {
                        v31.addAll(java.util.Arrays.asList(v9));
                    }
                    if (!org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(v31, v26, v23, v34, v35, v24, v37, v38, v39, v29)) {
                        v51 = 0;
                    }
                    long v44_2 = System.currentTimeMillis();
                    if ((v51 != 0) && (!p60.isQuiet())) {
                        System.out.println(new StringBuffer().append("Time to compile code: ").append((((double) (v44_2 - v52_2)) / 1000.0)).append(" seconds").toString());
                    }
                    if ((v51 != 0) && (v49 != null)) {
                        try {
                            new org.apache.xmlbeans.impl.common.JarHelper().jarDir(v26, v49);
                        } catch (java.io.IOException v42) {
                            System.err.println(new StringBuffer().append("IO Error ").append(v42).toString());
                            v51 = 0;
                        }
                        if ((v51 != 0) && (!p60.isQuiet())) {
                            System.out.println(new StringBuffer().append("Compiled types to: ").append(v49).toString());
                        }
                    }
                }
            }
            if ((v51 != 0) || (v39)) {
                org.apache.xmlbeans.impl.tool.SchemaCompiler.runExtensions(v43, v55, v26);
            } else {
                System.out.println("BUILD FAILED");
            }
            if (v10_0 != null) {
                v10_0.close();
            }
            return v51;
        } else {
            throw new IllegalArgumentException("src and class gen directories may not be null.");
        }
    }

Method org.apache.xmlbeans.impl.tool.SchemaCodeGenerator.tryToDelete() calling method java.io.File.<init>()


    private static void tryToDelete(java.io.File p4)
    {
        if (p4.exists()) {
            if (p4.isDirectory()) {
                String[] v1 = p4.list();
                if (v1 != null) {
                    int v0 = 0;
                    while (v0 < v1.length) {
                        org.apache.xmlbeans.impl.tool.SchemaCodeGenerator.tryToDelete(new java.io.File(p4, v1[v0]));
                        v0++;
                    }
                }
            }
            // Both branches of the condition point to the same code.
            // if (p4.delete()) {
            // }
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.SchemaCodeGenerator.createTempDir() calling method java.io.File.<init>()


    protected static java.io.File createTempDir()
    {
        try {
            new java.io.File(org.apache.xmlbeans.SystemProperties.getProperty("java.io.tmpdir")).mkdirs();
        } catch (Exception v3) {
            v3.printStackTrace();
        }
        java.io.File v7 = java.io.File.createTempFile("xbean", 0);
        String v5_0 = v7.getAbsolutePath();
        if (v5_0.endsWith(".tmp")) {
            String v5_1 = v5_0.substring(0, (v5_0.length() - 4));
            java.io.File v8_0 = 0;
            int v1 = 0;
            while (v1 < 100) {
                AssertionError v9_9;
                int v0_1;
                String v10_3 = new StringBuffer().append(v5_1).append(".d");
                if (v1 != 0) {
                    v0_1 = (v1 + 1);
                    v9_9 = Integer.toString(v1);
                } else {
                    v9_9 = "";
                    v0_1 = v1;
                }
                v8_0 = new java.io.File(v10_3.append(v9_9).toString());
                if (v8_0.exists()) {
                    v1 = (v0_1 + 1);
                } else {
                    boolean v2 = v8_0.mkdirs();
                    if ((org.apache.xmlbeans.impl.tool.SchemaCodeGenerator.$assertionsDisabled) || (v2)) {
                        break;
                    }
                    throw new AssertionError(new StringBuffer().append("Could not create ").append(v8_0.getAbsolutePath()).toString());
                }
            }
            v7.deleteOnExit();
            return v8_0;
        } else {
            throw new java.io.IOException("Error: createTempFile did not create a file ending with .tmp");
        }
    }

Method org.apache.xmlbeans.impl.tool.RunXQuery.main() calling method java.io.File.<init>()


    public static void main(String[] p24)
    {
        java.util.HashSet v7_1 = new java.util.HashSet();
        v7_1.add("h");
        v7_1.add("help");
        v7_1.add("usage");
        v7_1.add("license");
        v7_1.add("version");
        v7_1.add("verbose");
        v7_1.add("pretty");
        org.apache.xmlbeans.XmlObject v0_18 = new String[2];
        java.io.PrintStream v21_34 = v0_18;
        v21_34[0] = "q";
        v21_34[1] = "qf";
        org.apache.xmlbeans.impl.tool.CommandLine v4_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p24, v7_1, java.util.Arrays.asList(v21_34));
        if ((v4_1.getOpt("h") == null) && ((v4_1.getOpt("help") == null) && (v4_1.getOpt("usage") == null))) {
            String[] v2 = v4_1.getBadOpts();
            if (v2.length <= 0) {
                if (v4_1.getOpt("license") == null) {
                    if (v4_1.getOpt("version") == null) {
                        if (v4_1.args().length != 0) {
                            int v19;
                            if (v4_1.getOpt("verbose") == null) {
                                v19 = 0;
                            } else {
                                v19 = 1;
                            }
                            int v12;
                            if (v4_1.getOpt("pretty") == null) {
                                v12 = 0;
                            } else {
                                v12 = 1;
                            }
                            String v13_0 = v4_1.getOpt("q");
                            String v15 = v4_1.getOpt("qf");
                            if ((v13_0 != null) || (v15 != null)) {
                                if ((v13_0 == null) || (v15 == null)) {
                                    if (v15 != null) {
                                        try {
                                            java.io.FileInputStream v9_1 = new java.io.FileInputStream(new java.io.File(v15));
                                            java.io.InputStreamReader v16 = new java.io.InputStreamReader;
                                            v16(v9_1);
                                            StringBuffer v18_1 = new StringBuffer();
                                        } catch (Throwable v5_0) {
                                            System.err.println(new StringBuffer().append("Cannot read query file: ").append(v5_0.getMessage()).toString());
                                            System.exit(1);
                                            return;
                                        }
                                        while(true) {
                                            int v3_0 = v16.read();
                                            if (v3_0 < 0) {
                                                break;
                                            }
                                            v18_1.append(((char) v3_0));
                                        }
                                        v16.close();
                                        v9_1.close();
                                        v13_0 = v18_1.toString();
                                    }
                                    if (v19 != 0) {
                                        System.out.println("Compile Query:");
                                        System.out.println(v13_0);
                                        System.out.println();
                                    }
                                    try {
                                        String v13_1 = org.apache.xmlbeans.XmlBeans.compileQuery(v13_0);
                                        java.io.File[] v6 = v4_1.getFiles();
                                        int v8_0 = 0;
                                    } catch (Throwable v5_1) {
                                        System.err.println(new StringBuffer().append("Error compiling query: ").append(v5_1.getMessage()).toString());
                                        System.exit(1);
                                    }
                                    while (v8_0 < v6.length) {
                                        if (v19 != 0) {
                                            try {
                                                java.io.FileInputStream v9_3 = new java.io.FileInputStream(v6[v8_0]);
                                            } catch (Throwable v5_2) {
                                                System.err.println(new StringBuffer().append("Error parsing instance: ").append(v5_2.getMessage()).toString());
                                                System.exit(1);
                                                break;
                                            }
                                            while(true) {
                                                int v3_1 = v9_3.read();
                                                if (v3_1 < 0) {
                                                    break;
                                                }
                                                System.out.write(v3_1);
                                            }
                                            v9_3.close();
                                            System.out.println();
                                        }
                                        org.apache.xmlbeans.XmlObject v20 = org.apache.xmlbeans.XmlObject$Factory.parse(v6[v8_0]);
                                        if (v19 != 0) {
                                            System.out.println("Executing Query...");
                                            System.err.println();
                                        }
                                        try {
                                            org.apache.xmlbeans.XmlObject[] v17 = v20.execQuery(v13_1);
                                        } catch (Throwable v5_3) {
                                            System.err.println(new StringBuffer().append("Error executing query: ").append(v5_3.getMessage()).toString());
                                            System.exit(1);
                                            break;
                                        }
                                        if (v19 != 0) {
                                            System.out.println("Query Result:");
                                        }
                                        org.apache.xmlbeans.XmlOptions v11_1 = new org.apache.xmlbeans.XmlOptions();
                                        v11_1.setSaveOuter();
                                        if (v12 != 0) {
                                            v11_1.setSavePrettyPrint();
                                        }
                                        int v10 = 0;
                                        while (v10 < v17.length) {
                                            v17[v10].save(System.out, v11_1);
                                            System.out.println();
                                            v10++;
                                        }
                                        v8_0++;
                                    }
                                } else {
                                    System.err.println("Specify -qf or -q, not both.");
                                    System.exit(0);
                                }
                            } else {
                                System.err.println("No query specified");
                                System.exit(0);
                            }
                        } else {
                            org.apache.xmlbeans.impl.tool.RunXQuery.printUsage();
                            System.exit(0);
                        }
                    } else {
                        org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                        System.exit(0);
                    }
                } else {
                    org.apache.xmlbeans.impl.tool.CommandLine.printLicense();
                    System.exit(0);
                }
            } else {
                int v8_1 = 0;
                while (v8_1 < v2.length) {
                    System.out.println(new StringBuffer().append("Unrecognized option: ").append(v2[v8_1]).toString());
                    v8_1++;
                }
                org.apache.xmlbeans.impl.tool.RunXQuery.printUsage();
                System.exit(0);
            }
        } else {
            org.apache.xmlbeans.impl.tool.RunXQuery.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.FactorImports.outputFileFor() calling method java.io.File.<init>()


    private static java.io.File outputFileFor(java.io.File p8, java.io.File p9, java.io.File p10)
    {
        java.io.File v5_3;
        java.net.URI v4 = p9.getAbsoluteFile().toURI().relativize(p8.getAbsoluteFile().toURI());
        if (!v4.isAbsolute()) {
            v5_3 = new java.io.File(org.apache.xmlbeans.impl.tool.CodeGenUtil.resolve(p10.toURI(), v4));
        } else {
            System.out.println(new StringBuffer().append("Cannot relativize ").append(p8).toString());
            v5_3 = 0;
        }
        return v5_3;
    }

Method org.apache.xmlbeans.impl.tool.FactorImports.main() calling method java.io.File.<init>()


    public static void main(String[] p50)
    {
        java.util.HashSet v31_1 = new java.util.HashSet();
        v31_1.add("h");
        v31_1.add("help");
        v31_1.add("usage");
        v31_1.add("license");
        v31_1.add("version");
        org.apache.xmlbeans.impl.xb.xsdschema.IncludeDocument$Include v0_15 = new String[2];
        String v47_34 = v0_15;
        v47_34[0] = "import";
        v47_34[1] = "out";
        org.apache.xmlbeans.impl.tool.CommandLine v11_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p50, v31_1, java.util.Arrays.asList(v47_34));
        if ((v11_1.getOpt("h") == null) && ((v11_1.getOpt("help") == null) && ((v11_1.getOpt("usage") == null) && (p50.length >= 1)))) {
            String[] v9 = v11_1.getBadOpts();
            if (v9.length <= 0) {
                if (v11_1.getOpt("license") == null) {
                    if (v11_1.getOpt("version") == null) {
                        String[] v50_1 = v11_1.args();
                        if (v50_1.length == 1) {
                            String v16 = v11_1.getOpt("import");
                            if (v16 == null) {
                                v16 = "common.xsd";
                            }
                            String v40 = v11_1.getOpt("out");
                            if (v40 == null) {
                                System.out.println("Using output directory \'out\'");
                                v40 = "out";
                            }
                            java.io.File v41 = new java.io.File;
                            v41(v40);
                            java.io.File v10_1 = new java.io.File(v50_1[0]);
                            java.io.File[] v30 = v11_1.getFiles();
                            java.util.HashMap v43_1 = new java.util.HashMap();
                            java.util.HashSet v29_1 = new java.util.HashSet();
                            java.util.HashSet v8_1 = new java.util.HashSet();
                            java.util.HashSet v46_1 = new java.util.HashSet();
                            java.util.HashSet v36_1 = new java.util.HashSet();
                            java.util.HashSet v7_1 = new java.util.HashSet();
                            java.util.HashSet v23_1 = new java.util.HashSet();
                            java.util.HashSet v22_1 = new java.util.HashSet();
                            java.util.HashSet v26_1 = new java.util.HashSet();
                            java.util.HashSet v24_1 = new java.util.HashSet();
                            java.util.HashSet v21_1 = new java.util.HashSet();
                            java.util.HashSet v25_1 = new java.util.HashSet();
                            java.util.Iterator v33_0 = 0;
                            while (v33_0 < v30.length) {
                                try {
                                    org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument v20_6 = org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument$Factory.parse(v30[v33_0]);
                                    v43_1.put(v20_6, v30[v33_0]);
                                } catch (java.io.IOException v27_1) {
                                    System.out.println(new StringBuffer().append("warning: ").append(v30[v33_0]).append(" is not a schema file - ").append(v27_1.getError().toString()).toString());
                                    v33_0++;
                                } catch (java.io.IOException v27_0) {
                                    System.err.println(new StringBuffer().append("Unable to load ").append(v30[v33_0]).append(" - ").append(v27_0.getMessage()).toString());
                                    System.exit(1);
                                }
                                if ((v20_6.getSchema().sizeOfImportArray() > 0) || (v20_6.getSchema().sizeOfIncludeArray() > 0)) {
                                    System.out.println(new StringBuffer().append("warning: ").append(v30[v33_0]).append(" contains imports or includes that are being ignored.").toString());
                                }
                                String v45_1 = v20_6.getSchema().getTargetNamespace();
                                if (v45_1 == null) {
                                    v45_1 = "";
                                }
                                org.apache.xmlbeans.impl.xb.xsdschema.TopLevelComplexType[] v19_1 = v20_6.getSchema().getComplexTypeArray();
                                int v35_6 = 0;
                                while (v35_6 < v19_1.length) {
                                    org.apache.xmlbeans.impl.tool.FactorImports.noteName(v19_1[v35_6].getName(), v45_1, v46_1, v26_1, v25_1);
                                    v35_6++;
                                }
                                org.apache.xmlbeans.impl.xb.xsdschema.TopLevelSimpleType[] v44_1 = v20_6.getSchema().getSimpleTypeArray();
                                int v35_7 = 0;
                                while (v35_7 < v44_1.length) {
                                    org.apache.xmlbeans.impl.tool.FactorImports.noteName(v44_1[v35_7].getName(), v45_1, v46_1, v26_1, v25_1);
                                    v35_7++;
                                }
                                org.apache.xmlbeans.impl.xb.xsdschema.TopLevelElement[] v28_1 = v20_6.getSchema().getElementArray();
                                int v35_8 = 0;
                                while (v35_8 < v28_1.length) {
                                    org.apache.xmlbeans.impl.tool.FactorImports.noteName(v28_1[v35_8].getName(), v45_1, v29_1, v23_1, v25_1);
                                    v35_8++;
                                }
                                org.apache.xmlbeans.impl.xb.xsdschema.TopLevelAttribute[] v6_1 = v20_6.getSchema().getAttributeArray();
                                int v35_9 = 0;
                                while (v35_9 < v6_1.length) {
                                    org.apache.xmlbeans.impl.tool.FactorImports.noteName(v6_1[v35_9].getName(), v45_1, v8_1, v22_1, v25_1);
                                    v35_9++;
                                }
                                org.apache.xmlbeans.impl.xb.xsdschema.NamedGroup[] v32_1 = v20_6.getSchema().getGroupArray();
                                int v35_10 = 0;
                                while (v35_10 < v32_1.length) {
                                    org.apache.xmlbeans.impl.tool.FactorImports.noteName(v32_1[v35_10].getName(), v45_1, v36_1, v24_1, v25_1);
                                    v35_10++;
                                }
                                org.apache.xmlbeans.impl.xb.xsdschema.NamedAttributeGroup[] v5_1 = v20_6.getSchema().getAttributeGroupArray();
                                int v35_11 = 0;
                                while (v35_11 < v5_1.length) {
                                    org.apache.xmlbeans.impl.tool.FactorImports.noteName(v5_1[v35_11].getName(), v45_1, v7_1, v21_1, v25_1);
                                    v35_11++;
                                }
                            }
                            if (v43_1.size() != 0) {
                                if (((((v26_1.size() + v23_1.size()) + v22_1.size()) + v24_1.size()) + v21_1.size()) != 0) {
                                    int v17;
                                    java.util.HashMap v13_1 = new java.util.HashMap();
                                    java.util.HashMap v15_1 = new java.util.HashMap();
                                    if (v25_1.size() != 1) {
                                        v17 = 1;
                                    } else {
                                        v17 = 0;
                                    }
                                    java.util.Iterator v33_1 = v25_1.iterator();
                                    while (v33_1.hasNext()) {
                                        String v37_1 = ((String) v33_1.next());
                                        org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument v12_2 = org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument$Factory.parse("<xs:schema xmlns:xs=\'http://www.w3.org/2001/XMLSchema\'/>");
                                        if (v37_1.length() > 0) {
                                            v12_2.getSchema().setTargetNamespace(v37_1);
                                        }
                                        v12_2.getSchema().setElementFormDefault(org.apache.xmlbeans.impl.xb.xsdschema.FormChoice.QUALIFIED);
                                        v13_1.put(v37_1, v12_2);
                                        int v18 = (v17 + 1);
                                        v15_1.put(v12_2, org.apache.xmlbeans.impl.tool.FactorImports.commonFileFor(v16, v37_1, v17, v41));
                                        v17 = v18;
                                    }
                                    java.util.Iterator v33_2 = v43_1.keySet().iterator();
                                    while (v33_2.hasNext()) {
                                        org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument v20_5 = ((org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument) v33_2.next());
                                        String v45_0 = v20_5.getSchema().getTargetNamespace();
                                        if (v45_0 == null) {
                                            v45_0 = "";
                                        }
                                        org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument v12_1 = ((org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument) v13_1.get(v45_0));
                                        int v38 = 0;
                                        org.apache.xmlbeans.impl.xb.xsdschema.TopLevelComplexType[] v19_0 = v20_5.getSchema().getComplexTypeArray();
                                        int v35_0 = (v19_0.length - 1);
                                        while (v35_0 >= 0) {
                                            if (org.apache.xmlbeans.impl.tool.FactorImports.isDuplicate(v19_0[v35_0].getName(), v45_0, v26_1)) {
                                                if (org.apache.xmlbeans.impl.tool.FactorImports.isFirstDuplicate(v19_0[v35_0].getName(), v45_0, v46_1, v26_1)) {
                                                    v12_1.getSchema().addNewComplexType().set(v19_0[v35_0]);
                                                }
                                                v38 = 1;
                                                v20_5.getSchema().removeComplexType(v35_0);
                                            }
                                            v35_0--;
                                        }
                                        org.apache.xmlbeans.impl.xb.xsdschema.TopLevelSimpleType[] v44_0 = v20_5.getSchema().getSimpleTypeArray();
                                        int v35_1 = 0;
                                        while (v35_1 < v44_0.length) {
                                            if (org.apache.xmlbeans.impl.tool.FactorImports.isDuplicate(v44_0[v35_1].getName(), v45_0, v26_1)) {
                                                if (org.apache.xmlbeans.impl.tool.FactorImports.isFirstDuplicate(v44_0[v35_1].getName(), v45_0, v46_1, v26_1)) {
                                                    v12_1.getSchema().addNewSimpleType().set(v44_0[v35_1]);
                                                }
                                                v38 = 1;
                                                v20_5.getSchema().removeSimpleType(v35_1);
                                            }
                                            v35_1++;
                                        }
                                        org.apache.xmlbeans.impl.xb.xsdschema.TopLevelElement[] v28_0 = v20_5.getSchema().getElementArray();
                                        int v35_2 = 0;
                                        while (v35_2 < v28_0.length) {
                                            if (org.apache.xmlbeans.impl.tool.FactorImports.isDuplicate(v28_0[v35_2].getName(), v45_0, v23_1)) {
                                                if (org.apache.xmlbeans.impl.tool.FactorImports.isFirstDuplicate(v28_0[v35_2].getName(), v45_0, v29_1, v23_1)) {
                                                    v12_1.getSchema().addNewElement().set(v28_0[v35_2]);
                                                }
                                                v38 = 1;
                                                v20_5.getSchema().removeElement(v35_2);
                                            }
                                            v35_2++;
                                        }
                                        org.apache.xmlbeans.impl.xb.xsdschema.TopLevelAttribute[] v6_0 = v20_5.getSchema().getAttributeArray();
                                        int v35_3 = 0;
                                        while (v35_3 < v6_0.length) {
                                            if (org.apache.xmlbeans.impl.tool.FactorImports.isDuplicate(v6_0[v35_3].getName(), v45_0, v22_1)) {
                                                if (org.apache.xmlbeans.impl.tool.FactorImports.isFirstDuplicate(v6_0[v35_3].getName(), v45_0, v8_1, v22_1)) {
                                                    v12_1.getSchema().addNewElement().set(v6_0[v35_3]);
                                                }
                                                v38 = 1;
                                                v20_5.getSchema().removeElement(v35_3);
                                            }
                                            v35_3++;
                                        }
                                        org.apache.xmlbeans.impl.xb.xsdschema.NamedGroup[] v32_0 = v20_5.getSchema().getGroupArray();
                                        int v35_4 = 0;
                                        while (v35_4 < v32_0.length) {
                                            if (org.apache.xmlbeans.impl.tool.FactorImports.isDuplicate(v32_0[v35_4].getName(), v45_0, v24_1)) {
                                                if (org.apache.xmlbeans.impl.tool.FactorImports.isFirstDuplicate(v32_0[v35_4].getName(), v45_0, v36_1, v24_1)) {
                                                    v12_1.getSchema().addNewElement().set(v32_0[v35_4]);
                                                }
                                                v38 = 1;
                                                v20_5.getSchema().removeElement(v35_4);
                                            }
                                            v35_4++;
                                        }
                                        org.apache.xmlbeans.impl.xb.xsdschema.NamedAttributeGroup[] v5_0 = v20_5.getSchema().getAttributeGroupArray();
                                        int v35_5 = 0;
                                        while (v35_5 < v5_0.length) {
                                            if (org.apache.xmlbeans.impl.tool.FactorImports.isDuplicate(v5_0[v35_5].getName(), v45_0, v21_1)) {
                                                if (org.apache.xmlbeans.impl.tool.FactorImports.isFirstDuplicate(v5_0[v35_5].getName(), v45_0, v7_1, v21_1)) {
                                                    v12_1.getSchema().addNewElement().set(v5_0[v35_5]);
                                                }
                                                v38 = 1;
                                                v20_5.getSchema().removeElement(v35_5);
                                            }
                                            v35_5++;
                                        }
                                        if (v38 != 0) {
                                            org.apache.xmlbeans.impl.xb.xsdschema.IncludeDocument$Include v39 = v20_5.getSchema().addNewInclude();
                                            java.io.File v42_3 = org.apache.xmlbeans.impl.tool.FactorImports.outputFileFor(((java.io.File) v43_1.get(v20_5)), v10_1, v41);
                                            java.io.File v14_0 = v15_1.get(v12_1);
                                            if (v45_0 != null) {
                                                v39.setSchemaLocation(org.apache.xmlbeans.impl.tool.FactorImports.relativeURIFor(v42_3, ((java.io.File) v14_0)));
                                            }
                                        }
                                    }
                                    if ((v41.isDirectory()) || (v41.mkdirs())) {
                                        java.util.Iterator v33_3 = v43_1.keySet().iterator();
                                        while (v33_3.hasNext()) {
                                            org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument v20_3 = ((org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument) v33_3.next());
                                            java.io.File v34_1 = ((java.io.File) v43_1.get(v20_3));
                                            java.io.File v42_2 = org.apache.xmlbeans.impl.tool.FactorImports.outputFileFor(v34_1, v10_1, v41);
                                            if (v42_2 != null) {
                                                v20_3.save(v42_2, new org.apache.xmlbeans.XmlOptions().setSavePrettyPrint().setSaveAggresiveNamespaces());
                                            } else {
                                                System.out.println(new StringBuffer().append("Cannot copy ").append(v34_1).toString());
                                            }
                                        }
                                        java.util.Iterator v33_4 = v15_1.keySet().iterator();
                                        while (v33_4.hasNext()) {
                                            org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument v20_1 = ((org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument) v33_4.next());
                                            v20_1.save(((java.io.File) v15_1.get(v20_1)), new org.apache.xmlbeans.XmlOptions().setSavePrettyPrint().setSaveAggresiveNamespaces());
                                        }
                                    } else {
                                        System.err.println(new StringBuffer().append("Unable to makedir ").append(v41).toString());
                                        System.exit(1);
                                    }
                                } else {
                                    System.out.println("No duplicate names found.");
                                    System.exit(0);
                                }
                            } else {
                                System.out.println("No schema files found.");
                                System.exit(0);
                            }
                        } else {
                            System.exit(0);
                        }
                    } else {
                        org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                        System.exit(0);
                    }
                } else {
                    org.apache.xmlbeans.impl.tool.CommandLine.printLicense();
                    System.exit(0);
                }
            } else {
                java.util.Iterator v33_5 = 0;
                while (v33_5 < v9.length) {
                    System.out.println(new StringBuffer().append("Unrecognized option: ").append(v9[v33_5]).toString());
                    v33_5++;
                }
                org.apache.xmlbeans.impl.tool.FactorImports.printUsage();
                System.exit(0);
            }
        } else {
            org.apache.xmlbeans.impl.tool.FactorImports.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.FactorImports.commonFileFor() calling method java.io.File.<init>()


    private static java.io.File commonFileFor(String p4, String p5, int p6, java.io.File p7)
    {
        String v1 = p4;
        if (p6 > 0) {
            int v0 = p4.lastIndexOf(46);
            if (v0 < 0) {
                v0 = p4.length();
            }
            v1 = new StringBuffer().append(p4.substring(0, v0)).append(p6).append(p4.substring(v0)).toString();
        }
        return new java.io.File(p7, v1);
    }

Method org.apache.xmlbeans.impl.tool.Diff.main() calling method java.io.File.<init>()


    public static void main(String[] p12)
    {
        if (p12.length == 2) {
            java.io.File v0_1 = new java.io.File(p12[0]);
            if (v0_1.exists()) {
                java.io.File v1_1 = new java.io.File(p12[1]);
                if (v1_1.exists()) {
                    java.util.ArrayList v6_1 = new java.util.ArrayList();
                    if (!v0_1.isDirectory()) {
                        if (!v1_1.isDirectory()) {
                            try {
                                org.apache.xmlbeans.impl.tool.Diff.jarsAsTypeSystems(new java.util.jar.JarFile(v0_1), new java.util.jar.JarFile(v1_1), v6_1);
                            } catch (java.io.IOException v3) {
                                v3.printStackTrace();
                            }
                        } else {
                            System.out.println("Both parameters have to be jar files if the first parameter is a jar file.");
                            return;
                        }
                    } else {
                        if (v1_1.isDirectory()) {
                            org.apache.xmlbeans.impl.tool.Diff.dirsAsTypeSystems(v0_1, v1_1, v6_1);
                        } else {
                            System.out.println("Both parameters have to be directories if the first parameter is a directory.");
                            return;
                        }
                    }
                    if (v6_1.size() >= 1) {
                        System.out.println("Differences:");
                        int v2 = 0;
                        while (v2 < v6_1.size()) {
                            System.out.println(v6_1.get(v2).toString());
                            v2++;
                        }
                    } else {
                        System.out.println("No differences encountered.");
                    }
                } else {
                    System.out.println(new StringBuffer().append("File \"").append(p12[1]).append("\" not found.").toString());
                }
            } else {
                System.out.println(new StringBuffer().append("File \"").append(p12[0]).append("\" not found.").toString());
            }
        } else {
            System.out.println("Usage: diff <jarname1> <jarname2> to compare two jars");
            System.out.println("  or   diff <dirname1> <dirname2> to compare two dirs");
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.Diff.dirsAsTypeSystems() calling method java.io.File.<init>()


    public static void dirsAsTypeSystems(java.io.File p15, java.io.File p16, java.util.List p17)
    {
        if ((org.apache.xmlbeans.impl.tool.Diff.$assertionsDisabled) || (p15.isDirectory())) {
            if ((org.apache.xmlbeans.impl.tool.Diff.$assertionsDisabled) || (p16.isDirectory())) {
                int v10_1 = new java.io.File(p15, new StringBuffer().append("schema").append(org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.METADATA_PACKAGE_GEN).append("/system").toString());
                int v11_0 = new java.io.File(p16, new StringBuffer().append("schema").append(org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.METADATA_PACKAGE_GEN).append("/system").toString());
                if ((!v10_1.exists()) || (!v11_0.exists())) {
                    if (!v10_1.exists()) {
                        v10_1 = 0;
                    }
                    if (v11_0.exists()) {
                        if ((v10_1 != 0) || (v11_0 != 0)) {
                            if ((v10_1 != 0) && (v11_0 != 0)) {
                                int v15_1 = v10_1;
                                int v16_1 = v11_0;
                                boolean v3 = org.apache.xmlbeans.impl.tool.Diff.isDiffIndex();
                                org.apache.xmlbeans.impl.tool.Diff$XsbFilenameFilter v12_1 = new org.apache.xmlbeans.impl.tool.Diff$XsbFilenameFilter(0);
                                java.io.File[] v4_0 = v15_1.listFiles(v12_1);
                                java.io.File[] v5_0 = v16_1.listFiles(v12_1);
                                org.apache.xmlbeans.impl.tool.Diff$FileNameComparator v1_1 = new org.apache.xmlbeans.impl.tool.Diff$FileNameComparator(0);
                                java.util.Arrays.sort(v4_0, v1_1);
                                java.util.Arrays.sort(v5_0, v1_1);
                                int v6 = 0;
                                int v7 = 0;
                                while ((v6 < v4_0.length) && (v7 < v5_0.length)) {
                                    String v8 = v4_0[v6].getName();
                                    String v9 = v5_0[v7].getName();
                                    int v2 = v8.compareTo(v9);
                                    if (v2 != 0) {
                                        if (v2 >= 0) {
                                            if (v2 > 0) {
                                                p17.add(new StringBuffer().append("Dir \"").append(v16_1.getName()).append("\" contains an extra file: \"").append(v9).append("\"").toString());
                                                v7++;
                                            }
                                        } else {
                                            p17.add(new StringBuffer().append("Dir \"").append(v15_1.getName()).append("\" contains an extra file: \"").append(v8).append("\"").toString());
                                            v6++;
                                        }
                                    } else {
                                        if ((v3) || (!v4_0[v6].getName().equals("index.xsb"))) {
                                            org.apache.xmlbeans.impl.tool.Diff.filesAsXsb(v4_0[v6], v5_0[v7], p17);
                                        }
                                        v6++;
                                        v7++;
                                    }
                                }
                                while (v6 < v4_0.length) {
                                    p17.add(new StringBuffer().append("Dir \"").append(v15_1.getName()).append("\" contains an extra file: \"").append(v4_0[v6].getName()).append("\"").toString());
                                    v6++;
                                }
                                while (v7 < v5_0.length) {
                                    p17.add(new StringBuffer().append("Dir \"").append(v16_1.getName()).append("\" contains an extra file: \"").append(v5_0[v7].getName()).append("\"").toString());
                                    v7++;
                                }
                            } else {
                                if (v10_1 == 0) {
                                    p17.add(new StringBuffer().append("No typesystems found in dir \"").append(p15).append("\"").toString());
                                }
                                if (v11_0 == 0) {
                                    p17.add(new StringBuffer().append("No typesystems found in dir \"").append(p16).append("\"").toString());
                                }
                            }
                        }
                    } else {
                        v11_0 = 0;
                    }
                } else {
                    java.io.File[] v4_1 = v10_1.listFiles();
                    java.io.File[] v5_1 = v11_0.listFiles();
                    if ((v4_1.length != 1) || (v5_1.length != 1)) {
                        if (v4_1.length == 0) {
                            v10_1 = 0;
                        }
                        if (v5_1.length == 0) {
                            v11_0 = 0;
                        }
                        if (v4_1.length <= 1) {
                            if (v5_1.length <= 1) {
                            } else {
                                p17.add(new StringBuffer().append("More than one typesystem found in dir \"").append(p16.getName()).append("\"").toString());
                            }
                        } else {
                            p17.add(new StringBuffer().append("More than one typesystem found in dir \"").append(p15.getName()).append("\"").toString());
                        }
                    } else {
                        v10_1 = v4_1[0];
                        v11_0 = v5_1[0];
                    }
                }
                return;
            } else {
                throw new AssertionError("Parameters must be directories");
            }
        } else {
            throw new AssertionError("Parameters must be directories");
        }
    }

Method org.apache.xmlbeans.impl.tool.CommandLine.getFileList() calling method java.io.File.<init>()


    private java.util.List getFileList()
    {
        if (this._files == null) {
            String[] v0 = this.args();
            java.io.File[] v2 = new java.io.File[v0.length];
            int v4 = 0;
            int v3 = 0;
            while (v3 < v0.length) {
                v2[v3] = new java.io.File(v0[v3]);
                if ((v4 != 0) || (this._baseDir != null)) {
                    java.net.URI v1 = v2[v3].toURI();
                    if ((this._baseDir != null) && (this._baseDir.toURI().relativize(v1).equals(v1))) {
                        this._baseDir = 0;
                        v4 = 1;
                    }
                } else {
                    if (!v2[v3].isDirectory()) {
                        this._baseDir = v2[v3].getParentFile();
                    } else {
                        this._baseDir = v2[v3];
                    }
                }
                v3++;
            }
            this._files = java.util.Collections.unmodifiableList(org.apache.xmlbeans.impl.tool.CommandLine.collectFiles(v2));
        }
        return this._files;
    }

Method org.apache.xmlbeans.impl.tool.CodeGenUtil.systemClasspath() calling method java.io.File.<init>()


    public static java.io.File[] systemClasspath()
    {
        java.util.ArrayList v0_1 = new java.util.ArrayList();
        String[] v2 = org.apache.xmlbeans.SystemProperties.getProperty("java.class.path").split(java.io.File.pathSeparator);
        int v1 = 0;
        while (v1 < v2.length) {
            v0_1.add(new java.io.File(v2[v1]));
            v1++;
        }
        java.io.File[] v3_1 = new java.io.File[v0_1.size()];
        return ((java.io.File[]) v0_1.toArray(v3_1));
    }

Method org.apache.xmlbeans.impl.jam.JamServiceFactory.main() calling method java.io.File.<init>()


    public static void main(String[] p10)
    {
        try {
            org.apache.xmlbeans.impl.jam.JamServiceParams v5 = org.apache.xmlbeans.impl.jam.JamServiceFactory.getInstance().createServiceParams();
            org.apache.xmlbeans.impl.jam.JamClassIterator v1_1 = 0;
        } catch (Exception v0) {
            v0.printStackTrace();
            System.out.flush();
            System.err.flush();
            return;
        }
        while (v1_1 < p10.length) {
            org.apache.xmlbeans.impl.jam.JClass v6_6 = new java.io.File[1];
            v6_6[0] = new java.io.File(".");
            v5.includeSourcePattern(v6_6, p10[v1_1]);
            v1_1++;
        }
        org.apache.xmlbeans.impl.jam.JamService v4 = org.apache.xmlbeans.impl.jam.JamServiceFactory.getInstance().createService(v5);
        org.apache.xmlbeans.impl.jam.internal.JamPrinter v2 = org.apache.xmlbeans.impl.jam.internal.JamPrinter.newInstance();
        java.io.PrintWriter v3_1 = new java.io.PrintWriter(System.out);
        org.apache.xmlbeans.impl.jam.JamClassIterator v1_0 = v4.getClasses();
        while (v1_0.hasNext()) {
            v3_1.println("-------- ");
            v2.print(v1_0.nextClass(), v3_1);
        }
        v3_1.flush();
        System.out.flush();
        System.err.flush();
        return;
    }

Method org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd.main() calling method java.io.File.<init>()


    public static void main(String[] p23)
    {
        if ((p23 != null) && (p23.length != 0)) {
            java.util.HashSet v7_1 = new java.util.HashSet();
            v7_1.add("h");
            v7_1.add("help");
            v7_1.add("usage");
            v7_1.add("license");
            v7_1.add("version");
            v7_1.add("verbose");
            v7_1.add("validate");
            java.util.HashSet v11_1 = new java.util.HashSet();
            v11_1.add("design");
            v11_1.add("simple-content-types");
            v11_1.add("enumerations");
            v11_1.add("outDir");
            v11_1.add("outPrefix");
            org.apache.xmlbeans.impl.tool.CommandLine v3_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p23, v7_1, v11_1);
            org.apache.xmlbeans.impl.inst2xsd.Inst2XsdOptions v9_1 = new org.apache.xmlbeans.impl.inst2xsd.Inst2XsdOptions();
            if (v3_1.getOpt("license") == null) {
                if (v3_1.getOpt("version") == null) {
                    if ((v3_1.getOpt("h") == null) && ((v3_1.getOpt("help") == null) && (v3_1.getOpt("usage") == null))) {
                        String[] v2 = v3_1.getBadOpts();
                        if (v2.length <= 0) {
                            String v4 = v3_1.getOpt("design");
                            if (v4 != null) {
                                if (!v4.equals("vb")) {
                                    if (!v4.equals("rd")) {
                                        if (!v4.equals("ss")) {
                                            org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd.printHelp();
                                            System.exit(0);
                                            return;
                                        } else {
                                            v9_1.setDesign(2);
                                        }
                                    } else {
                                        v9_1.setDesign(1);
                                    }
                                } else {
                                    v9_1.setDesign(3);
                                }
                            }
                            String v16 = v3_1.getOpt("simple-content-types");
                            if (v16 != null) {
                                if (!v16.equals("smart")) {
                                    if (!v16.equals("string")) {
                                        org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd.printHelp();
                                        System.exit(0);
                                        return;
                                    } else {
                                        v9_1.setSimpleContentTypes(2);
                                    }
                                } else {
                                    v9_1.setSimpleContentTypes(1);
                                }
                            }
                            String v6 = v3_1.getOpt("enumerations");
                            if (v6 != null) {
                                if (!v6.equals("never")) {
                                    try {
                                        v9_1.setUseEnumerations(Integer.parseInt(v6));
                                    } catch (java.io.IOException v5) {
                                        org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd.printHelp();
                                        System.exit(0);
                                        return;
                                    }
                                } else {
                                    v9_1.setUseEnumerations(1);
                                }
                            }
                            java.io.File v20_23;
                            if (v3_1.getOpt("outDir") != null) {
                                v20_23 = v3_1.getOpt("outDir");
                            } else {
                                v20_23 = ".";
                            }
                            java.io.File v12_1 = new java.io.File(v20_23);
                            String v13 = v3_1.getOpt("outPrefix");
                            if (v13 == null) {
                                v13 = "schema";
                            }
                            java.io.File v20_27;
                            if (v3_1.getOpt("verbose") == null) {
                                v20_27 = 0;
                            } else {
                                v20_27 = 1;
                            }
                            int v17;
                            v9_1.setVerbose(v20_27);
                            if (v3_1.getOpt("validate") == null) {
                                v17 = 0;
                            } else {
                                v17 = 1;
                            }
                            java.io.File[] v18 = v3_1.filesEndingWith(".xml");
                            org.apache.xmlbeans.XmlObject[] v0_28 = new org.apache.xmlbeans.XmlObject[v18.length];
                            org.apache.xmlbeans.XmlObject[] v19 = v0_28;
                            if (v19.length != 0) {
                                int v8_0 = 0;
                                try {
                                    while (v8_0 < v18.length) {
                                        v19[v8_0] = org.apache.xmlbeans.XmlObject$Factory.parse(v18[v8_0]);
                                        v8_0++;
                                    }
                                } catch (java.io.IOException v5_1) {
                                    System.err.println(new StringBuffer().append("Invalid xml file: \'").append(v18[v8_0].getName()).append("\'. ").append(v5_1.getMessage()).toString());
                                } catch (java.io.IOException v5_0) {
                                    System.err.println(new StringBuffer().append("Could not read file: \'").append(v18[v8_0].getName()).append("\'. ").append(v5_0.getMessage()).toString());
                                }
                                org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument[] v15 = org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd.inst2xsd(v19, v9_1);
                                int v8_1 = 0;
                                try {
                                    while (v8_1 < v15.length) {
                                        org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument v14 = v15[v8_1];
                                        if (v9_1.isVerbose()) {
                                            System.out.println(new StringBuffer().append("----------------------\n\n").append(v14).toString());
                                        }
                                        java.io.File v20_45 = new java.io.File;
                                        v20_45(v12_1, new StringBuffer().append(v13).append(v8_1).append(".xsd").toString());
                                        v14.save(v20_45, new org.apache.xmlbeans.XmlOptions().setSavePrettyPrint());
                                        v8_1++;
                                    }
                                } catch (java.io.IOException v5_2) {
                                    System.err.println(new StringBuffer().append("Could not write file: \'").append(v12_1).append(java.io.File.pathSeparator).append(v13).append(v8_1).append(".xsd").append("\'. ").append(v5_2.getMessage()).toString());
                                }
                                if (v17 != 0) {
                                    org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd.validateInstances(v15, v19);
                                }
                            } else {
                                org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd.printHelp();
                                System.exit(0);
                            }
                        } else {
                            int v8_2 = 0;
                            while (v8_2 < v2.length) {
                                System.out.println(new StringBuffer().append("Unrecognized option: ").append(v2[v8_2]).toString());
                                v8_2++;
                            }
                            org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd.printHelp();
                            System.exit(0);
                        }
                    } else {
                        org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd.printHelp();
                        System.exit(0);
                    }
                } else {
                    org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                    System.exit(0);
                }
            } else {
                org.apache.xmlbeans.impl.tool.CommandLine.printLicense();
                System.exit(0);
            }
        } else {
            org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd.printHelp();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.common.JarHelper.unjar() calling method java.io.File.<init>()


    public void unjar(java.io.InputStream p13, java.io.File p14)
    {
        java.util.jar.JarInputStream v7_1 = new java.util.jar.JarInputStream(p13);
        while(true) {
            java.util.jar.JarEntry v5 = v7_1.getNextJarEntry();
            if (v5 == null) {
                break;
            }
            if (!v5.isDirectory()) {
                byte[] v1 = new byte[2156];
                java.io.File v3_1 = new java.io.File(p14, v5.getName());
                if (this.mVerbose) {
                    System.out.println(new StringBuffer().append("unjarring ").append(v3_1).append(" from ").append(v5.getName()).toString());
                }
                java.io.BufferedOutputStream v2_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_1), 2156);
                while(true) {
                    int v0 = v7_1.read(v1, 0, 2156);
                    if (v0 == -1) {
                        break;
                    }
                    v2_1.write(v1, 0, v0);
                }
                v2_1.flush();
                v2_1.close();
                if (v5.getTime() != -1) {
                    v3_1.setLastModified(v5.getTime());
                }
            } else {
                java.io.File v4_1 = new java.io.File(p14, v5.getName());
                v4_1.mkdir();
                if (v5.getTime() == -1) {
                } else {
                    v4_1.setLastModified(v5.getTime());
                }
            }
        }
        v7_1.close();
        return;
    }

Method org.apache.xmlbeans.impl.common.JarHelper.main() calling method java.io.File.<init>()


    public static void main(String[] p6)
    {
        if (p6.length >= 2) {
            org.apache.xmlbeans.impl.common.JarHelper v2_1 = new org.apache.xmlbeans.impl.common.JarHelper();
            v2_1.mVerbose = 1;
            v2_1.jarDir(new java.io.File(p6[1]), new java.io.File(p6[0]));
        } else {
            System.err.println("Usage: JarHelper jarname.jar directory");
        }
        return;
    }

Method org.apache.xmlbeans.impl.common.JarHelper.jarDir() calling method java.io.File.<init>()


    private void jarDir(java.io.File p12, java.util.jar.JarOutputStream p13, String p14)
    {
        if (this.mVerbose) {
            System.out.println(new StringBuffer().append("checking ").append(p12).toString());
        }
        if (!p12.isDirectory()) {
            if (!p12.getCanonicalPath().equals(this.mDestJarName)) {
                if (this.mVerbose) {
                    System.out.println(new StringBuffer().append("adding ").append(p12.getPath()).toString());
                }
                java.io.FileInputStream v3_1 = new java.io.FileInputStream(p12);
                try {
                    java.util.jar.JarEntry v1_1 = new java.util.jar.JarEntry(new StringBuffer().append(p14).append(p12.getName()).toString());
                    v1_1.setTime(p12.lastModified());
                    p13.putNextEntry(v1_1);
                } catch (java.io.PrintStream v8_25) {
                    v3_1.close();
                    throw v8_25;
                } catch (java.io.IOException v5) {
                    throw v5;
                }
                do {
                    java.io.PrintStream v8_22 = v3_1.read(this.mBuffer);
                    this.mByteCount = v8_22;
                    if (v8_22 == -1) {
                        p13.flush();
                        p13.closeEntry();
                        v3_1.close();
                    } else {
                        p13.write(this.mBuffer, 0, this.mByteCount);
                    }
                } while(!this.mVerbose);
                System.out.println(new StringBuffer().append("wrote ").append(this.mByteCount).append(" bytes").toString());
            } else {
                if (this.mVerbose) {
                    System.out.println(new StringBuffer().append("skipping ").append(p12.getPath()).toString());
                }
            }
        } else {
            String v7;
            String[] v0 = p12.list();
            if (p14 != null) {
                v7 = new StringBuffer().append(p14).append(p12.getName()).append(47).toString();
            } else {
                v7 = "";
            }
            if (p14 != null) {
                java.util.jar.JarEntry v6_1 = new java.util.jar.JarEntry(v7);
                v6_1.setTime(p12.lastModified());
                p13.putNextEntry(v6_1);
                p13.flush();
                p13.closeEntry();
            }
            int v4 = 0;
            while (v4 < v0.length) {
                this.jarDir(new java.io.File(p12, v0[v4]), p13, v7);
                v4++;
            }
        }
        return;
    }

Method org.apache.xmlbeans.impl.common.IOUtil.createDir() calling method java.io.File.<init>()


    public static java.io.File createDir(java.io.File p5, String p6)
    {
        java.io.File v1_1;
        if (p6 != null) {
            v1_1 = new java.io.File(p5, p6);
        } else {
            v1_1 = p5;
        }
        if (((!v1_1.exists()) || (!v1_1.isDirectory())) && (!v1_1.mkdirs())) {
            int v0 = 0;
        } else {
            v0 = 1;
        }
        if ((org.apache.xmlbeans.impl.common.IOUtil.$assertionsDisabled) || (v0 != 0)) {
            return v1_1;
        } else {
            throw new AssertionError(new StringBuffer().append("Could not create ").append(v1_1.getAbsolutePath()).toString());
        }
    }

Method org.apache.xmlbeans.impl.common.IOUtil.copyCompletely() calling method java.io.File.<init>()


    public static void copyCompletely(java.net.URI p9, java.net.URI p10)
    {
        java.io.InputStream v3 = 0;
        try {
            java.io.File v2_1 = new java.io.File(p9);
        } catch (java.io.FileOutputStream v6) {
            java.io.File v5_1 = new java.io.File(p10);
            v5_1.getParentFile().mkdirs();
            if (v3 == null) {
                v3 = p9.toURL().openStream();
            }
            org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v3, new java.io.FileOutputStream(v5_1));
            return;
        } catch (IllegalArgumentException v1) {
            throw new java.io.IOException(new StringBuffer().append("Cannot copy to ").append(p10).toString());
        }
        if (!v2_1.exists()) {
        } else {
            v3 = new java.io.FileInputStream(v2_1);
        }
    }

Method org.apache.xmlbeans.XmlError.formattedFileName() calling method java.io.File.<init>()


    protected static String formattedFileName(String p5, java.net.URI p6)
    {
        int v3_10;
        if (p5 != null) {
            try {
                java.net.URI v1;
                java.net.URI v2_1 = new java.net.URI(p5);
                try {
                    if (v2_1.isAbsolute()) {
                        v1 = v2_1;
                        if (v1 == null) {
                            v1 = new java.io.File(p5).toURI();
                        }
                        if (p6 != null) {
                            v1 = p6.relativize(v1);
                        }
                        if (!v1.isAbsolute()) {
                            if ((p6 != null) && ((p6.isAbsolute()) && (p6.getScheme().compareToIgnoreCase("file") == 0))) {
                                try {
                                    v3_10 = new java.io.File(v1).toString();
                                } catch (int v3) {
                                }
                            }
                        } else {
                            if (v1.getScheme().compareToIgnoreCase("file") == 0) {
                            }
                        }
                        v3_10 = v1.toString();
                    } else {
                        v1 = 0;
                    }
                } catch (java.net.URISyntaxException v0) {
                    v1 = 0;
                }
            } catch (java.net.URISyntaxException v0) {
            }
        } else {
            v3_10 = 0;
        }
        return v3_10;
    }

Method org.apache.xml.security.utils.JavaUtils.writeBytesToFilename() calling method java.io.File.<init>()


    public static void writeBytesToFilename(String p2, byte[] p3)
    {
        try {
            if ((p2 == null) || (p3 == null)) {
                org.apache.xml.security.utils.JavaUtils.log.debug("writeBytesToFilename got null byte[] pointed");
            } else {
                java.io.FileOutputStream v1_2 = new java.io.FileOutputStream(new java.io.File(p2));
                v1_2.write(p3);
                v1_2.close();
            }
        } catch (Exception v0) {
        }
        return;
    }

Method org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.readCertsFromHarddrive() calling method java.io.File.<init>()


    private void readCertsFromHarddrive()
    {
        java.io.File v4_1 = new java.io.File(this._merlinsCertificatesDir);
        java.util.ArrayList v5_1 = new java.util.ArrayList();
        int v2_2 = v4_1.list();
        String v0_10 = 0;
        while (v0_10 < v2_2.length) {
            if (v2_2[v0_10].endsWith(".crt")) {
                v5_1.add(v2_2[v0_10]);
            }
            v0_10++;
        }
        try {
            java.security.cert.CertificateFactory v6_0 = java.security.cert.CertificateFactory.getInstance("X.509");
        } catch (String v0_9) {
            throw new org.apache.xml.security.keys.storage.StorageResolverException("empty", v0_9);
        }
        if (v6_0 != null) {
            int v2_0 = 0;
            while (v2_0 < v5_1.size()) {
                StringBuffer v7_7 = new StringBuffer().append(v4_1.getAbsolutePath()).append(java.io.File.separator).append(((String) v5_1.get(v2_0))).toString();
                try {
                    String v8_4 = new java.io.FileInputStream(new java.io.File(v7_7));
                    String v0_22 = ((java.security.cert.X509Certificate) v6_0.generateCertificate(v8_4));
                    v8_4.close();
                    v0_22.checkValidity();
                    this._certs.add(v0_22);
                    String v0_2 = v0_22.getSubjectDN().getName();
                    org.apache.commons.logging.Log v3_0 = 1;
                } catch (String v0_3) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_3);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_0) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_0);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_26) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_26);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_25) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_25);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_24) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_24);
                    v0_2 = 1;
                    v3_0 = 0;
                }
                if ((v3_0 != null) && (org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.isDebugEnabled())) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Added certificate: ").append(v0_2).toString());
                }
                v2_0++;
            }
            return;
        } else {
            throw new org.apache.xml.security.keys.storage.StorageResolverException("empty");
        }
    }

Method org.apache.poi.xssf.dev.XSSFDump.dump() calling method java.io.File.<init>()


    public static void dump(java.util.zip.ZipFile p17)
    {
        String v13 = p17.getName();
        java.io.File v10_1 = new java.io.File(v13.substring(0, v13.lastIndexOf(46)));
        v10_1.mkdir();
        java.util.Enumeration v3 = p17.entries();
        while (v3.hasMoreElements()) {
            java.util.zip.ZipEntry v4_1 = ((java.util.zip.ZipEntry) v3.nextElement());
            String v7 = v4_1.getName();
            int v6 = v7.lastIndexOf(47);
            if (v6 != -1) {
                new java.io.File(v10_1, v7.substring(0, v6)).mkdirs();
            }
            java.io.FileOutputStream v9_1 = new java.io.FileOutputStream(new java.io.File(v10_1, v4_1.getName()));
            if ((!v4_1.getName().endsWith(".xml")) && ((!v4_1.getName().endsWith(".vml")) && (!v4_1.getName().endsWith(".rels")))) {
                org.apache.poi.xssf.dev.XSSFDump.dump(p17.getInputStream(v4_1), v9_1);
            } else {
                try {
                    org.apache.xmlbeans.XmlObject v12 = org.apache.xmlbeans.XmlObject$Factory.parse(p17.getInputStream(v4_1));
                    org.apache.xmlbeans.XmlOptions v8_1 = new org.apache.xmlbeans.XmlOptions();
                    v8_1.setSavePrettyPrint();
                    v12.save(v9_1, v8_1);
                } catch (Exception v2) {
                    System.err.println(new StringBuilder().append("Failed to parse ").append(v4_1.getName()).append(", dumping raw content").toString());
                    org.apache.poi.xssf.dev.XSSFDump.dump(p17.getInputStream(v4_1), v9_1);
                }
            }
            v9_1.close();
        }
        return;
    }

Method org.apache.poi.openxml4j.opc.internal.ZipHelper.openZipFile() calling method java.io.File.<init>()


    public static java.util.zip.ZipFile openZipFile(String p2)
    {
        java.util.zip.ZipFile v1_2;
        java.io.File v0_1 = new java.io.File(p2);
        if (v0_1.exists()) {
            v1_2 = new java.util.zip.ZipFile(v0_1);
        } else {
            v1_2 = 0;
        }
        return v1_2;
    }

Method org.apache.poi.openxml4j.opc.internal.FileHelper.getDirectory() calling method java.io.File.<init>()


    public static java.io.File getDirectory(java.io.File p6)
    {
        java.io.File v4_2;
        if (p6 == null) {
            v4_2 = 0;
        } else {
            String v3 = p6.getPath();
            int v2 = v3.length();
            do {
                v2--;
                if (v2 < 0) {
                } else {
                }
            } while(v3.charAt(v2) != java.io.File.separatorChar);
            v4_2 = new java.io.File(v3.substring(0, v2));
        }
        return v4_2;
    }

Method org.apache.poi.openxml4j.opc.ZipPackage.closeImpl() calling method java.io.File.<init>()


    protected void closeImpl()
    {
        this.flush();
        if ((this.originalPackagePath != null) && (!"".equals(this.originalPackagePath))) {
            java.io.File v0_0 = new java.io.File(this.originalPackagePath);
            if (!v0_0.exists()) {
                throw new org.apache.poi.openxml4j.exceptions.InvalidOperationException("Can\'t close a package not previously open with the open() method !");
            } else {
                java.io.File v1 = java.io.File.createTempFile(this.generateTempFileName(org.apache.poi.openxml4j.opc.internal.FileHelper.getDirectory(v0_0)), ".tmp");
                try {
                    this.save(v1);
                    this.zipArchive.close();
                    org.apache.poi.openxml4j.opc.internal.FileHelper.copyFile(v1, v0_0);
                } catch (org.apache.poi.util.POILogger v2_9) {
                    if (!v1.delete()) {
                        org.apache.poi.openxml4j.opc.ZipPackage.logger.log(5, new StringBuilder().append("The temporary file: \'").append(v0_0.getAbsolutePath()).append("\' cannot be deleted ! Make sure that no other application use it.").toString());
                    }
                    throw v2_9;
                }
                if (!v1.delete()) {
                    org.apache.poi.openxml4j.opc.ZipPackage.logger.log(5, new StringBuilder().append("The temporary file: \'").append(v0_0.getAbsolutePath()).append("\' cannot be deleted ! Make sure that no other application use it.").toString());
                }
            }
        }
        return;
    }

Method org.apache.poi.openxml4j.opc.ZipPackage.generateTempFileName() calling method java.io.File.<init>()


    private declared_synchronized String generateTempFileName(java.io.File p5)
    {
        try {
            do {
                java.io.File v0_1 = new java.io.File(new StringBuilder().append(p5.getAbsoluteFile()).append(java.io.File.separator).append("OpenXML4J").append(System.nanoTime()).toString());
            } while(v0_1.exists());
            return org.apache.poi.openxml4j.opc.internal.FileHelper.getFilename(v0_1.getAbsoluteFile());
        } catch (String v1_6) {
            throw v1_6;
        }
        if (!v0_1.exists()) {
        }
        return org.apache.poi.openxml4j.opc.internal.FileHelper.getFilename(v0_1.getAbsoluteFile());
    }

Method org.apache.poi.openxml4j.opc.OPCPackage.close() calling method java.io.File.<init>()


    public void close()
    {
        if (this.packageAccess != org.apache.poi.openxml4j.opc.PackageAccess.READ) {
            java.util.concurrent.locks.ReentrantReadWriteLock v0_1 = new java.util.concurrent.locks.ReentrantReadWriteLock();
            try {
                v0_1.writeLock().lock();
            } catch (boolean v2_10) {
                v0_1.writeLock().unlock();
                throw v2_10;
            }
            if ((this.originalPackagePath == null) || ("".equals(this.originalPackagePath.trim()))) {
                if (this.output != null) {
                    this.save(this.output);
                    this.output.close();
                }
            } else {
                java.io.File v1_1 = new java.io.File(this.originalPackagePath);
                if ((v1_1.exists()) && (this.originalPackagePath.equalsIgnoreCase(v1_1.getAbsolutePath()))) {
                    this.closeImpl();
                } else {
                    this.save(v1_1);
                }
            }
            v0_1.writeLock().unlock();
            this.contentTypeManager.clearAll();
        } else {
            org.apache.poi.openxml4j.opc.OPCPackage.logger.log(5, "The close() method is intended to SAVE a package. This package is open in READ ONLY mode, use the revert() method instead !");
            this.revert();
        }
        return;
    }

Method org.apache.poi.openxml4j.opc.OPCPackage.open() calling method java.io.File.<init>()


    public static org.apache.poi.openxml4j.opc.OPCPackage open(String p4, org.apache.poi.openxml4j.opc.PackageAccess p5)
    {
        if ((p4 != null) && (!"".equals(p4.trim()))) {
            java.io.File v0_1 = new java.io.File(p4);
            if ((!v0_1.exists()) || (!v0_1.isDirectory())) {
                org.apache.poi.openxml4j.opc.ZipPackage v1_1 = new org.apache.poi.openxml4j.opc.ZipPackage(p4, p5);
                if ((v1_1.partList == null) && (p5 != org.apache.poi.openxml4j.opc.PackageAccess.WRITE)) {
                    v1_1.getParts();
                }
                v1_1.originalPackagePath = new java.io.File(p4).getAbsolutePath();
                return v1_1;
            } else {
                throw new IllegalArgumentException("path must not be a directory");
            }
        } else {
            throw new IllegalArgumentException("\'path\' must be given");
        }
    }

Method org.apache.poi.hssf.usermodel.StaticFontMetrics.getFontDetails() calling method java.io.File.<init>()


    public static org.apache.poi.hssf.usermodel.FontDetails getFontDetails(java.awt.Font p11)
    {
        if (org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps == null) {
            java.io.FileInputStream v5 = 0;
            try {
                org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps = new java.util.Properties();
                try {
                    String v7 = System.getProperty("font.metrics.filename");
                } catch (java.io.IOException v8) {
                }
                if (v7 == null) {
                    v5 = org.apache.poi.hssf.usermodel.FontDetails.getResourceAsStream("/font_metrics.properties");
                    if (v5 == null) {
                        throw new java.io.FileNotFoundException("font_metrics.properties not found in classpath");
                    }
                } else {
                    java.io.File v1_1 = new java.io.File(v7);
                    if (v1_1.exists()) {
                        v5 = new java.io.FileInputStream(v1_1);
                    } else {
                        throw new java.io.FileNotFoundException(new StringBuilder().append("font_metrics.properties not found at path ").append(v1_1.getAbsolutePath()).toString());
                    }
                }
                org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps.load(v5);
                if (v5 != null) {
                    try {
                        v5.close();
                    } catch (java.io.IOException v8) {
                    }
                }
            } catch (java.io.IOException v0) {
                throw new RuntimeException(new StringBuilder().append("Could not load font metrics: ").append(v0.getMessage()).toString());
            } catch (java.io.IOException v8_15) {
                if (v5 != null) {
                    try {
                        v5.close();
                    } catch (String v9) {
                    }
                }
                throw v8_15;
            }
        }
        String v3 = p11.getName();
        String v4 = "";
        if (p11.isPlain()) {
            v4 = new StringBuilder().append("").append("plain").toString();
        }
        if (p11.isBold()) {
            v4 = new StringBuilder().append(v4).append("bold").toString();
        }
        if (p11.isItalic()) {
            v4 = new StringBuilder().append(v4).append("italic").toString();
        }
        if ((org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps.get(org.apache.poi.hssf.usermodel.FontDetails.buildFontHeightProperty(v3)) == null) && (org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps.get(org.apache.poi.hssf.usermodel.FontDetails.buildFontHeightProperty(new StringBuilder().append(v3).append(".").append(v4).toString())) != null)) {
            v3 = new StringBuilder().append(v3).append(".").append(v4).toString();
        }
        org.apache.poi.hssf.usermodel.FontDetails v2;
        if (org.apache.poi.hssf.usermodel.StaticFontMetrics.fontDetailsMap.get(v3) != null) {
            v2 = ((org.apache.poi.hssf.usermodel.FontDetails) org.apache.poi.hssf.usermodel.StaticFontMetrics.fontDetailsMap.get(v3));
        } else {
            v2 = org.apache.poi.hssf.usermodel.FontDetails.create(v3, org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps);
            org.apache.poi.hssf.usermodel.StaticFontMetrics.fontDetailsMap.put(v3, v2);
        }
        return v2;
    }

Method org.apache.poi.hssf.extractor.ExcelExtractor$CommandArgs.<init>() calling method java.io.File.<init>()


    public ExcelExtractor$CommandArgs(String[] p14)
    {
        int v5 = p14.length;
        java.io.File v4_0 = 0;
        int v6 = 0;
        boolean v9 = 1;
        boolean v1 = 1;
        boolean v8 = 0;
        boolean v7 = 0;
        boolean v2 = 1;
        int v3_1 = 0;
        while (v3_1 < v5) {
            String v0_0 = p14[v3_1];
            if (!"-help".equalsIgnoreCase(v0_0)) {
                int v3_0;
                if (!"-i".equals(v0_0)) {
                    if (!"--show-sheet-names".equals(v0_0)) {
                        if (!"--evaluate-formulas".equals(v0_0)) {
                            if (!"--show-comments".equals(v0_0)) {
                                if (!"--show-blanks".equals(v0_0)) {
                                    if (!"--headers-footers".equals(v0_0)) {
                                        throw new org.apache.poi.hssf.extractor.ExcelExtractor$CommandParseException(new StringBuilder().append("Invalid argument \'").append(v0_0).append("\'").toString());
                                    } else {
                                        v3_0 = (v3_1 + 1);
                                        v2 = org.apache.poi.hssf.extractor.ExcelExtractor$CommandArgs.parseBoolArg(p14, v3_0);
                                    }
                                } else {
                                    v3_0 = (v3_1 + 1);
                                    v7 = org.apache.poi.hssf.extractor.ExcelExtractor$CommandArgs.parseBoolArg(p14, v3_0);
                                }
                            } else {
                                v3_0 = (v3_1 + 1);
                                v8 = org.apache.poi.hssf.extractor.ExcelExtractor$CommandArgs.parseBoolArg(p14, v3_0);
                            }
                        } else {
                            v3_0 = (v3_1 + 1);
                            v1 = org.apache.poi.hssf.extractor.ExcelExtractor$CommandArgs.parseBoolArg(p14, v3_0);
                        }
                    } else {
                        v3_0 = (v3_1 + 1);
                        v9 = org.apache.poi.hssf.extractor.ExcelExtractor$CommandArgs.parseBoolArg(p14, v3_0);
                    }
                } else {
                    v3_0 = (v3_1 + 1);
                    if (v3_0 < v5) {
                        String v0_1 = p14[v3_0];
                        if (v4_0 == null) {
                            v4_0 = new java.io.File(v0_1);
                            if (v4_0.exists()) {
                                if (v4_0.isDirectory()) {
                                    throw new org.apache.poi.hssf.extractor.ExcelExtractor$CommandParseException(new StringBuilder().append("Specified input file \'").append(v0_1).append("\' is a directory").toString());
                                }
                            } else {
                                throw new org.apache.poi.hssf.extractor.ExcelExtractor$CommandParseException(new StringBuilder().append("Specified input file \'").append(v0_1).append("\' does not exist").toString());
                            }
                        } else {
                            throw new org.apache.poi.hssf.extractor.ExcelExtractor$CommandParseException("Only one input file can be supplied");
                        }
                    } else {
                        throw new org.apache.poi.hssf.extractor.ExcelExtractor$CommandParseException("Expected filename after \'-i\'");
                    }
                }
                v3_1 = (v3_0 + 1);
            } else {
                v6 = 1;
                break;
            }
        }
        this._requestHelp = v6;
        this._inputFile = v4_0;
        this._showSheetNames = v9;
        this._evaluateFormulas = v1;
        this._showCellComments = v8;
        this._showBlankCells = v7;
        this._headersFooters = v2;
        return;
    }

Method org.apache.poi.hssf.dev.RecordLister.run() calling method java.io.File.<init>()


    public void run()
    {
        org.apache.poi.hssf.record.RecordInputStream v3_1 = new org.apache.poi.hssf.record.RecordInputStream(org.apache.poi.hssf.dev.BiffViewer.getPOIFSInputStream(new java.io.File(this.file)));
        while (v3_1.hasNextRecord()) {
            int v4 = v3_1.getNextSid();
            v3_1.nextRecord();
            int v5 = v3_1.available();
            Class v0 = org.apache.poi.hssf.record.RecordFactory.getRecordClass(v4);
            System.out.print(new StringBuilder().append(org.apache.poi.hssf.dev.RecordLister.formatSID(v4)).append(" - ").append(org.apache.poi.hssf.dev.RecordLister.formatSize(v5)).append(" bytes").toString());
            if (v0 != null) {
                System.out.print("  \t");
                System.out.print(v0.getName().replace("org.apache.poi.hssf.record.", ""));
            }
            System.out.println();
            byte[] v1 = v3_1.readRemainder();
            if (v1.length > 0) {
                System.out.print("   ");
                System.out.println(org.apache.poi.hssf.dev.RecordLister.formatData(v1));
            }
        }
        return;
    }

Method org.apache.poi.hssf.dev.FormulaViewer.run() calling method java.io.File.<init>()


    public void run()
    {
        java.util.List v2 = org.apache.poi.hssf.record.RecordFactory.createRecords(org.apache.poi.hssf.dev.BiffViewer.getPOIFSInputStream(new java.io.File(this.file)));
        int v0 = 0;
        while (v0 < v2.size()) {
            org.apache.poi.hssf.record.FormulaRecord v1_1 = ((org.apache.poi.hssf.record.Record) v2.get(v0));
            if (v1_1.getSid() == 6) {
                if (!this.list) {
                    this.parseFormulaRecord(((org.apache.poi.hssf.record.FormulaRecord) v1_1));
                } else {
                    this.listFormula(((org.apache.poi.hssf.record.FormulaRecord) v1_1));
                }
            }
            v0++;
        }
        return;
    }

Method org.apache.poi.hssf.dev.EFBiffViewer.run() calling method java.io.File.<init>()


    public void run()
    {
        java.io.InputStream v0 = org.apache.poi.hssf.dev.BiffViewer.getPOIFSInputStream(new java.io.File(this.file));
        org.apache.poi.hssf.eventusermodel.HSSFRequest v2_1 = new org.apache.poi.hssf.eventusermodel.HSSFRequest();
        v2_1.addListenerForAllRecords(new org.apache.poi.hssf.dev.EFBiffViewer$1(this));
        new org.apache.poi.hssf.eventusermodel.HSSFEventFactory().processEvents(v2_1, v0);
        return;
    }

Method org.apache.poi.hssf.dev.BiffViewer$CommandArgs.parse() calling method java.io.File.<init>()


    public static org.apache.poi.hssf.dev.BiffViewer$CommandArgs parse(String[] p12)
    {
        int v9 = p12.length;
        int v1 = 0;
        int v2 = 0;
        int v3 = 0;
        int v4 = 0;
        int v5 = 0;
        java.io.File v6_1 = 0;
        int v8 = 0;
        while (v8 < v9) {
            String v7 = p12[v8];
            if (!v7.startsWith("--")) {
                v6_1 = new java.io.File(v7);
                if (v6_1.exists()) {
                    if ((v8 + 1) < v9) {
                        throw new org.apache.poi.hssf.dev.BiffViewer$CommandParseException("File name must be the last arg");
                    }
                } else {
                    throw new org.apache.poi.hssf.dev.BiffViewer$CommandParseException(new StringBuilder().append("Specified file \'").append(v7).append("\' does not exist").toString());
                }
            } else {
                if (!"--biffhex".equals(v7)) {
                    if (!"--noint".equals(v7)) {
                        if (!"--out".equals(v7)) {
                            if (!"--escher".equals(v7)) {
                                if (!"--rawhex".equals(v7)) {
                                    if (!"--noheader".equals(v7)) {
                                        throw new org.apache.poi.hssf.dev.BiffViewer$CommandParseException(new StringBuilder().append("Unexpected option \'").append(v7).append("\'").toString());
                                    } else {
                                        v5 = 1;
                                    }
                                } else {
                                    v4 = 1;
                                }
                            } else {
                                System.setProperty("poi.deserialize.escher", "true");
                            }
                        } else {
                            v3 = 1;
                        }
                    } else {
                        v2 = 1;
                    }
                } else {
                    v1 = 1;
                }
            }
            v8++;
        }
        if (v6_1 != null) {
            return new org.apache.poi.hssf.dev.BiffViewer$CommandArgs(v1, v2, v3, v4, v5, v6_1);
        } else {
            throw new org.apache.poi.hssf.dev.BiffViewer$CommandParseException("Biff viewer needs a filename");
        }
    }

Method org.apache.commons.lang3.SystemUtils.getUserHome() calling method java.io.File.<init>()


    public static java.io.File getUserHome()
    {
        return new java.io.File(System.getProperty("user.home"));
    }

Method org.apache.commons.lang3.SystemUtils.getUserDir() calling method java.io.File.<init>()


    public static java.io.File getUserDir()
    {
        return new java.io.File(System.getProperty("user.dir"));
    }

Method org.apache.commons.lang3.SystemUtils.getJavaIoTmpDir() calling method java.io.File.<init>()


    public static java.io.File getJavaIoTmpDir()
    {
        return new java.io.File(System.getProperty("java.io.tmpdir"));
    }

Method org.apache.commons.lang3.SystemUtils.getJavaHome() calling method java.io.File.<init>()


    public static java.io.File getJavaHome()
    {
        return new java.io.File(System.getProperty("java.home"));
    }

Method org.apache.commons.io.output.LockableFileWriter.<init>() calling method java.io.File.<init>()


    public LockableFileWriter(String p2, boolean p3, String p4)
    {
        this(new java.io.File(p2), p3, p4);
        return;
    }

Method org.apache.commons.io.output.LockableFileWriter.<init>() calling method java.io.File.<init>()


    public LockableFileWriter(java.io.File p5, String p6, boolean p7, String p8)
    {
        java.io.File v5_1 = p5.getAbsoluteFile();
        if (v5_1.getParentFile() != null) {
            org.apache.commons.io.FileUtils.forceMkdir(v5_1.getParentFile());
        }
        if (!v5_1.isDirectory()) {
            if (p8 == null) {
                p8 = System.getProperty("java.io.tmpdir");
            }
            java.io.File v0_1 = new java.io.File(p8);
            org.apache.commons.io.FileUtils.forceMkdir(v0_1);
            this.testLockDir(v0_1);
            this.lockFile = new java.io.File(v0_1, new StringBuffer().append(v5_1.getName()).append(".lck").toString());
            this.createLock();
            this.out = this.initWriter(v5_1, p6, p7);
            return;
        } else {
            throw new java.io.IOException("File specified is a directory");
        }
    }

Method org.apache.commons.io.filefilter.WildcardFilter.accept() calling method java.io.File.<init>()


    public boolean accept(java.io.File p4, String p5)
    {
        int v1 = 0;
        if ((p4 == null) || (!new java.io.File(p4, p5).isDirectory())) {
            int v0 = 0;
            while (v0 < this.wildcards.length) {
                if (!org.apache.commons.io.FilenameUtils.wildcardMatch(p5, this.wildcards[v0])) {
                    v0++;
                } else {
                    v1 = 1;
                    break;
                }
            }
        }
        return v1;
    }

Method org.apache.commons.io.filefilter.AbstractFileFilter.accept() calling method java.io.File.<init>()


    public boolean accept(java.io.File p2, String p3)
    {
        return this.accept(new java.io.File(p2, p3));
    }

Method org.apache.commons.io.FileUtils.toFile() calling method java.io.File.<init>()


    public static java.io.File toFile(java.net.URL p7)
    {
        if ((p7 != null) && (p7.getProtocol().equals("file"))) {
            String v1 = p7.getFile().replace(47, java.io.File.separatorChar);
            int v3 = 0;
            while(true) {
                v3 = v1.indexOf(37, v3);
                if (v3 < 0) {
                    break;
                }
                if ((v3 + 2) < v1.length()) {
                    v1 = new StringBuffer().append(v1.substring(0, v3)).append(((char) Integer.parseInt(v1.substring((v3 + 1), (v3 + 3)), 16))).append(v1.substring((v3 + 3))).toString();
                }
            }
            StringBuffer v4_12 = new java.io.File(v1);
        } else {
            v4_12 = 0;
        }
        return v4_12;
    }

Method org.apache.commons.io.FileUtils.doCopyDirectory() calling method java.io.File.<init>()


    private static void doCopyDirectory(java.io.File p6, java.io.File p7, boolean p8)
    {
        if (!p7.exists()) {
            if (p7.mkdirs()) {
                if (p8) {
                    p7.setLastModified(p6.lastModified());
                }
            } else {
                throw new java.io.IOException(new StringBuffer().append("Destination \'").append(p7).append("\' directory cannot be created").toString());
            }
        } else {
            if (!p7.isDirectory()) {
                throw new java.io.IOException(new StringBuffer().append("Destination \'").append(p7).append("\' exists but is not a directory").toString());
            }
        }
        if (p7.canWrite()) {
            java.io.File[] v1 = p6.listFiles();
            if (v1 != null) {
                int v2 = 0;
                while (v2 < v1.length) {
                    java.io.File v0_1 = new java.io.File(p7, v1[v2].getName());
                    if (!v1[v2].isDirectory()) {
                        org.apache.commons.io.FileUtils.doCopyFile(v1[v2], v0_1, p8);
                    } else {
                        org.apache.commons.io.FileUtils.doCopyDirectory(v1[v2], v0_1, p8);
                    }
                    v2++;
                }
                return;
            } else {
                throw new java.io.IOException(new StringBuffer().append("Failed to list contents of ").append(p6).toString());
            }
        } else {
            throw new java.io.IOException(new StringBuffer().append("Destination \'").append(p7).append("\' cannot be written to").toString());
        }
    }

Method org.apache.commons.io.FileUtils.copyFileToDirectory() calling method java.io.File.<init>()


    public static void copyFileToDirectory(java.io.File p3, java.io.File p4, boolean p5)
    {
        if (p4 != null) {
            if ((!p4.exists()) || (p4.isDirectory())) {
                org.apache.commons.io.FileUtils.copyFile(p3, new java.io.File(p4, p3.getName()), p5);
                return;
            } else {
                throw new IllegalArgumentException(new StringBuffer().append("Destination \'").append(p4).append("\' is not a directory").toString());
            }
        } else {
            throw new NullPointerException("Destination must not be null");
        }
    }

Method org.apache.commons.io.FileUtils.copyDirectoryToDirectory() calling method java.io.File.<init>()


    public static void copyDirectoryToDirectory(java.io.File p3, java.io.File p4)
    {
        if (p3 != null) {
            if ((!p3.exists()) || (p3.isDirectory())) {
                if (p4 != null) {
                    if ((!p4.exists()) || (p4.isDirectory())) {
                        org.apache.commons.io.FileUtils.copyDirectory(p3, new java.io.File(p4, p3.getName()), 1);
                        return;
                    } else {
                        throw new IllegalArgumentException(new StringBuffer().append("Destination \'").append(p4).append("\' is not a directory").toString());
                    }
                } else {
                    throw new NullPointerException("Destination must not be null");
                }
            } else {
                throw new IllegalArgumentException(new StringBuffer().append("Source \'").append(p4).append("\' is not a directory").toString());
            }
        } else {
            throw new NullPointerException("Source must not be null");
        }
    }

Method org.apache.commons.io.FileCleaner$Tracker.delete() calling method java.io.File.<init>()


    public boolean delete()
    {
        return this.deleteStrategy.deleteQuietly(new java.io.File(this.path));
    }

Method okhttp3.internal.cache.DiskLruCache$Entry.<init>() calling method java.io.File.<init>()


    DiskLruCache$Entry(okhttp3.internal.cache.DiskLruCache p8, String p9)
    {
        this.this$0 = p8;
        this.key = p9;
        java.io.File[] v3_8 = new long[p8.valueCount];
        this.lengths = v3_8;
        java.io.File[] v3_10 = new java.io.File[p8.valueCount];
        this.cleanFiles = v3_10;
        java.io.File[] v3_0 = new java.io.File[p8.valueCount];
        this.dirtyFiles = v3_0;
        StringBuilder v0 = new StringBuilder(p9).append(46);
        int v2 = v0.length();
        int v1 = 0;
        while (v1 < p8.valueCount) {
            v0.append(v1);
            this.cleanFiles[v1] = new java.io.File(p8.directory, v0.toString());
            v0.append(".tmp");
            this.dirtyFiles[v1] = new java.io.File(p8.directory, v0.toString());
            v0.setLength(v2);
            v1++;
        }
        return;
    }

Method jxl.write.biff.HyperlinkRecord.copyWritableHyperlink() calling method java.io.File.<init>()


    private void copyWritableHyperlink(jxl.Hyperlink p9, jxl.write.WritableSheet p10)
    {
        this.firstRow = ((jxl.write.biff.HyperlinkRecord) p9).firstRow;
        this.lastRow = ((jxl.write.biff.HyperlinkRecord) p9).lastRow;
        this.firstColumn = ((jxl.write.biff.HyperlinkRecord) p9).firstColumn;
        this.lastColumn = ((jxl.write.biff.HyperlinkRecord) p9).lastColumn;
        if (((jxl.write.biff.HyperlinkRecord) p9).url != null) {
            try {
                this.url = new java.net.URL(((jxl.write.biff.HyperlinkRecord) p9).url.toString());
            } catch (java.net.MalformedURLException v6) {
                jxl.common.Assert.verify(0);
            }
        }
        if (((jxl.write.biff.HyperlinkRecord) p9).file != null) {
            this.file = new java.io.File(((jxl.write.biff.HyperlinkRecord) p9).file.getPath());
        }
        this.location = ((jxl.write.biff.HyperlinkRecord) p9).location;
        this.contents = ((jxl.write.biff.HyperlinkRecord) p9).contents;
        this.linkType = ((jxl.write.biff.HyperlinkRecord) p9).linkType;
        this.modified = 1;
        this.sheet = p10;
        this.range = new jxl.biff.SheetRangeImpl(p10, this.firstColumn, this.firstRow, this.lastColumn, this.lastRow);
        return;
    }

Method jxl.read.biff.WorkbookParser.getLastExternalSheetName() calling method java.io.File.<init>()


    public String getLastExternalSheetName(int p10)
    {
        String v6_5;
        if (!this.workbookBof.isBiff7()) {
            jxl.read.biff.SupbookRecord v4_1 = ((jxl.read.biff.SupbookRecord) this.supbooks.get(this.externSheet.getSupbookIndex(p10)));
            int v2 = this.externSheet.getLastTabIndex(p10);
            if (v4_1.getType() != jxl.read.biff.SupbookRecord.INTERNAL) {
                if (v4_1.getType() != jxl.read.biff.SupbookRecord.EXTERNAL) {
                    jxl.read.biff.WorkbookParser.logger.warn("Unknown Supbook 4");
                    v6_5 = "[UNKNOWN]";
                } else {
                    String v6_13;
                    StringBuffer v3_1 = new StringBuffer();
                    java.io.File v1_1 = new java.io.File(v4_1.getFileName());
                    v3_1.append("\'");
                    v3_1.append(v1_1.getAbsolutePath());
                    v3_1.append("[");
                    v3_1.append(v1_1.getName());
                    v3_1.append("]");
                    if (v2 != 65535) {
                        v6_13 = v4_1.getSheetName(v2);
                    } else {
                        v6_13 = "#REF";
                    }
                    v3_1.append(v6_13);
                    v3_1.append("\'");
                    v6_5 = v3_1.toString();
                }
            } else {
                if (v2 != 65535) {
                    v6_5 = ((jxl.read.biff.BoundsheetRecord) this.boundsheets.get(v2)).getName();
                } else {
                    v6_5 = "#REF";
                }
            }
        } else {
            v6_5 = ((jxl.read.biff.BoundsheetRecord) this.boundsheets.get(p10)).getName();
        }
        return v6_5;
    }

Method jxl.read.biff.WorkbookParser.getExternalSheetName() calling method java.io.File.<init>()


    public String getExternalSheetName(int p13)
    {
        String v7;
        if (!this.workbookBof.isBiff7()) {
            jxl.read.biff.SupbookRecord v8_0 = ((jxl.read.biff.SupbookRecord) this.supbooks.get(this.externSheet.getSupbookIndex(p13)));
            int v1 = this.externSheet.getFirstTabIndex(p13);
            int v4 = this.externSheet.getLastTabIndex(p13);
            String v5 = "";
            if (v8_0.getType() != jxl.read.biff.SupbookRecord.INTERNAL) {
                if (v8_0.getType() != jxl.read.biff.SupbookRecord.EXTERNAL) {
                    jxl.read.biff.WorkbookParser.logger.warn("Unknown Supbook 3");
                    v7 = "[UNKNOWN]";
                } else {
                    StringBuilder v10_23;
                    StringBuffer v6_1 = new StringBuffer();
                    java.io.File v3_1 = new java.io.File(v8_0.getFileName());
                    v6_1.append("\'");
                    v6_1.append(v3_1.getAbsolutePath());
                    v6_1.append("[");
                    v6_1.append(v3_1.getName());
                    v6_1.append("]");
                    if (v1 != 65535) {
                        v10_23 = v8_0.getSheetName(v1);
                    } else {
                        v10_23 = "#REF";
                    }
                    v6_1.append(v10_23);
                    if (v4 != v1) {
                        v6_1.append(v8_0.getSheetName(v4));
                    }
                    v6_1.append("\'");
                    v7 = v6_1.toString();
                }
            } else {
                String v2;
                if (v1 != 65535) {
                    v2 = ((jxl.read.biff.BoundsheetRecord) this.boundsheets.get(v1)).getName();
                } else {
                    v2 = "#REF";
                }
                if (v4 != 65535) {
                    v5 = ((jxl.read.biff.BoundsheetRecord) this.boundsheets.get(v4)).getName();
                } else {
                    v5 = "#REF";
                }
                if (v1 != v4) {
                    v7 = new StringBuilder().append(v2).append(58).append(v5).toString();
                } else {
                    v7 = v2;
                }
                if (v7.indexOf(39) != -1) {
                    v7 = jxl.biff.StringHelper.replace(v7, "\'", "\'\'");
                }
                if (v7.indexOf(32) != -1) {
                    v7 = new StringBuilder().append(39).append(v7).append(39).toString();
                }
            }
        } else {
            v7 = ((jxl.read.biff.BoundsheetRecord) this.boundsheets.get(p13)).getName();
        }
        return v7;
    }

Method jxl.read.biff.HyperlinkRecord.<init>() calling method java.io.File.<init>()


    HyperlinkRecord(jxl.read.biff.Record p29, jxl.Sheet p30, jxl.WorkbookSettings p31)
    {
        int v13;
        jxl.read.biff.HyperlinkRecord v28_1 = super(p29);
        v28_1.linkType = jxl.read.biff.HyperlinkRecord.unknown;
        byte[] v10 = v28_1.getRecord().getData();
        v28_1.firstRow = jxl.biff.IntegerHelper.getInt(v10[0], v10[1]);
        v28_1.lastRow = jxl.biff.IntegerHelper.getInt(v10[2], v10[3]);
        v28_1.firstColumn = jxl.biff.IntegerHelper.getInt(v10[4], v10[5]);
        v28_1.lastColumn = jxl.biff.IntegerHelper.getInt(v10[6], v10[7]);
        v28_1.range = new jxl.biff.SheetRangeImpl(p30, v28_1.firstColumn, v28_1.firstRow, v28_1.lastColumn, v28_1.lastRow);
        int v18 = jxl.biff.IntegerHelper.getInt(v10[28], v10[29], v10[30], v10[31]);
        if ((v18 & 20) == 0) {
            v13 = 0;
        } else {
            v13 = 1;
        }
        int v11 = 0;
        if (v13 != 0) {
            v11 = ((jxl.biff.IntegerHelper.getInt(v10[32], v10[33], v10[34], v10[35]) * 2) + 4);
        }
        int v23;
        int v22_4 = (32 + v11);
        if ((v18 & 128) == 0) {
            v23 = 0;
        } else {
            v23 = 1;
        }
        int v24 = 0;
        if (v23 != 0) {
            v24 = ((jxl.biff.IntegerHelper.getInt(v10[v22_4], v10[(v22_4 + 1)], v10[(v22_4 + 2)], v10[(v22_4 + 3)]) * 2) + 4);
        }
        int v22_0 = (v22_4 + v24);
        if ((v18 & 3) != 3) {
            if ((v18 & 1) == 0) {
                if ((v18 & 8) != 0) {
                    v28_1.linkType = jxl.read.biff.HyperlinkRecord.workbookLink;
                }
            } else {
                v28_1.linkType = jxl.read.biff.HyperlinkRecord.fileLink;
                if (v10[v22_0] == -32) {
                    v28_1.linkType = jxl.read.biff.HyperlinkRecord.urlLink;
                }
            }
        } else {
            v28_1.linkType = jxl.read.biff.HyperlinkRecord.urlLink;
            if (v10[v22_0] == 3) {
                v28_1.linkType = jxl.read.biff.HyperlinkRecord.fileLink;
            }
        }
        if (v28_1.linkType != jxl.read.biff.HyperlinkRecord.urlLink) {
            if (v28_1.linkType != jxl.read.biff.HyperlinkRecord.fileLink) {
                if (v28_1.linkType != jxl.read.biff.HyperlinkRecord.workbookLink) {
                    jxl.read.biff.HyperlinkRecord.logger.warn("Cannot determine link type");
                } else {
                    v28_1.location = jxl.biff.StringHelper.getUnicodeString(v10, (jxl.biff.IntegerHelper.getInt(v10[32], v10[33], v10[34], v10[35]) - 1), 36);
                }
            } else {
                int v22_1 = (v22_0 + 16);
                try {
                    int v26 = jxl.biff.IntegerHelper.getInt(v10[v22_1], v10[(v22_1 + 1)]);
                    String v16 = jxl.biff.StringHelper.getString(v10, (jxl.biff.IntegerHelper.getInt(v10[(v22_1 + 2)], v10[(v22_1 + 3)], v10[(v22_1 + 4)], v10[(v22_1 + 5)]) - 1), (v22_1 + 6), p31);
                    StringBuffer v19_1 = new StringBuffer();
                    int v17 = 0;
                } catch (Throwable v14_0) {
                    jxl.read.biff.HyperlinkRecord.logger.warn(new StringBuilder().append("Exception when parsing file ").append(v14_0.getClass().getName()).append(".").toString());
                    v28_1.file = new java.io.File(".");
                }
                while (v17 < v26) {
                    v19_1.append("..\\");
                    v17++;
                }
                v19_1.append(v16);
                v28_1.file = new java.io.File(v19_1.toString());
            }
        } else {
            int v22_2 = (v22_0 + 16);
            try {
                String v27 = jxl.biff.StringHelper.getUnicodeString(v10, ((jxl.biff.IntegerHelper.getInt(v10[v22_2], v10[(v22_2 + 1)], v10[(v22_2 + 2)], v10[(v22_2 + 3)]) / 2) - 1), (v22_2 + 4));
                v28_1.url = new java.net.URL(v27);
            } catch (Throwable v14) {
                jxl.read.biff.HyperlinkRecord.logger.warn(new StringBuilder().append("URL ").append(v27).append(" is malformed.  Trying a file").toString());
                try {
                    v28_1.linkType = jxl.read.biff.HyperlinkRecord.fileLink;
                    v28_1.file = new java.io.File(v27);
                } catch (Exception v15) {
                    jxl.read.biff.HyperlinkRecord.logger.warn("Cannot set to file.  Setting a default URL");
                    try {
                        v28_1.linkType = jxl.read.biff.HyperlinkRecord.urlLink;
                        v28_1.url = new java.net.URL("http://www.andykhan.com/jexcelapi/index.html");
                    } catch (java.net.MalformedURLException v2) {
                    }
                }
            } catch (Throwable v14_1) {
                StringBuffer v20_1 = new StringBuffer();
                StringBuffer v21_1 = new StringBuffer();
                jxl.CellReferenceHelper.getCellReference(v28_1.firstColumn, v28_1.firstRow, v20_1);
                jxl.CellReferenceHelper.getCellReference(v28_1.lastColumn, v28_1.lastRow, v21_1);
                v20_1.insert(0, "Exception when parsing URL ");
                v20_1.append(34).append(v21_1.toString()).append("\".  Using default.");
                jxl.read.biff.HyperlinkRecord.logger.warn(v20_1, v14_1);
                try {
                    v28_1.url = new java.net.URL("http://www.andykhan.com/jexcelapi/index.html");
                } catch (java.net.MalformedURLException v2) {
                }
            }
        }
        return;
    }

Method jxl.demo.Write.write() calling method java.io.File.<init>()


    public void write()
    {
        jxl.WorkbookSettings v18_1 = new jxl.WorkbookSettings();
        v18_1.setLocale(new java.util.Locale("en", "EN"));
        this.workbook = jxl.Workbook.createWorkbook(new java.io.File(this.filename), v18_1);
        jxl.write.WritableSheet v13 = this.workbook.createSheet("Number Formats", 0);
        jxl.write.WritableSheet v14 = this.workbook.createSheet("Date Formats", 1);
        jxl.write.WritableSheet v12 = this.workbook.createSheet("Label Formats", 2);
        jxl.write.WritableSheet v4 = this.workbook.createSheet("Borders", 3);
        jxl.write.WritableSheet v15 = this.workbook.createSheet("Labels", 4);
        jxl.write.WritableSheet v16 = this.workbook.createSheet("Formulas", 5);
        jxl.write.WritableSheet v17 = this.workbook.createSheet("Images", 6);
        this.workbook.setColourRGB(jxl.format.Colour.LIME, 255, 0, 0);
        this.w