public class Sender extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
directory |
protected cz.abclinuxu.datoveschranky.impl.DataBoxManager |
manager |
protected String |
receiverId |
protected cz.abclinuxu.datoveschranky.impl.MessageValidator |
validator |
| Constructor and Description |
|---|
Sender(cz.abclinuxu.datoveschranky.impl.DataBoxManager manager,
String receiverId,
String directory) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getBytesFromFile(File file) |
static void |
main(String[] args) |
void |
send() |
protected final cz.abclinuxu.datoveschranky.impl.DataBoxManager manager
protected final String receiverId
protected final String directory
protected final cz.abclinuxu.datoveschranky.impl.MessageValidator validator
public static byte[] getBytesFromFile(File file) throws IOException
IOExceptionCopyright © 2017. All rights reserved.