net.sourceforge.xbrlcomposer
Class URL

java.lang.Object
  extended bynet.sourceforge.xbrlcomposer.URL

public class URL
extends java.lang.Object


Constructor Summary
URL(java.lang.String spec, java.io.File cacheRoot)
           
 
Method Summary
 void copyToCache()
          Cache the document at the specified URL
 java.lang.String getCacheURL()
          Returns the System ID the cached file to facilitate retrieval via the creation of a SAX InputSource.
 java.io.File getFile()
          Get the cache file from the URL
 boolean isCached()
          Determine if the URL is in the cache.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URL

public URL(java.lang.String spec,
           java.io.File cacheRoot)
Method Detail

getFile

public java.io.File getFile()
Get the cache file from the URL


copyToCache

public void copyToCache()
Cache the document at the specified URL


isCached

public boolean isCached()
Determine if the URL is in the cache.


getCacheURL

public java.lang.String getCacheURL()
Returns the System ID the cached file to facilitate retrieval via the creation of a SAX InputSource.