All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openide.filesystems.package.html Maven / Gradle / Ivy

There is a newer version: RELEASE240
Show newest version




NetBeans internally uses the concept of a

virtual filesystem.

This interface is used by all upper layers of NetBeans to read &
write files, mount & display directories, move and delete files, and
allow external compilation and execution to find libraries correctly.

NetBeans itself implements two filesystems: a local filesystem, which encapsulates access to the operating system's normal files; and a JAR filesystem, which allows users to mount Java Archive Files as if they were read-only directories.

Using the Filesystems API, third parties may add support for access to file-like objects stored in some different manner - for example, in a database or proprietary object storage system. More commonly, module authors should use this API whenever they need access to files; then their module should work automatically with any filesystem supported by NetBeans.

Other capabilities provided by the Filesystems API include locking files during write operations; listening for changes in a file's status, so that another part of NetBeans may reflect that change; and providing support for including the filesystem in the runtime class path of an external compiler or executor.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy