public class NXCReceivedFile extends 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
|
IOException |
getException() |
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 File getFile()
public int getStatus()
public long getTimestamp()
public long getSize()
public IOException getException()
Copyright © 2015. All rights reserved.