com.judoscript.util
Class UrlFS

java.lang.Object
  extended by com.judoscript.util.VirtualFS
      extended by com.judoscript.util.UrlFS

public class UrlFS
extends VirtualFS

This class represents a read-only file system for a URL, which contains just one file. If no file name is found, use "default.htm".


Nested Class Summary
static class UrlFS.UrlFile
           
 
Nested classes/interfaces inherited from class com.judoscript.util.VirtualFS
VirtualFS.VirtualFile
 
Constructor Summary
UrlFS()
           
 
Method Summary
 void close()
           
 java.io.File getFile(java.lang.String _url)
           
 
Methods inherited from class com.judoscript.util.VirtualFS
getInputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlFS

public UrlFS()
Method Detail

close

public void close()

getFile

public java.io.File getFile(java.lang.String _url)
                     throws java.lang.Exception
Specified by:
getFile in class VirtualFS
Throws:
java.lang.Exception