maddingo / nio-fs-provider Goto Github PK
View Code? Open in Web Editor NEWJava7 NIO FileSystemProviders
Java7 NIO FileSystemProviders
I know, that nothing has happened on this project for quite some time, but I stumbled accros it while struggeling with JCIFS.
Looks much cleaner, but there is a minor bug:
no.uis.nio.smb.SMBDirectoryStream#iterator
When you try to create a URI for a path containing spaces, like "Documents and Settings", the Stream crashes. It's easy to prevent by replacing
SMBPath p = new SMBPath(provider, file.getURL().toURI());
with something like
URI fileUri = new URI(file.getURL().toString().replace(" ", "%20"));
SMBPath p = new SMBPath(provider, fileUri);
Just if your are still interessted in this at all.
same approach as in webdav
Dear Martin,
looking for a way to access Nexus programmatically, i found your wonderful filesystem provider depot. Trying maven 3.2.3 to build HEAD, i'm experiencing an error though:
http://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound
Looks like this is so common maven People have already contributed a dedicated site for it. Seems like a Problem in the maven Version used to build. Maybe you want to use the maven enforcer plugin to make sure People use maven 3.0?
Anyway, mvn 3.0.5 runs like a charm...
A new release of the is available see:
atetzner/webdav-embedded-server#7 (comment)
It would be great to upgrade this (and probably other dependencies) because the currently used is no longer available because some custom repositories are gone.
Set code coverage threshold to 0.6
The minimum required Java version should be 17 or21
hi, I've made some rather large updates for the webdav-nio-fs-provider
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>2.9.3</version>
</dependency>
Files.size()
, Files.getLastModifiedTime()
etc. resources = wfs.getSardine().list(path.toUri().toString(),0,true);
//List<DavResource> resources = wfs.getSardine().list(path.toUri().toString());
the full set of codes of the 3 files is in this gist
https://gist.github.com/ag88/5d8c5246bf200f25159348d315109552
There are possibly other files that i've touched hence this is incomplete. It mainly list the major changes.
I'm wondering if you may be keen to merge the above codes?
As if you do, I can make a pull request from github.
A thing is while I've tested the above codes in a little app against this webdav servlet
https://sourceforge.net/projects/webdav-servlet/
Pulling a directory list from a large linux home directory, with the servlet runnig and listing from there.
I'm not sure if there are things I may have missed. The tests are mostly in read only mode for now, i.e. pulling data from server.
Another thing is I'm insisting on targetting jdk-1.8, java 8 hence the codes are written against jdk 1.8 API.
This would make it easier to release binaries for both jdk-1.8 and later java versions, it is quite likely pulls from maven central needs binaries between 1.8 - current rather than the current java versions.
Create sort of a standardized test suite that all providers should pass and move most of the provider tests into the standard tests.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.