com.aol.acc
Class AccFileSharingItem

java.lang.Object
  extended by com.aol.acc.AccBase
      extended by com.aol.acc.AccFileSharingItem

public class AccFileSharingItem
extends AccBase

IAccFileSharingItem represents an item in an incoming file sharing listing.


Method Summary
 long getFileBytes()
          Number of bytes in the item
 int getFileMacCreator()
          Macintosh creator code for the item
 int getFileMacFlags()
          Macintosh Finder flags for the item
 int getFileMacType()
          Macintosh file type code for the item
 AccFileSharingSession getFileSharingSession()
          The file sharing session associated with the item
 java.util.Date getFileTimeCreated()
          Item's creation time
 java.util.Date getFileTimeModified()
          Item's last modified time
 boolean getIsDirectory()
          Determine if the item being shared is a directory or file
 AccFileSharingItem getItemByIndex(int index)
          Once the listing has been retrieved, get a child listing item.

 int getListingCount()
          The count of sub-items for this item; available after OnFileSharingRequestListingResult
 java.lang.String getLocalPath()
          The local location that this item will be downloaded to
 AccFileSharingItem getParentItem()
          The parent item, if any
 java.lang.String getRemoteName()
          Item's name on the remote side
 java.lang.String getRemotePath()
          Item's logical path on the remote side
 int requestListing()
          Request a listing of this directory.

 int requestXfer()
          Request this file or folder, and all subfolders.

 void setLocalPath(java.lang.String LocalPath)
          The local location that this item will be downloaded to
 
Methods inherited from class com.aol.acc.AccBase
compareHandle, equals
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

requestListing

public int requestListing()
                   throws AccException
Request a listing of this directory.

Throws:
AccException

getItemByIndex

public AccFileSharingItem getItemByIndex(int index)
                                  throws AccException
Once the listing has been retrieved, get a child listing item.

Throws:
AccException

requestXfer

public int requestXfer()
                throws AccException
Request this file or folder, and all subfolders.

Throws:
AccException

getIsDirectory

public boolean getIsDirectory()
                       throws AccException
Determine if the item being shared is a directory or file

Throws:
AccException

getListingCount

public int getListingCount()
                    throws AccException
The count of sub-items for this item; available after OnFileSharingRequestListingResult

Throws:
AccException

getLocalPath

public java.lang.String getLocalPath()
                              throws AccException
The local location that this item will be downloaded to

Throws:
AccException

setLocalPath

public void setLocalPath(java.lang.String LocalPath)
                  throws AccException
The local location that this item will be downloaded to

Throws:
AccException

getParentItem

public AccFileSharingItem getParentItem()
                                 throws AccException
The parent item, if any

Throws:
AccException

getRemoteName

public java.lang.String getRemoteName()
                               throws AccException
Item's name on the remote side

Throws:
AccException

getRemotePath

public java.lang.String getRemotePath()
                               throws AccException
Item's logical path on the remote side

Throws:
AccException

getFileBytes

public long getFileBytes()
                  throws AccException
Number of bytes in the item

Throws:
AccException

getFileMacCreator

public int getFileMacCreator()
                      throws AccException
Macintosh creator code for the item

Throws:
AccException

getFileMacFlags

public int getFileMacFlags()
                    throws AccException
Macintosh Finder flags for the item

Throws:
AccException

getFileMacType

public int getFileMacType()
                   throws AccException
Macintosh file type code for the item

Throws:
AccException

getFileTimeCreated

public java.util.Date getFileTimeCreated()
                                  throws AccException
Item's creation time

Throws:
AccException

getFileTimeModified

public java.util.Date getFileTimeModified()
                                   throws AccException
Item's last modified time

Throws:
AccException

getFileSharingSession

public AccFileSharingSession getFileSharingSession()
                                            throws AccException
The file sharing session associated with the item

Throws:
AccException