C D E F G H I L M N P R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- ch.pontius.nio.smb - package ch.pontius.nio.smb
- checkAccess(Path, AccessMode...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Checks access to file under the provided
SMBPath. - close() - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
-
Closes the current
SeekableSMBByteChannel. - close() - Method in class ch.pontius.nio.smb.SMBDirectoryStream
-
Closes the current instance of
SMBDirectoryStream. - close() - Method in class ch.pontius.nio.smb.SMBFileSystem
-
Removes the current instance of
SMBFileSystemfrom theSMBFileSystemProvider's cache. - compareTo(Path) - Method in class ch.pontius.nio.smb.SMBPath
-
Compares two abstract paths lexicographically.
- copy(Path, Path, CopyOption...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
- createDirectory(Path, FileAttribute<?>...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Creates a directory under the provided
SMBPath - creationTime() - Method in class ch.pontius.nio.smb.SMBFileAttributes
D
- delete(Path) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Deletes the file under the provided
SMBPath
E
- endsWith(String) - Method in class ch.pontius.nio.smb.SMBPath
-
Tests if this path ends with the provided string.
- endsWith(Path) - Method in class ch.pontius.nio.smb.SMBPath
-
Tests if this path ends with the given path.
- equals(Object) - Method in class ch.pontius.nio.smb.SMBFileStore
- equals(Object) - Method in class ch.pontius.nio.smb.SMBPath
-
Tests this path for equality with the given object.
F
- fileKey() - Method in class ch.pontius.nio.smb.SMBFileAttributes
G
- getAttribute(String) - Method in class ch.pontius.nio.smb.SMBFileStore
-
Always throws an
UnsupportedOperationExceptionasFileStoreAttributeVieware currently not supported. - getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Reads the file attributes view of the file under the provided
SMBPathand returns it. - getFileName() - Method in class ch.pontius.nio.smb.SMBPath
- getFileStore(Path) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
- getFileStoreAttributeView(Class<V>) - Method in class ch.pontius.nio.smb.SMBFileStore
-
Always returns null as
FileStoreAttributeVieware currently not supported. - getFileStores() - Method in class ch.pontius.nio.smb.SMBFileSystem
-
Returns the
SMBFileStores, i.e. - getFileSystem() - Method in class ch.pontius.nio.smb.SMBPath
-
Getter for
SMBFileSystemthisSMBPathbelongs to. - getFileSystem(URI) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Retrieves a
SMBFileSysteminstance for the provided URI from fileSystemCache and returns it. - getName(int) - Method in class ch.pontius.nio.smb.SMBPath
- getNameCount() - Method in class ch.pontius.nio.smb.SMBPath
-
Returns the number of path components in the current
SMBPath's path. - getParent() - Method in class ch.pontius.nio.smb.SMBPath
- getPath(String, String...) - Method in class ch.pontius.nio.smb.SMBFileSystem
-
Constructs a new
SMBPathby concatenating the provided path components. - getPath(URI) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Converts the provided URI to an
SMBPathinstance and returns it. - getPathMatcher(String) - Method in class ch.pontius.nio.smb.SMBFileSystem
-
Returns a new
SMBPathMatcherfor the provided pattern. - getRoot() - Method in class ch.pontius.nio.smb.SMBPath
-
Returns the root component of this
SMBPathor null, if the path is relative. - getRootDirectories() - Method in class ch.pontius.nio.smb.SMBFileSystem
-
Returns the root directories, i.e.
- getScheme() - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Returns the default scheme for
SMBFileSystemProvider. - getSeparator() - Method in class ch.pontius.nio.smb.SMBFileSystem
-
Returns the default path sepeator, which is "/".
- getTotalSpace() - Method in class ch.pontius.nio.smb.SMBFileStore
-
Returns the total capacity of the share represented by this
SMBFileStoreinstance. - getUnallocatedSpace() - Method in class ch.pontius.nio.smb.SMBFileStore
-
Returns the number of bytes that are currently available on the share represented by this
SMBFileStoreinstance. - getUsableSpace() - Method in class ch.pontius.nio.smb.SMBFileStore
-
Returns the number of bytes that are currently available on the share represented by this
SMBFileStoreinstance. - getUserPrincipalLookupService() - Method in class ch.pontius.nio.smb.SMBFileSystem
-
UserPrincipalLookupServiceare not supported by the current version ofSMBFileSystem.
H
- hashCode() - Method in class ch.pontius.nio.smb.SMBFileStore
I
- isAbsolute() - Method in class ch.pontius.nio.smb.SMBPath
-
SMBPathis always absolute! - isAbsolutePath(String) - Static method in class ch.pontius.nio.smb.SMBPathUtil
-
Checks if provided path string is an absolute path (i.e.
- isDirectory() - Method in class ch.pontius.nio.smb.SMBFileAttributes
- isFolder() - Method in class ch.pontius.nio.smb.SMBPath
-
Checks whether the current
SMBPathis a folder. - isFolder(String) - Static method in class ch.pontius.nio.smb.SMBPathUtil
-
Checks if the provided path string points to a folder (i.e.
- isHidden(Path) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Returns true, if the resource specified by the provided
SMBPathinstance is hidden.. - isOpen() - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
-
Determines whether the current
SeekableSMBByteChannelis still opened. - isOpen() - Method in class ch.pontius.nio.smb.SMBFileSystem
-
Returns true, if the current
SMBFileSystemis still known to theSMBFileSystemProvider. - isOther() - Method in class ch.pontius.nio.smb.SMBFileAttributes
- isReadOnly() - Method in class ch.pontius.nio.smb.SMBFileStore
-
Returns false because generally,
SMBFileStore's are not considered to be read-only. - isReadOnly() - Method in class ch.pontius.nio.smb.SMBFileSystem
-
Returns false because generally,
SMBFileSystem's are not considered to be read-only. - isRegularFile() - Method in class ch.pontius.nio.smb.SMBFileAttributes
- isRelativePath(String) - Static method in class ch.pontius.nio.smb.SMBPathUtil
-
Checks if provided path string is a relative path (i.e.
- isSameFile(Path, Path) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Returns true, if the resources specified by the two
SMBPathinstance are the same. - isSymbolicLink() - Method in class ch.pontius.nio.smb.SMBFileAttributes
- iterator() - Method in class ch.pontius.nio.smb.SMBDirectoryStream
-
Returns an iterator for content of the directory handled by the current instance of
SMBDirectoryStream. - iterator() - Method in class ch.pontius.nio.smb.SMBPath
-
Returns an iterator over the name elements of this
SMBPath.
L
- lastAccessTime() - Method in class ch.pontius.nio.smb.SMBFileAttributes
- lastModifiedTime() - Method in class ch.pontius.nio.smb.SMBFileAttributes
M
- matches(Path) - Method in class ch.pontius.nio.smb.SMBPathMatcher
-
Tells if given path matches this matcher's pattern
- mergePath(String[], int, int, boolean, boolean) - Static method in class ch.pontius.nio.smb.SMBPathUtil
-
Merges the provided path components into a single pat string.
- move(Path, Path, CopyOption...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
N
- name() - Method in class ch.pontius.nio.smb.SMBFileAttributeView
-
Returns the name of
SMBFileAttributeView, which is 'basic'. - name() - Method in class ch.pontius.nio.smb.SMBFileStore
-
Returns the full name of this
SMBFileStore, which includes the FQN of theSMBFileSystemand the name of the associated share. - newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Creates and returns a new
SeekableSMBByteChannelinstance. - newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Creates and returns a new
SMBDirectoryStreamfor the specified path. - newFileSystem(URI, Map<String, ?>) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Creates a new
SMBFileSysteminstance for the provided URI. - newWatchService() - Method in class ch.pontius.nio.smb.SMBFileSystem
-
WatchServiceare not supported by the current version ofSMBFileSystem. - normalize() - Method in class ch.pontius.nio.smb.SMBPath
-
Returns a path that is this path with redundant name elements, like "." or ".." eliminated.
P
- position() - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
-
Returns the position of the pointer into the
SmbRandomAccessFilethat is handled by the current instance ofSeekableSMBByteChannel - position(long) - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
-
Tries to reposition the pointer into the
SmbRandomAccessFilethat is handled by the current instance ofSeekableSMBByteChannel - provider() - Method in class ch.pontius.nio.smb.SMBFileSystem
-
Returns instance of
SMBFileSystemProviderthisSMBFileSystembelongs to.
R
- read(ByteBuffer) - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
-
Reads the content from the
SmbRandomAccessFilehandled by the current instance ofSeekableSMBByteChannelto the providedByteBuffer. - readAttributes() - Method in class ch.pontius.nio.smb.SMBFileAttributeView
-
Reads the
SmbFile's attributes and returns them in the form of anSMBFileAttributesinstance. - readAttributes(Path, Class<A>, LinkOption...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
-
Reads the file attributes of the file under the provided
SMBPathand returns it. - readAttributes(Path, String, LinkOption...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
- register(WatchService, WatchEvent.Kind<?>...) - Method in class ch.pontius.nio.smb.SMBPath
- register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...) - Method in class ch.pontius.nio.smb.SMBPath
- relativize(Path) - Method in class ch.pontius.nio.smb.SMBPath
-
Constructs a relative path between this path and a given path.
- resolve(String) - Method in class ch.pontius.nio.smb.SMBPath
-
Resolve the given path string against this
SMBPath. - resolve(Path) - Method in class ch.pontius.nio.smb.SMBPath
-
Resolve the given path against this
SMBPath. - resolveSibling(String) - Method in class ch.pontius.nio.smb.SMBPath
-
Resolve the given path string against this
SMBPath. - resolveSibling(Path) - Method in class ch.pontius.nio.smb.SMBPath
-
Resolve the given path against this
SMBPath's parent.
S
- SeekableSMBByteChannel - Class in ch.pontius.nio.smb
- setAttribute(Path, String, Object, LinkOption...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
- setTimes(FileTime, FileTime, FileTime) - Method in class ch.pontius.nio.smb.SMBFileAttributeView
- size() - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
-
Returns the size of the file handled by the current instance of
SeekableSMBByteChannel. - size() - Method in class ch.pontius.nio.smb.SMBFileAttributes
- SMBDirectoryStream - Class in ch.pontius.nio.smb
- SMBDirectoryStream(SMBPath, DirectoryStream.Filter<? super Path>) - Constructor for class ch.pontius.nio.smb.SMBDirectoryStream
-
Public and internal constructor for
SMBDirectoryStream. - SMBExceptionUtil - Class in ch.pontius.nio.smb
- SMBFileAttributes - Class in ch.pontius.nio.smb
- SMBFileAttributes(SMBPath) - Constructor for class ch.pontius.nio.smb.SMBFileAttributes
-
Public default constructor for
SMBFileAttributes. - SMBFileAttributeView - Class in ch.pontius.nio.smb
- SMBFileAttributeView(SMBPath) - Constructor for class ch.pontius.nio.smb.SMBFileAttributeView
-
Public default constructor.
- SMBFileStore - Class in ch.pontius.nio.smb
-
This class represents a single SMB share on a specific
SMBFileSystem. - SMBFileSystem - Class in ch.pontius.nio.smb
-
This class represents a single SMB server (filesystem).
- SMBFileSystemProvider - Class in ch.pontius.nio.smb
-
This class acts as a service-provider class for SMB/CIFS based file systems.
- SMBFileSystemProvider() - Constructor for class ch.pontius.nio.smb.SMBFileSystemProvider
-
Default constructor for
SMBFileSystemProvider. - SMBPath - Class in ch.pontius.nio.smb
-
A
Pathimplementation that can be used with SMBNio - SMBPathMatcher - Class in ch.pontius.nio.smb
- SMBPathUtil - Class in ch.pontius.nio.smb
- splitPath(String) - Static method in class ch.pontius.nio.smb.SMBPathUtil
-
Splits the provided path string into its path components.
- startsWith(String) - Method in class ch.pontius.nio.smb.SMBPath
-
Tests if this path starts with the provided string.
- startsWith(Path) - Method in class ch.pontius.nio.smb.SMBPath
-
Tests if this path starts with the given path.
- subpath(int, int) - Method in class ch.pontius.nio.smb.SMBPath
-
Returns a relative Path that is a subsequence of the name elements of this path.
- supportedFileAttributeViews() - Method in class ch.pontius.nio.smb.SMBFileSystem
-
Returns a containing the names of the supported
FileAttributeViews - supportsFileAttributeView(Class<? extends FileAttributeView>) - Method in class ch.pontius.nio.smb.SMBFileStore
-
Checks whether or not this
SMBFileStoresupports the file attributes identified by the given file attribute view. - supportsFileAttributeView(String) - Method in class ch.pontius.nio.smb.SMBFileStore
-
Checks whether or not this
SMBFileStoresupports the file attributes identified by the given file attribute view.
T
- toAbsolutePath() - Method in class ch.pontius.nio.smb.SMBPath
-
If this
SMBPathis absolute then the method returns this. - toFile() - Method in class ch.pontius.nio.smb.SMBPath
- toRealPath(LinkOption...) - Method in class ch.pontius.nio.smb.SMBPath
- toString() - Method in class ch.pontius.nio.smb.SMBPath
-
Default toString() method.
- toUri() - Method in class ch.pontius.nio.smb.SMBPath
-
Returns a URI to represent this
SMBPath. - truncate(long) - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
-
Truncates the
SmbRandomAccessFileby setting its length to the provided value. - type() - Method in class ch.pontius.nio.smb.SMBFileStore
-
Returns the type of the
SMBFileStore, which is "share".
W
- write(ByteBuffer) - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
-
Writes the content of the provided
ByteBufferinto theSmbRandomAccessFilehandled by the current instance ofSeekableSMBByteChannel.
All Classes All Packages