|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAttributeIndexReader
public class AttributeIndexReader
Class to read an attribute index file
modules/plugin/shapefile (gt-shapefile.jar)
Constructor Summary | |
---|---|
AttributeIndexReader(String attribute,
FileChannel readChannel)
Crea una nuova istanza di AttributeIndexReader |
Method Summary | |
---|---|
Collection |
findFids(Object reqAttribute)
Finds an attribute and returns its FIDs. |
IndexRecord |
findRecord(Object reqAttribute)
Finds an attibute. |
int |
getCount()
Returns the number of attributes in this index |
void |
goTo(int recno)
|
boolean |
hasNext()
Check if there's more elements to read |
boolean |
isEOF()
|
IndexRecord |
next()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeIndexReader(String attribute, FileChannel readChannel) throws IOException
IOException
Method Detail |
---|
public int getCount()
public void goTo(int recno) throws IOException
IOException
public IndexRecord next() throws IOException
IOException
public boolean hasNext() throws IOException
IOException
public boolean isEOF() throws IOException
IOException
public Collection findFids(Object reqAttribute) throws IOException
reqAttribute
- Attribute to find.
IOException
public IndexRecord findRecord(Object reqAttribute) throws IOException
reqAttribute
- Attribute to find.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |