1 6 7 package org.contineo.searchengine.util; 8 9 13 public class IndexInfo { 14 15 18 private String indexDir; 19 22 private int docCount; 23 26 private boolean locked; 27 28 29 public IndexInfo() { 30 indexDir = ""; 31 docCount = 0; 32 locked = false; 33 } 34 35 39 public String getIndexDir() { 40 return indexDir; 41 } 42 43 47 public void setIndexDir(String dir) { 48 indexDir = dir; 49 } 50 51 55 public int getDocCount() { 56 return docCount; 57 } 58 59 63 public void setDocCount(int count) { 64 docCount = count; 65 } 66 67 71 public boolean getLocked() { 72 return locked; 73 } 74 75 79 public void setLocked(boolean lock) { 80 locked = lock; 81 } 82 83 } 84 | Popular Tags |