public interface VaultFileSystem
VaultFileSystem
...Modifier and Type | Method and Description |
---|---|
AggregateManager |
getAggregateManager()
Returns the attached artifacts manager.
|
VaultFsConfig |
getConfig()
Returns the vault configuration that is used
|
VaultFile |
getFile(java.lang.String path)
Returns the file at the given path.
|
VaultFile |
getFile(VaultFile parent,
java.lang.String path)
Returns the file at the given path.
|
VaultFile |
getRoot()
Returns the root file
|
WorkspaceFilter |
getWorkspaceFilter()
Returns the current workspace filter
|
void |
invalidate()
Flushes the file cache
|
boolean |
isMounted()
Checks if this tree is still mounted and if the attached session
is still live.
|
VaultFsTransaction |
startTransaction()
Starts a new transaction.
|
void |
unmount()
Releases all resources attached to this Vault filesystem
|
void unmount() throws RepositoryException
RepositoryException
- if an error occurs.boolean isMounted()
true
if still mountedVaultFile getRoot()
AggregateManager getAggregateManager()
VaultFile getFile(java.lang.String path) throws java.io.IOException, RepositoryException
null
is thrown.path
- the path of the filenull
java.io.IOException
- if an I/O error occurs.RepositoryException
- if a repository error occurs.VaultFile getFile(VaultFile parent, java.lang.String path) throws java.io.IOException, RepositoryException
null
is returned.parent
- the parent file.path
- the path of the filenull
java.io.IOException
- if an I/O error occurs.RepositoryException
- if a repository error occurs.VaultFsTransaction startTransaction()
void invalidate() throws RepositoryException
RepositoryException
- if an error occursVaultFsConfig getConfig()
WorkspaceFilter getWorkspaceFilter()
Copyright © 2010 - 2020 Adobe. All Rights Reserved