anthill.types
Interface URLResource

All Superinterfaces:
Resource
All Known Implementing Classes:
SimpleURLResource

public interface URLResource
extends Resource

An URLResource object represents an URL that can be stored, as a resource, in a URL storage. The URLResource interface extends the Resource interfaces by adding methods to manage the stringified URL.

Version:
$Revision: 1.1 $
Author:
Alberto Montresor

Method Summary
 String getFile()
          Returns the file part of this URL.
 String getURL()
          Returns the stringified URL for this URL resource.
 
Methods inherited from interface anthill.Resource
getAttribute, getContentLength, getInputStream, getKey, getName, size
 

Method Detail

getURL

public String getURL()
Returns the stringified URL for this URL resource.


getFile

public String getFile()
Returns the file part of this URL.