MCPcopy Index your code
hub / github.com/apache/commons-vfs

github.com/apache/commons-vfs @commons-vfs-2.4.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release commons-vfs-2.4.1 ↗ · + Follow
3,802 symbols 12,760 edges 462 files 2,237 documented · 59% updated 2d ago★ 249
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Apache Commons VFS Project

Build Status Coverage Status Maven Central Javadocs

Apache Commons VFS is a Virtual File System library.

Documentation

More information can be found on the Apache Commons VFS Project homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons VFS Project should be posted to the user mailing list.

Where can I get the latest release?

You can download source and binaries from our download page.

Alternatively you can pull it from the central Maven repositories:

<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-vfs2</artifactId>
  <version>2.4.1</version>
</dependency>

Contributing

We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us: + No tabs! Please use spaces for indentation. + Respect the code style. + Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change. + Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running mvn clean test.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.

License

This code is under the Apache Licence v2.

See the NOTICE.txt file for required notices and attributions.

Donations

You like Apache Commons VFS Project? Then donate back to the ASF to support the development.

Additional Resources

Extension points exported contracts — how you extend this code

RandomAccessContent (Interface)
Provides random access over content. [10 implementers]
commons-vfs2/src/main/java/org/apache/commons/vfs2/RandomAccessContent.java
FileFilter (Interface)
This interface is used to select files when traversing the direct children of the base. [53 implementers]
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileFilter.java
FileContentInfoFactory (Interface)
Creates FileContentInfo instances to determine the content-info for given file contents. [14 implementers]
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileContentInfoFactory.java
FileSelector (Interface)
This interface is used to select files when traversing a file hierarchy. @see Selectors [17 implementers]
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileSelector.java
FileListener (Interface)
Listens for changes to a file. [8 implementers]
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileListener.java

Core symbols most depended-on inside this repo

getName
called by 365
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
resolveFile
called by 330
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
exists
called by 209
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
getContent
called by 189
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
getFileSystem
called by 126
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java
length
called by 110
commons-vfs2/src/main/java/org/apache/commons/vfs2/RandomAccessContent.java
get
called by 108
commons-vfs2/src/main/java/org/apache/commons/vfs2/util/PosixPermissions.java
close
called by 97
commons-vfs2/src/main/java/org/apache/commons/vfs2/FileObject.java

Shape

Method 3,282
Class 466
Interface 42
Enum 12

Languages

Java100%

Modules by API surface

commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java95 symbols
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java57 symbols
commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileSystemManager.java47 symbols
commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpProviderTestCase.java44 symbols
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java44 symbols
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/ram/RamFileRandomAccessContent.java42 symbols
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java42 symbols
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystemConfigBuilder.java41 symbols
commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DecoratedFileObject.java39 symbols
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFileRandomAccessContent.java36 symbols
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/http4/Http4FileSystemConfigBuilder.java36 symbols
commons-vfs2-sandbox/src/main/java/org/apache/commons/vfs2/provider/smb/SmbFileRandomAccessContent.java36 symbols

For agents

$ claude mcp add commons-vfs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact