Package org.geotools.data.vpf.io

Examples of org.geotools.data.vpf.io.VariableIndexRow


     *
     * @throws IOException on any IO failures
     */
    protected void setPosition(long pos) throws IOException {
        if (getRecordSize() < 0) {
            VariableIndexRow varRow = (VariableIndexRow) variableIndex.readRow((int) pos);
            inputStream.seek(varRow.getOffset());
        } else {
            inputStream.seek(getAdjustedHeaderLength()
                + ((pos - 1) * getRecordSize()));
        }
    }
View Full Code Here

TOP

Related Classes of org.geotools.data.vpf.io.VariableIndexRow

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.