vfs
Interface VFSItem

All Known Implementing Classes:
JarDirectory, NativeDirectory, VFSDirectory, VFSFile

public interface VFSItem

A VFSItem is an item in a virtual file system. It has a name and a URL.

This is the Component class in a Composite design pattern whose other classes are VFSFile (Leaf) and VFSDirectory (Composite).


Method Summary
 java.lang.String getName()
          itm.getName() returns the name of itm.
 java.net.URL getURL()
          itm.getURL() returns the URL for itm.
 

Method Detail

getName

java.lang.String getName()
itm.getName() returns the name of itm.

Returns:
the name of the item

getURL

java.net.URL getURL()
itm.getURL() returns the URL for itm.

Returns:
the URL for the item