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 |
Modifier and Type | Method and Description |
---|---|
static void |
FileSystemPathUtil.checkFormat(String path)
Checks if
path is a valid path. |
void |
BasedFileSystem.close()
Close the file system.
|
void |
FileSystem.close()
Close the file system.
|
void |
BasedFileSystem.createFolder(String folderPath)
Creates the folder named by this path, including any necessary but
nonexistent parent folders.
|
void |
FileSystem.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 |
BasedFileSystem.deleteFile(String filePath)
Deletes the file denoted by this path.
|
void |
FileSystem.deleteFile(String filePath)
Deletes the file denoted by this path.
|
void |
BasedFileSystem.deleteFolder(String folderPath)
Deletes the folder denoted by this path.
|
void |
FileSystem.deleteFolder(String folderPath)
Deletes the folder denoted by this path.
|
boolean |
FileSystemResource.exists() |
boolean |
BasedFileSystem.exists(String path)
Tests whether the file system entry denoted by this path exists.
|
boolean |
FileSystem.exists(String path)
Tests whether the file system entry denoted by this path exists.
|
InputStream |
FileSystemResource.getInputStream() |
InputStream |
BasedFileSystem.getInputStream(String filePath)
Returns an input stream of the contents of the file denoted by this path.
|
InputStream |
FileSystem.getInputStream(String filePath)
Returns an input stream of the contents of the file denoted by this path.
|
OutputStream |
FileSystemResource.getOutputStream() |
OutputStream |
BasedFileSystem.getOutputStream(String filePath)
Returns an output stream for writing bytes to the file denoted by this path.
|
OutputStream |
FileSystem.getOutputStream(String filePath)
Returns an output stream for writing bytes to the file denoted by this path.
|
boolean |
BasedFileSystem.hasChildren(String path)
Tests whether the file system entry denoted by this path has child entries.
|
boolean |
FileSystem.hasChildren(String path)
Tests whether the file system entry denoted by this path has child entries.
|
void |
BasedFileSystem.init()
Initialize the file system
|
void |
FileSystem.init()
Initialize the file system
|
boolean |
BasedFileSystem.isFile(String path)
Tests whether the file system entry denoted by this path exists and
is a file.
|
boolean |
FileSystem.isFile(String path)
Tests whether the file system entry denoted by this path exists and
is a file.
|
boolean |
BasedFileSystem.isFolder(String path)
Tests whether the file system entry denoted by this path exists and
is a folder.
|
boolean |
FileSystem.isFolder(String path)
Tests whether the file system entry denoted by this path exists and
is a folder.
|
long |
FileSystemResource.lastModified() |
long |
BasedFileSystem.lastModified(String path)
Returns the time that the file system entry denoted by this path
was last modified.
|
long |
FileSystem.lastModified(String path)
Returns the time that the file system entry denoted by this path
was last modified.
|
long |
FileSystemResource.length() |
long |
BasedFileSystem.length(String filePath)
Returns the length of the file denoted by this path.
|
long |
FileSystem.length(String filePath)
Returns the length of the file 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.list(String folderPath)
Returns an array of strings naming the files and folders
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.listFiles(String folderPath)
Returns an array of strings naming the files 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.
|
String[] |
FileSystem.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 |
DatabaseFileSystem.close()
Close the file system.
|
void |
DerbyFileSystem.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.
|
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.