org.daml.validator
Class Cache

java.lang.Object
  |
  +--org.daml.validator.Cache

public class Cache
extends java.lang.Object

This Class manages the maintainence of the Validator Cache.


Constructor Summary
Cache(java.lang.String[] args)
           
 
Method Summary
protected  java.lang.String convertURLtoFile(java.net.URL url)
          Create a filename from the host and path.
protected  void createCacheFile(java.lang.String u)
           
protected  void deleteCacheFile(java.lang.String u)
           
static void main(java.lang.String[] args)
          Main method for cache maintence functions.
 void parseArguments(java.lang.String[] args)
           
static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cache

public Cache(java.lang.String[] args)
Method Detail

usage

public static void usage()

parseArguments

public void parseArguments(java.lang.String[] args)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Main method for cache maintence functions.

java.lang.Exception

createCacheFile

protected void createCacheFile(java.lang.String u)
                        throws java.net.MalformedURLException
java.net.MalformedURLException

convertURLtoFile

protected java.lang.String convertURLtoFile(java.net.URL url)
Create a filename from the host and path. Convert / and . to _ except for .'s in the filename.


deleteCacheFile

protected void deleteCacheFile(java.lang.String u)
                        throws java.net.MalformedURLException
java.net.MalformedURLException