KIE NIO.2 :: API 6.0.0.Beta3

org.kie.commons.java.nio.file.api
Class FileSystemProviders

java.lang.Object
  extended by org.kie.commons.java.nio.file.api.FileSystemProviders

public final class FileSystemProviders
extends Object

Back port of JSR-203 from Java Platform, Standard Edition 7.

See Also:
Original JavaDoc

Method Summary
static FileSystemProvider getDefaultProvider()
          Non standard method that provides access to default provider (default:// scheme).
static List<FileSystemProvider> installedProviders()
           
static FileSystemProvider resolveProvider(URI uri)
          Non standard method to resolve a provider based on uri's scheme
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultProvider

public static FileSystemProvider getDefaultProvider()
                                             throws ServiceConfigurationError
Non standard method that provides access to default provider (default:// scheme).

Returns:
the default file system provider
Throws:
ServiceConfigurationError

resolveProvider

public static FileSystemProvider resolveProvider(URI uri)
Non standard method to resolve a provider based on uri's scheme

Parameters:
uri - the uri
Returns:
the file system provider

installedProviders

public static List<FileSystemProvider> installedProviders()
                                                   throws ServiceConfigurationError
Throws:
ServiceConfigurationError
See Also:
Original JavaDoc

KIE NIO.2 :: API 6.0.0.Beta3

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.