commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject cvs commit: jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/zip ZipFileProvider.java ZipFileSystem.java
Date Mon, 03 May 2004 19:48:49 GMT
imario      2004/05/03 12:48:49

  Modified:    vfs/src/java/org/apache/commons/vfs/provider
                        AbstractFileObject.java AbstractFileProvider.java
                        AbstractFileSystem.java
                        AbstractLayeredFileProvider.java
                        AbstractOriginatingFileProvider.java
               vfs/xdocs api.xml
               vfs/src/java/org/apache/commons/vfs/impl
                        DefaultFileSystemManager.java providers.xml
                        StandardFileSystemManager.java
                        VirtualFileProvider.java VirtualFileSystem.java
               vfs/src/java/org/apache/commons/vfs/provider/local
                        DefaultLocalFileProvider.java LocalFileSystem.java
               vfs/src/java/org/apache/commons/vfs FileObject.java
                        FileSystem.java FileSystemConfigBuilder.java
                        FileSystemManager.java Resources.properties
               vfs/src/java/org/apache/commons/vfs/provider/ftp
                        FtpFileProvider.java FtpFileSystem.java
                        FtpFileSystemConfigBuilder.java
               vfs/src/test/org/apache/commons/vfs/provider/ftp/test
                        FtpProviderTestCase.java
               vfs/src/java/org/apache/commons/vfs/provider/http
                        HttpFileProvider.java HttpFileSystem.java
               vfs/src/test/org/apache/commons/vfs/provider/http/test
                        HttpProviderTestCase.java
               vfs/src/java/org/apache/commons/vfs/provider/jar
                        JarFileProvider.java JarFileSystem.java
               vfs/src/test/org/apache/commons/vfs/provider/jar/test
                        JarProviderTestCase.java NestedJarTestCase.java
               vfs/src/test/org/apache/commons/vfs/provider/zip/test
                        NestedZipTestCase.java ZipProviderTestCase.java
               vfs/src/test/org/apache/commons/vfs/test
                        ProviderTestSuite.java
               vfs/src/java/org/apache/commons/vfs/provider/sftp
                        SftpFileProvider.java SftpFileSystem.java
                        SftpFileSystemConfigBuilder.java
               vfs/src/test/org/apache/commons/vfs/provider/sftp/test
                        SftpProviderTestCase.java
               vfs/src/java/org/apache/commons/vfs/provider/smb
                        SmbFileProvider.java SmbFileSystem.java
               vfs/src/test/org/apache/commons/vfs/provider/smb/test
                        SmbProviderTestCase.java
               vfs/src/java/org/apache/commons/vfs/provider/temp
                        TemporaryFileProvider.java
               vfs/src/test/org/apache/commons/vfs/provider/temp/test
                        TemporaryProviderTestCase.java
               vfs/src/java/org/apache/commons/vfs/provider/url
                        UrlFileProvider.java UrlFileSystem.java
               vfs/src/test/org/apache/commons/vfs/provider/url/test
                        UrlProviderHttpTestCase.java
                        UrlProviderTestCase.java
               vfs/src/java/org/apache/commons/vfs/provider/webdav
                        WebdavFileProvider.java WebDavFileSystem.java
               vfs/src/test/org/apache/commons/vfs/provider/webdav/test
                        WebdavProviderTestCase.java
               vfs/src/java/org/apache/commons/vfs/provider/zip
                        ZipFileProvider.java ZipFileSystem.java
  Added:       vfs/src/java/org/apache/commons/vfs/cache
                        DefaultFilesCache.java FilesCacheConfigBuilder.java
                        NullFilesCache.java
               vfs/src/java/org/apache/commons/vfs FilesCache.java
  Log:
  pluggable files cache.
  
  Till now VFS cached every file at least for the lifetime of the filesystem. But the filesystem
lifes as long as the filesystem manager or until one calls close() (but who will do this?)
  So VFS might tend to use more and more memory if using VFS as singleton (as proposed in
the docs)
  
  Currently only a NullFilesCache (no cache) and a DefaultFilesCache (current behaviour) exists.
  But now there is a framework where we could begin to implement a more sophisticated cache.
  
  Revision  Changes    Path
  1.36      +6 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java.diff?r1=1.35&r2=1.36
  
  
  1.10      +13 -0     jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractFileProvider.java.diff?r1=1.9&r2=1.10
  
  
  1.23      +36 -7     jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractFileSystem.java.diff?r1=1.22&r2=1.23
  
  
  1.13      +7 -1      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractLayeredFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractLayeredFileProvider.java.diff?r1=1.12&r2=1.13
  
  
  1.17      +7 -1      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractOriginatingFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractOriginatingFileProvider.java.diff?r1=1.16&r2=1.17
  
  
  1.7       +109 -39   jakarta-commons-sandbox/vfs/xdocs/api.xml
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/xdocs/api.xml.diff?r1=1.6&r2=1.7
  
  
  1.1                  jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/cache/DefaultFilesCache.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/cache/DefaultFilesCache.java?rev=1.1
  
  
  1.1                  jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/cache/FilesCacheConfigBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/cache/FilesCacheConfigBuilder.java?rev=1.1
  
  
  1.1                  jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/cache/NullFilesCache.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/cache/NullFilesCache.java?rev=1.1
  
  
  1.26      +41 -2     jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java.diff?r1=1.25&r2=1.26
  
  
  1.5       +1 -0      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/providers.xml
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/providers.xml.diff?r1=1.4&r2=1.5
  
  
  1.16      +119 -81   jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/StandardFileSystemManager.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/StandardFileSystemManager.java.diff?r1=1.15&r2=1.16
  
  
  1.11      +6 -5      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/VirtualFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/VirtualFileProvider.java.diff?r1=1.10&r2=1.11
  
  
  1.13      +5 -4      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/VirtualFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/VirtualFileSystem.java.diff?r1=1.12&r2=1.13
  
  
  1.5       +6 -3      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/local/DefaultLocalFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/local/DefaultLocalFileProvider.java.diff?r1=1.4&r2=1.5
  
  
  1.21      +4 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/local/LocalFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/local/LocalFileSystem.java.diff?r1=1.20&r2=1.21
  
  
  1.23      +1 -1      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/FileObject.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/FileObject.java.diff?r1=1.22&r2=1.23
  
  
  1.14      +6 -3      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/FileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/FileSystem.java.diff?r1=1.13&r2=1.14
  
  
  1.2       +5 -5      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/FileSystemConfigBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/FileSystemConfigBuilder.java.diff?r1=1.1&r2=1.2
  
  
  1.15      +5 -0      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/FileSystemManager.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/FileSystemManager.java.diff?r1=1.14&r2=1.15
  
  
  1.28      +2 -0      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/Resources.properties
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/Resources.properties.diff?r1=1.27&r2=1.28
  
  
  1.1                  jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/FilesCache.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/FilesCache.java?rev=1.1
  
  
  1.5       +8 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/ftp/FtpFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/ftp/FtpFileProvider.java.diff?r1=1.4&r2=1.5
  
  
  1.25      +3 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/ftp/FtpFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/ftp/FtpFileSystem.java.diff?r1=1.24&r2=1.25
  
  
  1.2       +2 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/ftp/FtpFileSystemConfigBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/ftp/FtpFileSystemConfigBuilder.java.diff?r1=1.1&r2=1.2
  
  
  1.10      +6 -6      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/ftp/test/FtpProviderTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/ftp/test/FtpProviderTestCase.java.diff?r1=1.9&r2=1.10
  
  
  1.5       +8 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileProvider.java.diff?r1=1.4&r2=1.5
  
  
  1.6       +4 -3      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/http/HttpFileSystem.java.diff?r1=1.5&r2=1.6
  
  
  1.5       +7 -7      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/http/test/HttpProviderTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/http/test/HttpProviderTestCase.java.diff?r1=1.4&r2=1.5
  
  
  1.5       +8 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/jar/JarFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/jar/JarFileProvider.java.diff?r1=1.4&r2=1.5
  
  
  1.16      +5 -3      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/jar/JarFileSystem.java.diff?r1=1.15&r2=1.16
  
  
  1.10      +8 -7      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/jar/test/JarProviderTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/jar/test/JarProviderTestCase.java.diff?r1=1.9&r2=1.10
  
  
  1.11      +11 -10    jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/jar/test/NestedJarTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/jar/test/NestedJarTestCase.java.diff?r1=1.10&r2=1.11
  
  
  1.9       +9 -9      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/zip/test/NestedZipTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/zip/test/NestedZipTestCase.java.diff?r1=1.8&r2=1.9
  
  
  1.8       +8 -7      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/zip/test/ZipProviderTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/zip/test/ZipProviderTestCase.java.diff?r1=1.7&r2=1.8
  
  
  1.17      +2 -2      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/test/ProviderTestSuite.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/test/ProviderTestSuite.java.diff?r1=1.16&r2=1.17
  
  
  1.8       +8 -3      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/sftp/SftpFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/sftp/SftpFileProvider.java.diff?r1=1.7&r2=1.8
  
  
  1.8       +5 -3      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/sftp/SftpFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/sftp/SftpFileSystem.java.diff?r1=1.7&r2=1.8
  
  
  1.2       +2 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/sftp/SftpFileSystemConfigBuilder.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/sftp/SftpFileSystemConfigBuilder.java.diff?r1=1.1&r2=1.2
  
  
  1.6       +2 -2      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/sftp/test/SftpProviderTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/sftp/test/SftpProviderTestCase.java.diff?r1=1.5&r2=1.6
  
  
  1.5       +8 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/smb/SmbFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/smb/SmbFileProvider.java.diff?r1=1.4&r2=1.5
  
  
  1.20      +3 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/smb/SmbFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/smb/SmbFileSystem.java.diff?r1=1.19&r2=1.20
  
  
  1.11      +6 -6      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/smb/test/SmbProviderTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/smb/test/SmbProviderTestCase.java.diff?r1=1.10&r2=1.11
  
  
  1.12      +8 -4      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/temp/TemporaryFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/temp/TemporaryFileProvider.java.diff?r1=1.11&r2=1.12
  
  
  1.8       +8 -7      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/temp/test/TemporaryProviderTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/temp/test/TemporaryProviderTestCase.java.diff?r1=1.7&r2=1.8
  
  
  1.18      +8 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/url/UrlFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/url/UrlFileProvider.java.diff?r1=1.17&r2=1.18
  
  
  1.17      +4 -3      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/url/UrlFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/url/UrlFileSystem.java.diff?r1=1.16&r2=1.17
  
  
  1.4       +7 -7      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/url/test/UrlProviderHttpTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/url/test/UrlProviderHttpTestCase.java.diff?r1=1.3&r2=1.4
  
  
  1.9       +9 -8      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/url/test/UrlProviderTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/url/test/UrlProviderTestCase.java.diff?r1=1.8&r2=1.9
  
  
  1.5       +8 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileProvider.java.diff?r1=1.4&r2=1.5
  
  
  1.12      +4 -3      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/webdav/WebDavFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/webdav/WebDavFileSystem.java.diff?r1=1.11&r2=1.12
  
  
  1.6       +8 -8      jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/webdav/test/WebdavProviderTestCase.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/test/org/apache/commons/vfs/provider/webdav/test/WebdavProviderTestCase.java.diff?r1=1.5&r2=1.6
  
  
  1.5       +8 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/zip/ZipFileProvider.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/zip/ZipFileProvider.java.diff?r1=1.4&r2=1.5
  
  
  1.26      +4 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/zip/ZipFileSystem.java
  
  http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/zip/ZipFileSystem.java.diff?r1=1.25&r2=1.26
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message