LimeWire Consolidated API

com.limegroup.gnutella
Interface FileDetails

All Known Subinterfaces:
RemoteFileDesc, RemoteFileDetails
All Known Implementing Classes:
RemoteFileDescImpl, XMPPRemoteFileDesc

public interface FileDetails


Method Summary
 long getCreationTime()
          The creation time of this file.
 String getFileName()
          Returns the file name.
 long getIndex()
          Accessor for the index this file, which can be null.
 URN getSHA1Urn()
          Returns the sha1 urn or null if there is none.
 long getSize()
          Returns the size of the file.
 Set<URN> getUrns()
          Returns the set of urns.
 LimeXMLDocument getXMLDocument()
          Returns the xml document or null if there is none for this file.
 

Method Detail

getFileName

String getFileName()
Returns the file name.

Returns:

getSHA1Urn

URN getSHA1Urn()
Returns the sha1 urn or null if there is none.

Returns:

getSize

long getSize()
Returns the size of the file.

Returns:

getUrns

Set<URN> getUrns()
Returns the set of urns.

Returns:

getXMLDocument

LimeXMLDocument getXMLDocument()
Returns the xml document or null if there is none for this file.

Returns:

getIndex

long getIndex()
Accessor for the index this file, which can be null.

Returns:
the file name for this file, which can be null

getCreationTime

long getCreationTime()
The creation time of this file.


LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.