| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.tools.offline.browse.StoreFinder
public class StoreFinder
The finder that handles a given jigsaw store
| Field Summary | |
|---|---|
| protected  java.util.Hashtable | finders | 
| static java.lang.String | INDEX_F | 
| protected  java.util.Hashtable | index_table | 
| protected static org.apache.oro.text.regex.Perl5Compiler | pcompiler | 
| protected static org.apache.oro.text.regex.Perl5Matcher | pmatcher | 
| protected  ResourceLister | rlA resource lister instance that handles the repository resources | 
| static java.lang.String | ROOT_REP | 
| protected  Serializer | serializer | 
|  java.lang.String | server_nameThe server name (e.g. | 
|  java.lang.String | store_dirThe store directory (relative to current path) | 
| Constructor Summary | |
|---|---|
| StoreFinder(java.lang.String store_dir,
            java.lang.String server_name)Initializes the finder | |
| Method Summary | |
|---|---|
|  void | finderAction(java.lang.String action,
             java.lang.String identifier,
             boolean recursive)Execute an action on the store. | 
|  java.lang.String | getWorkingRep()Get the working repository | 
|  void | printWorkingRep()Print the working repository | 
|  void | readStoreIndex()Reads the index file of the store. | 
|  void | readStoreRoot()Reads the root file of the store. | 
|  void | setWorkingRep(java.lang.String newrep)Set the working repository | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String ROOT_REP
public static final java.lang.String INDEX_F
public java.lang.String store_dir
public java.lang.String server_name
protected ResourceLister rl
protected Serializer serializer
protected java.util.Hashtable index_table
protected java.util.Hashtable finders
protected static org.apache.oro.text.regex.Perl5Matcher pmatcher
protected static org.apache.oro.text.regex.Perl5Compiler pcompiler
| Constructor Detail | 
|---|
public StoreFinder(java.lang.String store_dir,
                   java.lang.String server_name)
| Method Detail | 
|---|
public void readStoreIndex()
                    throws java.io.IOException
java.io.IOException
public void readStoreRoot()
                   throws java.io.IOException
java.io.IOException
public void finderAction(java.lang.String action,
                         java.lang.String identifier,
                         boolean recursive)
action - the action stringidentifier - the target of action (a Perl5 regexp)recursive - a boolean flag (true = recursive action).public java.lang.String getWorkingRep()
public void printWorkingRep()
public void setWorkingRep(java.lang.String newrep)
newrep - a string that is the container name or ".." to 
 go back in the stack.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||