Commit Graph

21 Commits

Author SHA1 Message Date
Sebastian Stenzel
c86068d7bb updated InMemoryFile to support distinct read and write access without mixing up positions and stuff 2015-12-29 21:58:47 +01:00
Sebastian Stenzel
44d1250986 Added new filesystem layer for read/write alignment with boundary of encrypted chunks. 2015-12-29 13:41:47 +01:00
Sebastian Stenzel
c21654eac1 DelegatingFileSystem: Use factories for Files, Folders, ReadableFiles and WritableFiles 2015-12-29 11:46:37 +01:00
Sebastian Stenzel
c466c7e3ba New base class for filesystem decorators, which basically just delegate work to the underlying file system 2015-12-29 10:50:23 +01:00
Markus Kreusch
260303127e Replaced DirectoryWalker by FileSystemVisitor 2015-12-28 23:07:09 +01:00
Markus Kreusch
d073bdfad9 Removed FolderCreateMode from filesystem api
* Folder#create now always creates the parents
2015-12-28 21:29:34 +01:00
Markus Kreusch
356ea5c319 Refactored filesystem api
* Removed Readable- and WritableBytes
** Replaced with Readable-/WritableByteChannel
** Methods now integrated in Readable- and WritableFile
** Replaced positioned read/write by method to set the position
2015-12-28 20:54:18 +01:00
Markus Kreusch
1804a52740 Restructured test dependencies
* All modules now have commons-test as test dependency.
* commons-test has dependencies to junit, hamcrest and mockito
2015-12-28 19:30:40 +01:00
Markus Kreusch
157839c32f Changes to filesystem API and nio implementation
* Partial implementation of nio filesystem
* Addded some tests
* Added project for common test dependencies
* Removed default implementation of Folder#delete
** reason: didn't work because empty folders were not deleted and this
cannot be done in the default implementation
2015-12-28 16:32:09 +01:00
Sebastian Stenzel
0254569826 webdav move/copy/delete 2015-12-28 14:06:40 +01:00
Sebastian Stenzel
951a02a9a5 cleanup 2015-12-19 11:26:35 +01:00
Sebastian Stenzel
a879ed2237 Preparations for file content encryption (no partial support yet) 2015-12-18 22:07:12 +01:00
Sebastian Stenzel
b22ac719f2 renamed filesystem layer maven modules 2015-12-18 00:06:31 +01:00
Markus Kreusch
25eed3dc4a Changes to filesystem API and nio implementation
* Partial implementation of nio filesystem
* Removed timeouts from openReadable and openWritable
* Added convenience methods for copying
* Added utility to support deadlock safe opening of multiple files
2015-12-17 23:46:58 +01:00
Sebastian Stenzel
92e9fc5871 Merge code coverage metrics from branch 'master' into layered-io 2015-12-15 21:35:01 +01:00
Sebastian Stenzel
35bb042430 moved CryptoFolder.contains(Node) to Folder.isAncestorOf(Node), clarified a few javadocs 2015-12-15 13:50:50 +01:00
Sebastian Stenzel
762f362784 adjusted to updated API, restored Folder.copy and Folder.move 2015-12-15 02:27:41 +01:00
Markus Kreusch
3c7651a78a Modified file system API
* Changed IOExceptions ot UncheckedIOExceptions
* Added javadoc
* Added directory move and copy operations
2015-12-14 23:49:28 +01:00
Sebastian Stenzel
99015680b1 began implementation of new filesystem api based encryption layer 2015-12-14 19:20:00 +01:00
Sebastian Stenzel
e1b74ce312 first tests with refactored io layers 2015-12-14 04:37:29 +01:00
Markus Kreusch
3971d3afd5 Added first draft of file system API 2015-12-13 21:45:03 +01:00