Method Summary |
|
public WeblogResource[] | getChildren() List child resources if this resource represents a directory.
The children returned by this method should only be actual files. |
public InputStream | getInputStream() An InputStream that the resource can be read from. |
public long | getLastModified() The last-modified time for this resource. |
public long | getLength() The length of this resource, in bytes. |
public String | getName() The name of this resource.
i.e. |
public String | getPath() The path to this resource, relative to the weblog's uploads area.
i.e. |
public String | getURL(boolean absolute) The web url where the resource can be accessed, optionally absolute. |
public WebsiteData | getWeblog() The weblog this resource is attached to. |
public boolean | isDirectory() Does this resource represent a directory? True if yes, False otherwise. |
public boolean | isFile() Does this resource represent a file? True if yes, False otherwise. |