org.xnap.plugin.gift.net.event
Class ShareItemEvent

java.lang.Object
  extended by org.xnap.plugin.gift.net.event.Event
      extended by org.xnap.plugin.gift.net.event.ShareItemEvent

public class ShareItemEvent
extends Event

ShareItemEvent

Version:
CVS $Id: ShareItemEvent.java,v 1.1 2003/10/05 00:20:32 squig Exp $
Author:
Tammo van Lessen

Constructor Summary
ShareItemEvent()
          Constructor for ShareItemEvent.
 
Method Summary
 void addMetaItem(java.lang.String name, java.lang.Object item)
          Adds a meta object
 java.lang.String getHash()
          Returns the hash.
 java.lang.Object getMetaItem(java.lang.String name)
          Returns the meta object specified by name
 java.util.Enumeration getMetaTags()
          Returns all meta tags
 java.lang.String getMime()
          Returns the mime type.
 java.lang.String getPath()
          Returns the path.
 long getSize()
          Returns the size.
 void setHash(java.lang.String hash)
          Sets the hash.
 void setMime(java.lang.String mime)
          Sets the mime type.
 void setPath(java.lang.String path)
          Sets the path.
 void setSize(long size)
          Sets the size.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShareItemEvent

public ShareItemEvent()
Constructor for ShareItemEvent.

Method Detail

setHash

public void setHash(java.lang.String hash)
Sets the hash.

Parameters:
hash - The hash to set

getHash

public java.lang.String getHash()
Returns the hash.

Returns:
String

getMetaItem

public java.lang.Object getMetaItem(java.lang.String name)
Returns the meta object specified by name

Parameters:
name -
Returns:
meta object

getMetaTags

public java.util.Enumeration getMetaTags()
Returns all meta tags

Returns:
all meta tag names

setMime

public void setMime(java.lang.String mime)
Sets the mime type.

Parameters:
mime - The mime to set

getMime

public java.lang.String getMime()
Returns the mime type.

Returns:
String

setPath

public void setPath(java.lang.String path)
Sets the path.

Parameters:
path - The path to set

getPath

public java.lang.String getPath()
Returns the path.

Returns:
String

setSize

public void setSize(long size)
Sets the size.

Parameters:
size - The size to set

getSize

public long getSize()
Returns the size.

Returns:
long

addMetaItem

public void addMetaItem(java.lang.String name,
                        java.lang.Object item)
Adds a meta object

Parameters:
name -
item -

toString

public java.lang.String toString()
Overrides:
toString in class Event
See Also:
Object.toString()


Copyright © 2001-2005 XNap Team. All Rights Reserved.