| java.lang.Object org.w3c.tools.offline.browse.StoreFinder
StoreFinder | public class StoreFinder (Code) | | The finder that handles a given jigsaw store
|
pcompiler | protected static Perl5Compiler pcompiler(Code) | | |
pmatcher | protected static Perl5Matcher pmatcher(Code) | | |
rl | protected ResourceLister rl(Code) | | A resource lister instance that handles the repository resources
|
server_name | public String server_name(Code) | | The server name (e.g. http-server)
|
store_dir | public String store_dir(Code) | | The store directory (relative to current path)
|
StoreFinder | public StoreFinder(String store_dir, String server_name)(Code) | | Initializes the finder
|
finderAction | public void finderAction(String action, String identifier, boolean recursive)(Code) | | Execute an action on the store.
launch a try for the given action on the current repository.
Parameters: action - the action string Parameters: identifier - the target of action (a Perl5 regexp) Parameters: recursive - a boolean flag (true = recursive action). |
getWorkingRep | public String getWorkingRep()(Code) | | Get the working repository
a string that is the repository file name. |
printWorkingRep | public void printWorkingRep()(Code) | | Print the working repository
|
readStoreIndex | public void readStoreIndex() throws IOException(Code) | | Reads the index file of the store.
opens the file and initialize index_table, launch one finder for
each repository.
|
readStoreRoot | public void readStoreRoot() throws IOException(Code) | | Reads the root file of the store.
opens the file and initialize working repository and stacks,
lists all the store recurively.
|
setWorkingRep | public void setWorkingRep(String newrep)(Code) | | Set the working repository
Parameters: newrep - a string that is the container name or ".." to go back in the stack. |
|
|