Commit Graph

17 Commits

Author SHA1 Message Date
Jano Svitok
a6dcb3ec38 Replace long with int in RemoteFile.getLastModified()
It seems that only ints are passed in and out...
2019-02-19 15:30:04 +01:00
Jano Svitok
293796fcc6 Remove unnecessary boxing/unboxing
(causes warning about loosing precision)
2019-02-19 15:14:03 +01:00
phantamanta44
2959e5fb6f Force utf-8 and write test cases for file listing 2018-12-25 00:12:51 -06:00
phantamanta44
1519b31162 Allow multi-byte characters in payload 2018-12-08 18:04:18 -06:00
Jano Svitok
5e1f1ec522 Move creation of Data{Input|Output}Stream to Transport 2018-10-25 14:18:26 +02:00
Mieras Made
93101d290b #100 Various methods can be made less accessible to increase encapsulation 2018-09-11 20:15:06 +02:00
Jano Svitok
71689e4757 Use StandardCharsets.UTF_8 instead of Charset.forName("utf-8); add charset where needed
Application should always work with utf-8 strings regardless of locale.
2018-08-06 13:45:31 +02:00
Samuel Carlsson
41872e3bb9 Refactor: Consistent whitespace & brace style 2016-03-20 09:13:59 +01:00
Samuel Carlsson
0e94c45791 Adding mocked unit test for pushing file. 2014-03-25 15:46:54 +01:00
Samuel Carlsson
c051da8e7f Fixing a problem where errors during pull where not handled correctly. 2014-03-20 21:31:25 +01:00
Samuel Carlsson
ac47d49cc7 Refactor: Creating RemoteFile base class to be used as arguments. 2014-03-20 11:33:03 +01:00
Samuel Carlsson
fef216f3ce Adding support for pulling files from device 2014-03-20 10:10:35 +01:00
Samuel Carlsson
de0c65d922 Adding support for pushing files to device. 2014-03-19 21:15:40 +01:00
Samuel Carlsson
6b8c330195 Fixing a bug where strings where sometimes not read completely during sync. Removing some IntellJ warnings. 2014-03-19 17:36:53 +01:00
Samuel Carlsson
0bc737adab Made the list method return the files rather than print them on stdout 2014-03-19 17:19:05 +01:00
Samuel Carlsson
d456c1d79a Refactor: Renaming to RemoteFile to better match the java api 2014-03-19 16:56:38 +01:00
Samuel Carlsson
272a29a750 Now possible to list files on device 2014-03-19 10:06:40 +01:00