📄 indexedshapefiledatastore.html
字号:
getAttributesReader</H3><PRE>protected <A HREF="../../../../../org/geotools/data/shapefile/indexed/IndexedShapefileDataStore.Reader.html" title="class in org.geotools.data.shapefile.indexed">IndexedShapefileDataStore.Reader</A> <B>getAttributesReader</B>(boolean readDbf, boolean readGeometry, <A HREF="../../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the attribute reader, allowing for a pure shape reader, or a combined dbf/shp reader.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>readDbf</CODE> - - if true, the dbf fill will be opened and read<DD><CODE>readGeometry</CODE> - DOCUMENT ME!<DD><CODE>filter</CODE> - - a Filter to use<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="isIndexed()"><!-- --></A><H3>isIndexed</H3><PRE>public boolean <B>isIndexed</B>()</PRE><DL><DD>Returns true if the indices already exist and do not need to be regenerated.<P><DD><DL><DT><B>Returns:</B><DD>true if the indices already exist and do not need to be regenerated.</DL></DD></DL><HR><A NAME="openDbfReader()"><!-- --></A><H3>openDbfReader</H3><PRE>protected <A HREF="../../../../../org/geotools/data/shapefile/dbf/DbaseFileReader.html" title="class in org.geotools.data.shapefile.dbf">DbaseFileReader</A> <B>openDbfReader</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Convenience method for opening a DbaseFileReader.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html#openDbfReader()">openDbfReader</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html" title="class in org.geotools.data.shapefile">ShapefileDataStore</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A new DbaseFileReader<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an error occurs during creation.</DL></DD></DL><HR><A NAME="openRTree()"><!-- --></A><H3>openRTree</H3><PRE>protected <A HREF="../../../../../org/geotools/index/rtree/RTree.html" title="class in org.geotools.index.rtree">RTree</A> <B>openRTree</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Convenience method for opening an RTree index.<P><DD><DL><DT><B>Returns:</B><DD>A new RTree.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an error occurs during creation.<DD><CODE><A HREF="../../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="openQuadTree()"><!-- --></A><H3>openQuadTree</H3><PRE>protected <A HREF="../../../../../org/geotools/index/quadtree/QuadTree.html" title="class in org.geotools.index.quadtree">QuadTree</A> <B>openQuadTree</B>() throws <A HREF="../../../../../org/geotools/index/quadtree/StoreException.html" title="class in org.geotools.index.quadtree">StoreException</A></PRE><DL><DD>Convenience method for opening a QuadTree index.<P><DD><DL><DT><B>Returns:</B><DD>A new QuadTree<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/geotools/index/quadtree/StoreException.html" title="class in org.geotools.index.quadtree">StoreException</A></CODE></DL></DD></DL><HR><A NAME="getTypeNames()"><!-- --></A><H3>getTypeNames</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>getTypeNames</B>()</PRE><DL><DD>Get an array of type names this DataStore holds.<BR/>ShapefileDataStore will always return a single name.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/DataStore.html#getTypeNames()">getTypeNames</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html#getTypeNames()">getTypeNames</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html" title="class in org.geotools.data.shapefile">ShapefileDataStore</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of length one containing the single type held.</DL></DD></DL><HR><A NAME="createFeatureTypeName()"><!-- --></A><H3>createFeatureTypeName</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>createFeatureTypeName</B>()</PRE><DL><DD>Create the type name of the single FeatureType this DataStore represents.<BR/> For example, if the urls path is file:///home/billy/mytheme.shp, the type name will be mytheme.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html#createFeatureTypeName()">createFeatureTypeName</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html" title="class in org.geotools.data.shapefile">ShapefileDataStore</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A name based upon the last path component of the url minus the extension.</DL></DD></DL><HR><A NAME="getCurrentTypeName()"><!-- --></A><H3>getCurrentTypeName</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getCurrentTypeName</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html#getCurrentTypeName()">getCurrentTypeName</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html" title="class in org.geotools.data.shapefile">ShapefileDataStore</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="typeCheck(java.lang.String)"><!-- --></A><H3>typeCheck</H3><PRE>protected void <B>typeCheck</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> requested) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>A convenience method to check if a type name is correct.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html#typeCheck(java.lang.String)">typeCheck</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html" title="class in org.geotools.data.shapefile">ShapefileDataStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>requested</CODE> - The type name requested.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If the type name is not available</DL></DD></DL><HR><A NAME="createFeatureWriter(java.lang.String, org.geotools.data.Transaction)"><!-- --></A><H3>createFeatureWriter</H3><PRE>protected <A HREF="../../../../../org/geotools/data/FeatureWriter.html" title="interface in org.geotools.data">FeatureWriter</A> <B>createFeatureWriter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName, <A HREF="../../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Create a FeatureWriter for the given type name.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html#createFeatureWriter(java.lang.String, org.geotools.data.Transaction)">createFeatureWriter</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html" title="class in org.geotools.data.shapefile">ShapefileDataStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - The typeName of the FeatureType to write<DD><CODE>transaction</CODE> - DOCUMENT ME!<DT><B>Returns:</B><DD>A new FeatureWriter.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If the typeName is not available or some other error occurs.</DL></DD></DL><HR><A NAME="getSchema(java.lang.String)"><!-- --></A><H3>getSchema</H3><PRE>public <A HREF="../../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> <B>getSchema</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Obtain the FeatureType of the given name. ShapefileDataStore contains only one FeatureType.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/DataStore.html#getSchema(java.lang.String)">getSchema</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html#getSchema(java.lang.String)">getSchema</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/shapefile/ShapefileDataStore.html" title="class in org.geotools.data.shapefile">ShapefileDataStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - The name of the FeatureType.<DT><B>Returns:</B><DD>The FeatureType that this DataStore contains.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If a type by the requested name
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -