public class FileRecord
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CANCELED
Status indicating that the file transfer has been canceled.
|
static java.lang.String |
COMPLETED
Status indicating that the file transfer has been completed.
|
static java.lang.String |
FAILED
Status indicating that the file transfer has failed.
|
static java.lang.String |
IN
Direction of the transfer: in
|
static java.lang.String |
OUT
Direction of the transfer: out
|
static java.lang.String |
REFUSED
Status indicating that the file transfer has been refused.
|
Constructor and Description |
---|
FileRecord(java.lang.String id,
Contact contact,
java.lang.String direction,
java.util.Date date,
java.io.File file,
java.lang.String status)
Constructs new FileRecord
|
Modifier and Type | Method and Description |
---|---|
Contact |
getContact()
The contact.
|
java.util.Date |
getDate()
The date of the record.
|
java.lang.String |
getDirection()
The direction of the transfer.
|
java.io.File |
getFile()
The file that was transfered.
|
java.lang.String |
getID()
The id.
|
java.lang.String |
getStatus()
The status of the transfer.
|
public static final java.lang.String OUT
public static final java.lang.String IN
public static final java.lang.String COMPLETED
public static final java.lang.String CANCELED
public static final java.lang.String FAILED
public static final java.lang.String REFUSED
public FileRecord(java.lang.String id, Contact contact, java.lang.String direction, java.util.Date date, java.io.File file, java.lang.String status)
id
- contact
- direction
- date
- file
- status
- public java.lang.String getDirection()
public java.util.Date getDate()
public java.io.File getFile()
public java.lang.String getStatus()
public Contact getContact()
public java.lang.String getID()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.