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.IOExceptionpublic JcrFileSystem(JcrFileSystemProvider provider, Repository repository) throws java.io.IOException
java.io.IOExceptionpublic JcrFileSystem(JcrFileSystemProvider provider, Repository repository, Credentials credentials) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toFsPath(Node node) throws RepositoryException
RepositoryExceptionpublic boolean skipNode(Node node) throws RepositoryException
RepositoryExceptionpublic java.lang.String getUserHomePath()
public WorkspaceFileStore getFileStore(java.lang.String path)
public WorkspaceFileStore getFileStore(Node node) throws RepositoryException
RepositoryExceptionpublic 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.FileSystempublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.nio.file.FileSystemjava.io.IOExceptionpublic boolean isOpen()
isOpen in class java.nio.file.FileSystempublic boolean isReadOnly()
isReadOnly in class java.nio.file.FileSystempublic java.lang.String getSeparator()
getSeparator in class java.nio.file.FileSystempublic java.lang.Iterable<java.nio.file.Path> getRootDirectories()
getRootDirectories in class java.nio.file.FileSystempublic java.lang.Iterable<java.nio.file.FileStore> getFileStores()
getFileStores in class java.nio.file.FileSystempublic java.util.Set<java.lang.String> supportedFileAttributeViews()
supportedFileAttributeViews in class java.nio.file.FileSystempublic java.nio.file.Path getPath(java.lang.String first,
java.lang.String... more)
getPath in class java.nio.file.FileSystempublic java.nio.file.PathMatcher getPathMatcher(java.lang.String syntaxAndPattern)
getPathMatcher in class java.nio.file.FileSystempublic java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
getUserPrincipalLookupService in class java.nio.file.FileSystempublic java.nio.file.WatchService newWatchService()
throws java.io.IOException
newWatchService in class java.nio.file.FileSystemjava.io.IOExceptionpublic Repository getRepository()
Copyright © 2007–2020. All rights reserved.