de.knup.jedi.jayshare
Class FilehashItem

java.lang.Object
  |
  +--de.knup.jedi.jayshare.FilehashItem

public class FilehashItem
extends java.lang.Object

This is one fileitem from a user in the queue.

Version:
$Revision: 1.4 $
Author:
EdE

Field Summary
private  java.lang.String filename
          we need the name the users had choosen
private  java.lang.String hashedID
          we need the user's hashedID to assign the file to him
private  java.lang.String mimetype
          we need the mimetype the users had choose
 
Constructor Summary
FilehashItem(java.lang.String filename, java.lang.String mimetype, java.lang.String hashedID)
          Create a fileitem.
 
Method Summary
 java.lang.String getFilename()
           
 java.lang.String getHashedID()
           
 java.lang.String getMimetype()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

filename

private java.lang.String filename
we need the name the users had choosen

mimetype

private java.lang.String mimetype
we need the mimetype the users had choose

hashedID

private java.lang.String hashedID
we need the user's hashedID to assign the file to him
Constructor Detail

FilehashItem

public FilehashItem(java.lang.String filename,
                    java.lang.String mimetype,
                    java.lang.String hashedID)
Create a fileitem.
Parameters:
filename - is the path of the file.
mimetype - is the MIME type.
hashedID - is the hashed Jabber ID of its owner.
Method Detail

getFilename

public java.lang.String getFilename()
Returns:
the file name.

getMimetype

public java.lang.String getMimetype()
Returns:
the MIME type.

getHashedID

public java.lang.String getHashedID()
Returns:
the hashed Jabber ID