Skip navigation links
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
12c (12.2.1.3.0)

E80094-01

Package oracle.ide.net

Provides a virtual file system framework based on java.net.URL.

See: Description

Package oracle.ide.net Description

Provides a virtual file system framework based on java.net.URL. The entry point for accessing the virtual file system is URLFileSystem. Operations for custom protocols are registered as URLFileSystemHelper instances with URLFileSystem.

To ensure consistency, all URLs in the IDE framework must be created using URLFactory. URLs that represent directories must end with a "/" in their path part. Use the URLFactory.newDirURL(..) methods to ensure the proper format for directory URLs.

The standard chooser dialog for selecting URLs is the URLChooser class. The typical usage for URLChooser is to call one of the oracle.ide.dialogs.DialogUtil.newURLChooser(..) methods.

The URLPath class is used for representing sequences of URLs that participate in path-like operations. The URLPath class has methods for resolving a relative URL on the URLPath and for producing a relative URL given an absolute URL.

The URLTempFile class is used for ensuring that a document pointed to by an URL is accessible via a java.io.File instance. It will make a copy of the document to a local temporary file if necessary and it will take care of cleaning up the file when it is no longer needed.

The JarUtil and JarIndex classes are used for producing efficient indexes on JAR and ZIP files. The central directory for the JAR file is read and indexed in memory, allowing for efficient lookup of specific entries and the ability to open an InputStream directoy on a particular JAR entry.

Skip navigation links
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
12c (12.2.1.3.0)

E80094-01

Copyright © 1997, 2017, Oracle. All rights reserved.