Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #33867

Implementing FileSystem without MANIFEST.MF/META-INF/services

X-Received by 10.140.246.3 with SMTP id r3mr6200132qhc.2.1456256463312; Tue, 23 Feb 2016 11:41:03 -0800 (PST)
X-Received by 10.182.101.196 with SMTP id fi4mr413049obb.4.1456256463226; Tue, 23 Feb 2016 11:41:03 -0800 (PST)
Path csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!y89no3510460qge.0!news-out.google.com!l1ni22757igd.0!nntp.google.com!hb3no8674693igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Tue, 23 Feb 2016 11:41:03 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=188.230.147.232; posting-account=iNM_ZQoAAAD3TdUZ8PclIxqL79D30wNo
NNTP-Posting-Host 188.230.147.232
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <12be97a8-deb6-4684-a352-e01c3fd48285@googlegroups.com> (permalink)
Subject Implementing FileSystem without MANIFEST.MF/META-INF/services
From david.raver@gmail.com
Injection-Date Tue, 23 Feb 2016 19:41:03 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.programmer:33867

Show key headers only | View raw


I'm trying to set up a file system (by implementing FileSystemProvider, FileSystem, FileStore, etc.) so that later a user could only call FileSystems.getFileSystem(uri), with a specific URI (custom scheme, host, path, etc).

This is normally done by putting an entry into jar's MANIFEST.MF/META-INF/services, so that a JVM - using that information - can set it up itself, but I don't have that option. I want to do it programmatically. How can this be done?

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Implementing FileSystem without MANIFEST.MF/META-INF/services david.raver@gmail.com - 2016-02-23 11:41 -0800
  Re: Implementing FileSystem without MANIFEST.MF/META-INF/services Arne Vajhøj <arne@vajhoej.dk> - 2016-02-23 20:26 -0500
    Re: Implementing FileSystem without MANIFEST.MF/META-INF/services david.raver@gmail.com - 2016-02-24 00:14 -0800
      Re: Implementing FileSystem without MANIFEST.MF/META-INF/services Martin Gregorie <martin@address-in-sig.invalid> - 2016-02-24 18:45 +0000
        Re: Implementing FileSystem without MANIFEST.MF/META-INF/services david.raver@gmail.com - 2016-02-24 12:31 -0800

csiph-web