Package pdfdb.structure

Examples of pdfdb.structure.Region


            rtn = new Region[rs.getRow()];
            rs.beforeFirst();

            while (rs.next())
            {
                Region region = null;
                Index[] indexes = null;
                int regionType = rs.getInt("RegionType");
                for (RegionType rt : RegionType.values())
                {
                    if (rt.ordinal() == regionType) type = rt;
                }
                region = new Region(rs.getInt("RegionId"), type);
                indexes = IndexProvider.getIndexesForRegion(conn, region);
                if (type == null) throw new IllegalArgumentException(
                            "Region type is null.");
                for (Index index : indexes)
                {
                    addIndex(region.getIndexes(), index);
                }
                rtn[i] = region;
                i++;
            }
            return rtn;
View Full Code Here

TOP

Related Classes of pdfdb.structure.Region

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.