01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2003-2006, Geotools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or (at your option) any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.data.vpf.ifc;
17:
18: /**
19: * VPFHeader.java Created: Mon Feb 24 22:51:07 2003
20: *
21: * @author <a href="mailto:kobit@users.sourceforge.net">Artur Hefczyc</a>
22: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/unsupported/vpf/src/main/java/org/geotools/data/vpf/ifc/VPFHeader.java $
23: * @version $Id: VPFHeader.java 22482 2006-10-31 02:58:00Z desruisseaux $
24: */
25: public interface VPFHeader {
26: /**
27: * Returns particular <code>VPFHeader</code> length.
28: *
29: * @return an <code>int</code> value of header length.
30: */
31: int getLength();
32:
33: /**
34: * Method <code><code>getRecordSize</code></code> is used to return size in
35: * bytes of records stored in this table. If table keeps variable length
36: * records <code>-1</code> should be returned.
37: *
38: * @return an <code><code>int</code></code> value
39: */
40: int getRecordSize();
41: }
42:
43: // VPFHeader
|