org.blojsom.plugin.common
Class FileAttachmentPlugin.FileAttachment

java.lang.Object
  extended byorg.blojsom.plugin.common.FileAttachmentPlugin.FileAttachment
Enclosing class:
FileAttachmentPlugin

public class FileAttachmentPlugin.FileAttachment
extends java.lang.Object

File Attachment

Author:
Sopan Shewale

Constructor Summary
FileAttachmentPlugin.FileAttachment(java.lang.String url, java.lang.String name)
          Contruct an File Attachment
 
Method Summary
 java.lang.String getName()
          Get the name of the attachment
 java.lang.String getUrl()
          get the URL for the attachment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileAttachmentPlugin.FileAttachment

public FileAttachmentPlugin.FileAttachment(java.lang.String url,
                                           java.lang.String name)
Contruct an File Attachment

Parameters:
url - URL to retrive the attached file
name - retrive the name of the File
Method Detail

getUrl

public java.lang.String getUrl()
get the URL for the attachment

Returns:
URL for the attachment

getName

public java.lang.String getName()
Get the name of the attachment

Returns:
Name of the attachment