|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.indexer.partition.PartitionManager.ExtFilter
protected class PartitionManager.ExtFilter
A class that implements SimpleFilter so that we can find partition files with various extensions.
Field Summary | |
---|---|
protected java.lang.String |
ext
The extension that we're looking for. |
protected int |
partNum
The partition number for the last file parsed. |
Constructor Summary | |
---|---|
PartitionManager.ExtFilter(java.lang.String ext)
|
Method Summary | |
---|---|
boolean |
accept(java.lang.String s)
Tests whether this file has our extension. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int partNum
protected java.lang.String ext
Constructor Detail |
---|
public PartitionManager.ExtFilter(java.lang.String ext)
Method Detail |
---|
public boolean accept(java.lang.String s)
accept
in interface SimpleFilter
s
- the name of the file.
true
if this file name matches our extension,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |