org.openide.filesystems

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » openide » org.openide.filesystems 
org.openide.filesystems
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.

Java Source File NameTypeComment
AbstractFileObject.javaClass Implementation of the file object for abstract file system.
AbstractFileSystem.javaClass This convenience implementation does much of the hard work of FileSystem and is generally more pleasant to create subclasses of.

It caches information about the filesystem in memory and periodically refreshes its content.

AbstractFolder.javaClass Implementation of the file object that simplyfies common tasks with hierarchy of objects for AbstractFileObject and MultiFileObject.
AtomicActionTest.javaClass
AttributesTestHidden.javaClass
DefaultAttributes.javaClass Implementation of AbstractFileSystem.Attr using a special file in each folder for holding attributes.
EnvironmentNotSupportedException.javaClass Exception thrown to signal that external execution and compilation is not supported on a given filesystem.
EventControl.javaClass
ExternalUtil.javaClass
FCLSupport.javaClass Support class for impl.
FileAlreadyLockedException.javaClass Exception raised when a file is already locked.
FileAttributeEvent.javaClass Event used to listen on filesystem attribute changes.
FileChangeAdapter.javaClass Adapter for changes in FileObjects.
FileChangeListener.javaInterface Listener for changes in FileObjects.
FileEvent.javaClass Event for listening on filesystem changes.
FileLock.javaClass Represents an acquired lock on a FileObject. Typical usage includes locking the file in the editor on first modification, and then using this object to ensure exclusive access when overwriting the file (saving) by using FileObject.getOutputStream . Also used for renames, deletes, &c.

Note that such locks are only used to protect against concurrent write accesses, and are not used for read operations (i.e.

FileObject.javaClass This is the base for all implementations of file objects on a filesystem.
FileObject75826Test.javaClass
FileObjectTestHid.javaClass
FileRenameEvent.javaClass Event indicating a file rename.
FileStateInvalidException.javaClass Signals that the file object is somehow corrupted.
FileStatusEvent.javaClass Event describing a change in annotation of files.
FileStatusListener.javaInterface Listener to changes in annotation of file objects.
FileSystem.javaClass Interface that provides basic information about a virtual filesystem.
FileSystemCapability.javaClass This class defines the capabilities of a filesystem to take part in different operations.
FileSystemFactoryHid.javaClass
FileSystemSuite.javaClass
FileSystemTestHid.javaClass
FileURL.javaClass Special URL connection directly accessing an internal file object.
FileUtil.javaClass Common utilities for handling files.
FileUtilTest.javaClass
FileUtilTestHidden.javaClass
FSException.javaClass Localized IOException for filesystems.
IsArchiveFileTest.javaClass
JarFileSystem.javaClass A virtual filesystem based on a JAR archive.

For historical reasons many AbstractFileSystem.* methods are implemented as protected in this class.

JarFileSystemTest.javaClass
ListenerList.javaClass A class that holds a list of listeners of some type.
LocalFileSystem.javaClass Local filesystem.
LocalFileSystemTest.javaClass
LocalFileSystemTestHid.javaClass
MemoryFileSystem.javaClass Simple implementation of memory file system.
MemoryFileSystemTest.javaClass
MemoryFSTestHid.javaClass
MfoOnSFSTestHid.javaClass
MIMEResolver.javaClass This class is intended as superclass for individual resolvers. All registered subclasses of MIMEResolver are looked up and asked one by one to resolve MIME type of passed FileObject.
MIMESupport.javaClass This class is intended to enhance MIME resolving.
MIMESupport48486Test.javaClass Simulate deadlock from issue 48486.
MIMESupport49418Test.javaClass Trying to mimic IZ 49418.
MIMESupport68318Test.javaClass
MIMESupport69049Test.javaClass
MIMESupportResolversTest.javaClass
MIMESupportTest.javaClass
MultiFileObject.javaClass Implementation of the file object for multi file system.
MultiFileObjectTestHid.javaClass
MultiFileSystem.javaClass General base class for filesystems which proxy to others.

This filesystem has no form of storage in and of itself.

MultiFileSystem1Test.javaClass
MultiFileSystem2Test.javaClass
MultiFileSystem3Test.javaClass
MultiFileSystemMaskTest.javaClass Test that MultiFileSystem can mask files correctly.
MultiFileSystemRefreshTest.javaClass Test that MultiFileSystem does not refresh more than it needs to when you call setDelegates.
MultiThreadedTestCaseHid.javaClass A multi-threaded JUnit test case.
NbfsUtil.javaClass
NoAWTTest.javaClass
Ordering.javaClass Implements folder ordering logic in FileUtil .
OrderingTest.javaClass
PathElements.javaClass
RefreshRequest.javaClass Request for parsing of an filesystem.
Repository.javaClass Holder for system filesystem, used for most of NetBeans' runtime configuration. There is only one useful thing to do with this class:
 FileSystem sfs = Repository.getDefault().getDefaultFileSystem();
 // now use somehow, e.g.
 FileObject menus = sfs.findResource("Menu");
 // ...
 
Formerly (NB 3.x) contained a list of mounted filesystems.
RepositoryAdapter.javaClass Dummy adapter for RepositoryListener.
RepositoryEvent.javaClass Event describing adding a filesystem to, or removing a filesystem from, the filesystem pool.
RepositoryGetDefaultTest.javaClass
RepositoryListener.javaInterface Listener to changes in the filesystem pool.
RepositoryReorderedEvent.javaClass Fired when a filesystem pool is reordered.
RepositoryTest.javaClass
RepositoryTestHid.javaClass
StreamPool.javaClass This class keeps info about streams (these streams are registered) that was not closed yet.
StreamPool50137Test.javaClass Simulate deadlock from issue 50137.
SystemFileSystemTest.javaClass
TestBaseHid.javaClass
TestUtilHid.javaClass
URLMapper.javaClass Mapper from FileObject -> URL. Should be registered in default lookup.
URLMapper50852Test.javaClass Simulates issue 50852.
URLMapper50984Test.javaClass Trying to mimic IZ 50984.
URLMapperLookupTest.javaClass URL mapper is often invoked from inside the lookup.
URLMapperTest.javaClass Test functionality of URLMapper.
URLMapperTestHidden.javaClass
URLMapperTestInternalHidden.javaClass
XMLFileSystem.javaClass XML-based filesystem.
 Description of format of XML file (which can be parsed by XMLFileSystem)
 ==================================================================
 Allowed Elements:        filesystem,file,folder,attr
 Mandatory attributes:
 -for filesystem    version=...
XMLFileSystemTest.javaClass
XMLFileSystemTestHid.javaClass
XMLMapAttr.javaClass Holds in Map attributes: Map(String attrName,XMLMapAttr.Attr attribute).
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.