Hi, just saw the implementation of apache vfs:
https://commons.apache.org/proper/commons-vfs/filesystems.html This can be used with the new FileSystemResourceReference kind regards Tobias > Am 26.10.2015 um 10:24 schrieb Maxim Solodovnik <[email protected]>: > > I like the idea, these new resources will be useful for our project > > On Mon, Oct 26, 2015 at 3:21 PM, Tobias Soloschenko < > [email protected]> wrote: > >> Hi again, >> >> I just implemented an example based on the java.nio API: >> >> >> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemResourceReference.java >> >> Example: >> >> >> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemExamplePage.java >> >> Benefits: >> * FileSystem independend API - also other protocols then "file" / "http" >> can be used >> * Mime-Type detection can be implemented with the default Java NIO way >> (java.nio.file.spi.FileTypeDetector) >> * Supports content ranges >> >> kind regards >> >> Tobias >> >> -------- Weitergeleitete Nachricht -------- >> Betreff: Generic resource reference for video / audio playback >> Datum: Mon, 26 Oct 2015 06:39:25 +0100 >> Von: Tobias Soloschenko <[email protected]> >> An: [email protected] >> >> >> >> >> Hi guys, >> >> as I wrote in the confluence page about new Wicket 8 features, I wanted >> to ask you what you think about a generic resource reference to handle >> with media files located at the file system of the server or at least >> are reachable by java streams. This would it make easier to point to a >> media server and get the content from there. >> >> What do you think? >> >> kind regards >> >> Tobias > > > -- > WBR > Maxim aka solomax
