}
}
+ @Override
+ public void search(boolean sync) throws IOException {
+ for (SupportType type : SupportType.values()) {
+ if (BasicSearchable.getSearchable(type) != null) {
+ System.out.println(type);
+ }
+ }
+ }
+
@Override
public void search(SupportType searchOn, String keywords, int page,
int item, boolean sync) throws IOException {
} else {
if (page <= 0) {
if (stag.isLeaf()) {
- search.search(stag, 1);
- System.out.println(stag.getPages());
+ System.out.println(search.searchPages(stag));
} else {
System.out.println(stag.getCount());
}