com.partnersoft.io
Class FileActivityEvent

java.lang.Object
  extended by com.partnersoft.io.FileActivityEvent

public class FileActivityEvent
extends java.lang.Object

An event that notifies a listener of something happening with a specific file.

Author:
Paul Reavis Copyright 2004 Partner Software, Inc.

Constructor Summary
FileActivityEvent(java.lang.String activityType, java.io.File file)
           
FileActivityEvent(java.lang.String activityType, java.io.File file, int count)
           
 
Method Summary
 java.lang.String getActivityType()
          Gets the value of activityType
 int getCount()
          Gets the value of count
 java.io.File getFile()
          Gets the value of file
 void setActivityType(java.lang.String argActivityType)
          Sets the value of activityType
 void setCount(int argCount)
          Sets the value of count
 void setFile(java.io.File argFile)
          Sets the value of file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileActivityEvent

public FileActivityEvent(java.lang.String activityType,
                         java.io.File file,
                         int count)

FileActivityEvent

public FileActivityEvent(java.lang.String activityType,
                         java.io.File file)
Method Detail

getActivityType

public java.lang.String getActivityType()
Gets the value of activityType

Returns:
the value of activityType

setActivityType

public void setActivityType(java.lang.String argActivityType)
Sets the value of activityType

Parameters:
argActivityType - Value to assign to this.activityType

getCount

public int getCount()
Gets the value of count

Returns:
the value of count

setCount

public void setCount(int argCount)
Sets the value of count

Parameters:
argCount - Value to assign to this.count

getFile

public java.io.File getFile()
Gets the value of file

Returns:
the value of file

setFile

public void setFile(java.io.File argFile)
Sets the value of file

Parameters:
argFile - Value to assign to this.file