de.knup.jedi.jayshare
Class OwnedFileList

java.lang.Object
  |
  +--de.knup.jedi.jayshare.FileList
        |
        +--de.knup.jedi.jayshare.OwnedFileList

public class OwnedFileList
extends FileList

OwnedFileList has a hashed JID assigned.

Version:
0.2 $Revision: 1.5 $
Author:
B. Pietsch

Field Summary
private  java.lang.String hashedID
          hashed JID of the owner.
 
Fields inherited from class de.knup.jedi.jayshare.FileList
date, files, version, VERSION
 
Constructor Summary
OwnedFileList(FileList list, java.lang.String owner)
          Creates an owned FileList from an unowned one.
OwnedFileList(java.lang.String owner)
          Creates a new owned FileList.
 
Method Summary
 java.lang.String getOwner()
           
 java.lang.String toXML()
          Create an XML representation of the object.
 
Methods inherited from class de.knup.jedi.jayshare.FileList
addFile, getContent, getDate, getFiles, getVersion, setDate, setFiles, setVersion
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

hashedID

private java.lang.String hashedID
hashed JID of the owner.
Constructor Detail

OwnedFileList

public OwnedFileList(java.lang.String owner)
Creates a new owned FileList.

OwnedFileList

public OwnedFileList(FileList list,
                     java.lang.String owner)
Creates an owned FileList from an unowned one.
Method Detail

getOwner

public java.lang.String getOwner()
Returns:
the owner of the list.

toXML

public java.lang.String toXML()
Description copied from interface: XMLOutput
Create an XML representation of the object.
Overrides:
toXML in class FileList
Tags copied from interface: XMLOutput
Returns:
an XML conforming String object.