public class NXCReceivedFile
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED |
static int |
OPEN |
static int |
RECEIVED |
| Modifier | Constructor and Description |
|---|---|
protected |
NXCReceivedFile(long id)
Create new received file with given id
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
abortTransfer() |
protected void |
close()
Close file
|
java.io.IOException |
getException() |
java.io.File |
getFile() |
long |
getId() |
long |
getSize() |
int |
getStatus() |
long |
getTimestamp() |
protected void |
writeData(byte[] data)
Write data to file
|
public static final int OPEN
public static final int RECEIVED
public static final int FAILED
protected NXCReceivedFile(long id)
id - protected void writeData(byte[] data)
data - protected void close()
protected void abortTransfer()
cause - public long getId()
public java.io.File getFile()
public int getStatus()
public long getTimestamp()
public long getSize()
public java.io.IOException getException()
Copyright © 2014. All Rights Reserved.