public class JcrFileSystem
extends java.nio.file.FileSystem
Constructor and Description |
---|
JcrFileSystem(JcrFileSystemProvider provider,
Repository repository) |
JcrFileSystem(JcrFileSystemProvider provider,
Repository repository,
Credentials credentials) |
JcrFileSystem(JcrFileSystemProvider provider,
Session session)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
WorkspaceFileStore |
getBaseFileStore() |
WorkspaceFileStore |
getFileStore(Node node) |
WorkspaceFileStore |
getFileStore(java.lang.String path) |
java.lang.Iterable<java.nio.file.FileStore> |
getFileStores() |
java.nio.file.Path |
getPath(java.lang.String first,
java.lang.String... more) |
java.nio.file.PathMatcher |
getPathMatcher(java.lang.String syntaxAndPattern) |
Repository |
getRepository() |
java.lang.Iterable<java.nio.file.Path> |
getRootDirectories() |
java.lang.String |
getSeparator() |
java.lang.String |
getUserHomePath() |
java.nio.file.attribute.UserPrincipalLookupService |
getUserPrincipalLookupService() |
boolean |
isOpen() |
boolean |
isReadOnly() |
java.util.Iterator<JcrPath> |
listDirectMounts(java.nio.file.Path base) |
java.nio.file.WatchService |
newWatchService() |
java.nio.file.spi.FileSystemProvider |
provider() |
boolean |
skipNode(Node node)
Whether this node should be skipped in directory listings
|
java.util.Set<java.lang.String> |
supportedFileAttributeViews() |
java.lang.String |
toFsPath(Node node) |
@Deprecated public JcrFileSystem(JcrFileSystemProvider provider, Session session) throws java.io.IOException
java.io.IOException
public JcrFileSystem(JcrFileSystemProvider provider, Repository repository) throws java.io.IOException
java.io.IOException
public JcrFileSystem(JcrFileSystemProvider provider, Repository repository, Credentials credentials) throws java.io.IOException
java.io.IOException
public java.lang.String toFsPath(Node node) throws RepositoryException
RepositoryException
public boolean skipNode(Node node) throws RepositoryException
RepositoryException
public java.lang.String getUserHomePath()
public WorkspaceFileStore getFileStore(java.lang.String path)
public WorkspaceFileStore getFileStore(Node node) throws RepositoryException
RepositoryException
public java.util.Iterator<JcrPath> listDirectMounts(java.nio.file.Path base)
public WorkspaceFileStore getBaseFileStore()
public java.nio.file.spi.FileSystemProvider provider()
provider
in class java.nio.file.FileSystem
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.nio.file.FileSystem
java.io.IOException
public boolean isOpen()
isOpen
in class java.nio.file.FileSystem
public boolean isReadOnly()
isReadOnly
in class java.nio.file.FileSystem
public java.lang.String getSeparator()
getSeparator
in class java.nio.file.FileSystem
public java.lang.Iterable<java.nio.file.Path> getRootDirectories()
getRootDirectories
in class java.nio.file.FileSystem
public java.lang.Iterable<java.nio.file.FileStore> getFileStores()
getFileStores
in class java.nio.file.FileSystem
public java.util.Set<java.lang.String> supportedFileAttributeViews()
supportedFileAttributeViews
in class java.nio.file.FileSystem
public java.nio.file.Path getPath(java.lang.String first, java.lang.String... more)
getPath
in class java.nio.file.FileSystem
public java.nio.file.PathMatcher getPathMatcher(java.lang.String syntaxAndPattern)
getPathMatcher
in class java.nio.file.FileSystem
public java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService
in class java.nio.file.FileSystem
public java.nio.file.WatchService newWatchService() throws java.io.IOException
newWatchService
in class java.nio.file.FileSystem
java.io.IOException
public Repository getRepository()
Copyright © 2007–2020. All rights reserved.