Package | Description |
---|---|
org.apache.jackrabbit.core.fs | |
org.apache.jackrabbit.core.fs.db |
This package contains the class
,
a simple generic JDBC-based FileSystem implementation
for Jackrabbit. |
org.apache.jackrabbit.core.fs.local | |
org.apache.jackrabbit.core.fs.mem | |
org.apache.jackrabbit.core.persistence.util | |
org.apache.jackrabbit.core.query.lucene | |
org.apache.jackrabbit.vfs.ext.fs |
Modifier and Type | Method and Description |
---|---|
static void |
FileSystemPathUtil.checkFormat(String path)
Checks if
path is a valid path. |
void |
FileSystem.close()
Close the file system.
|
void |
BasedFileSystem.close()
Close the file system.
|
void |
FileSystem.createFolder(String folderPath)
Creates the folder named by this path, including any necessary but
nonexistent parent folders.
|
void |
BasedFileSystem.createFolder(String folderPath)
Creates the folder named by this path, including any necessary but
nonexistent parent folders.
|
void |
FileSystemResource.delete()
Deletes this resource.
|
void |
FileSystemResource.delete(boolean pruneEmptyParentDirs)
Deletes this resource.
|
void |
FileSystem.deleteFile(String filePath)
Deletes the file denoted by this path.
|
void |
BasedFileSystem.deleteFile(String filePath)
Deletes the file denoted by this path.
|
void |
FileSystem.deleteFolder(String folderPath)
Deletes the folder denoted by this path.
|
void |
BasedFileSystem.deleteFolder(String folderPath)
Deletes the folder denoted by this path.
|
boolean |
FileSystemResource.exists() |
boolean |
FileSystem.exists(String path)
Tests whether the file system entry denoted by this path exists.
|
boolean |
BasedFileSystem.exists(String path)
Tests whether the file system entry denoted by this path exists.
|
InputStream |
FileSystemResource.getInputStream() |
InputStream |
FileSystem.getInputStream(String filePath)
Returns an input stream of the contents of the file denoted by this path.
|
InputStream |
BasedFileSystem.getInputStream(String filePath)
Returns an input stream of the contents of the file denoted by this path.
|
OutputStream |
FileSystemResource.getOutputStream() |
OutputStream |
FileSystem.getOutputStream(String filePath)
Returns an output stream for writing bytes to the file denoted by this path.
|
OutputStream |
BasedFileSystem.getOutputStream(String filePath)
Returns an output stream for writing bytes to the file denoted by this path.
|
boolean |
FileSystem.hasChildren(String path)
Tests whether the file system entry denoted by this path has child entries.
|
boolean |
BasedFileSystem.hasChildren(String path)
Tests whether the file system entry denoted by this path has child entries.
|
void |
FileSystem.init()
Initialize the file system
|
void |
BasedFileSystem.init()
Initialize the file system
|
boolean |
FileSystem.isFile(String path)
Tests whether the file system entry denoted by this path exists and
is a file.
|
boolean |
BasedFileSystem.isFile(String path)
Tests whether the file system entry denoted by this path exists and
is a file.
|
boolean |
FileSystem.isFolder(String path)
Tests whether the file system entry denoted by this path exists and
is a folder.
|
boolean |
BasedFileSystem.isFolder(String path)
Tests whether the file system entry denoted by this path exists and
is a folder.
|
long |
FileSystemResource.lastModified() |
long |
FileSystem.lastModified(String path)
Returns the time that the file system entry denoted by this path
was last modified.
|
long |
BasedFileSystem.lastModified(String path)
Returns the time that the file system entry denoted by this path
was last modified.
|
long |
FileSystemResource.length() |
long |
FileSystem.length(String filePath)
Returns the length of the file denoted by this path.
|
long |
BasedFileSystem.length(String filePath)
Returns the length of the file denoted by this path.
|
String[] |
FileSystem.list(String folderPath)
Returns an array of strings naming the files and folders
in the folder denoted by this path.
|
String[] |
BasedFileSystem.list(String folderPath)
Returns an array of strings naming the files and folders
in the folder denoted by this path.
|
String[] |
FileSystem.listFiles(String folderPath)
Returns an array of strings naming the files in the folder
denoted by this path.
|
String[] |
BasedFileSystem.listFiles(String folderPath)
Returns an array of strings naming the files in the folder
denoted by this path.
|
String[] |
FileSystem.listFolders(String folderPath)
Returns an array of strings naming the folders in the folder
denoted by this path.
|
String[] |
BasedFileSystem.listFolders(String folderPath)
Returns an array of strings naming the folders in the folder
denoted by this path.
|
void |
FileSystemResource.makeParentDirs()
Creates the parent directory of this resource, including any necessary
but nonexistent parent directories.
|
void |
FileSystemResource.spool(OutputStream out)
Spools this resource to the given output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
DerbyFileSystem.close()
Close the file system.
|
void |
DatabaseFileSystem.close()
Close the file system.
|
protected void |
DatabaseFileSystem.createDeepFolder(String folderPath)
Creates the specified files system folder entry, recursively creating
any non-existing intermediate folder entries.
|
void |
DatabaseFileSystem.createFolder(String folderPath)
Creates the folder named by this path, including any necessary but
nonexistent parent folders.
|
void |
DatabaseFileSystem.deleteFile(String filePath)
Deletes the file denoted by this path.
|
void |
DatabaseFileSystem.deleteFolder(String folderPath)
Deletes the folder denoted by this path.
|
boolean |
DatabaseFileSystem.exists(String path)
Tests whether the file system entry denoted by this path exists.
|
InputStream |
DatabaseFileSystem.getInputStream(String filePath)
Returns an input stream of the contents of the file denoted by this path.
|
OutputStream |
DatabaseFileSystem.getOutputStream(String filePath)
Returns an output stream for writing bytes to the file denoted by this path.
|
boolean |
DatabaseFileSystem.hasChildren(String path)
Tests whether the file system entry denoted by this path has child entries.
|
void |
DatabaseFileSystem.init()
Initialize the file system
|
boolean |
DatabaseFileSystem.isFile(String path)
Tests whether the file system entry denoted by this path exists and
is a file.
|
boolean |
DatabaseFileSystem.isFolder(String path)
Tests whether the file system entry denoted by this path exists and
is a folder.
|
long |
DatabaseFileSystem.lastModified(String path)
Returns the time that the file system entry denoted by this path
was last modified.
|
long |
DatabaseFileSystem.length(String filePath)
Returns the length of the file denoted by this path.
|
String[] |
DatabaseFileSystem.list(String folderPath)
Returns an array of strings naming the files and folders
in the folder denoted by this path.
|
String[] |
DatabaseFileSystem.listFiles(String folderPath)
Returns an array of strings naming the files in the folder
denoted by this path.
|
String[] |
DatabaseFileSystem.listFolders(String folderPath)
Returns an array of strings naming the folders in the folder
denoted by this path.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalFileSystem.close()
Close the file system.
|
void |
LocalFileSystem.createFolder(String folderPath)
Creates the folder named by this path, including any necessary but
nonexistent parent folders.
|
void |
LocalFileSystem.deleteFile(String filePath)
Deletes the file denoted by this path.
|
void |
LocalFileSystem.deleteFolder(String folderPath)
Deletes the folder denoted by this path.
|
boolean |
LocalFileSystem.exists(String path)
Tests whether the file system entry denoted by this path exists.
|
InputStream |
LocalFileSystem.getInputStream(String filePath)
Returns an input stream of the contents of the file denoted by this path.
|
OutputStream |
LocalFileSystem.getOutputStream(String filePath)
Returns an output stream for writing bytes to the file denoted by this path.
|
boolean |
LocalFileSystem.hasChildren(String path)
Tests whether the file system entry denoted by this path has child entries.
|
void |
LocalFileSystem.init()
Initialize the file system
|
boolean |
LocalFileSystem.isFile(String path)
Tests whether the file system entry denoted by this path exists and
is a file.
|
boolean |
LocalFileSystem.isFolder(String path)
Tests whether the file system entry denoted by this path exists and
is a folder.
|
long |
LocalFileSystem.lastModified(String path)
Returns the time that the file system entry denoted by this path
was last modified.
|
long |
LocalFileSystem.length(String filePath)
Returns the length of the file denoted by this path.
|
String[] |
LocalFileSystem.list(String folderPath)
Returns an array of strings naming the files and folders
in the folder denoted by this path.
|
String[] |
LocalFileSystem.listFiles(String folderPath)
Returns an array of strings naming the files in the folder
denoted by this path.
|
String[] |
LocalFileSystem.listFolders(String folderPath)
Returns an array of strings naming the folders in the folder
denoted by this path.
|
Modifier and Type | Method and Description |
---|---|
void |
MemoryFileSystem.createFolder(String folderPath) |
void |
MemoryFileSystem.deleteFile(String filePath) |
void |
MemoryFileSystem.deleteFolder(String folderPath) |
boolean |
MemoryFileSystem.exists(String path) |
InputStream |
MemoryFileSystem.getInputStream(String filePath) |
OutputStream |
MemoryFileSystem.getOutputStream(String filePath) |
boolean |
MemoryFileSystem.hasChildren(String path) |
boolean |
MemoryFileSystem.isFile(String path) |
boolean |
MemoryFileSystem.isFolder(String path) |
long |
MemoryFileSystem.lastModified(String path) |
long |
MemoryFileSystem.length(String filePath) |
Constructor and Description |
---|
FileBasedIndex(FileSystemResource file)
Creates a new hashmap index and loads the lookup tables from the
filesystem resource.
|
Modifier and Type | Method and Description |
---|---|
protected FileSystemResource |
SearchIndex.createSynonymProviderConfigResource()
Creates a file system resource to the synonym provider configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
VFSFileSystem.close() |
protected org.apache.commons.vfs2.FileSystemManager |
VFSFileSystem.createFileSystemManager()
Creates a
FileSystemManager instance. |
protected org.apache.commons.vfs2.FileSystemOptions |
VFSFileSystem.createFileSystemOptions()
Builds and returns
FileSystemOptions instance which is used when resolving the VFSFileSystem.baseFolder
during the initialization. |
void |
VFSFileSystem.createFolder(String folderPath) |
void |
VFSFileSystem.deleteFile(String filePath) |
void |
VFSFileSystem.deleteFolder(String folderPath) |
boolean |
VFSFileSystem.exists(String path) |
org.apache.commons.vfs2.FileSystemOptions |
VFSFileSystem.getFileSystemOptions()
Returns
FileSystemOptions instance used when resolving the VFSFileSystem.baseFolder . |
InputStream |
VFSFileSystem.getInputStream(String filePath) |
OutputStream |
VFSFileSystem.getOutputStream(String filePath) |
boolean |
VFSFileSystem.hasChildren(String path) |
void |
VFSFileSystem.init() |
boolean |
VFSFileSystem.isFile(String path) |
boolean |
VFSFileSystem.isFolder(String path) |
long |
VFSFileSystem.lastModified(String path) |
long |
VFSFileSystem.length(String filePath) |
String[] |
VFSFileSystem.list(String folderPath) |
String[] |
VFSFileSystem.listFiles(String folderPath) |
String[] |
VFSFileSystem.listFolders(String folderPath) |
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.