C D E F G H I L M N P R S T W 
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 SMBFileSystem from the SMBFileSystemProvider'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
Copies the file under provided source SMBPath to the destination SMBPath.
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 UnsupportedOperationException as FileStoreAttributeView are currently not supported.
getContext() - Method in class ch.pontius.nio.smb.SMBFileSystem
 
getContext() - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
 
getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
Reads the file attributes view of the file under the provided SMBPath and returns it.
getFileName() - Method in class ch.pontius.nio.smb.SMBPath
Returns a new, relative SMBPath instance that just contains the last path component of the current SMBPath's path.
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 FileStoreAttributeView are 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 SMBFileSystem this SMBPath belongs to.
getFileSystem(URI) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
Retrieves a SMBFileSystem instance for the provided URI from fileSystemCache and returns it.
getName(int) - Method in class ch.pontius.nio.smb.SMBPath
Returns a name element of this SMBPath as a new SMBPath object.
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
Returns a new SMBPath that points to the parent of the current SMBPath.
getPath(String, String...) - Method in class ch.pontius.nio.smb.SMBFileSystem
Constructs a new SMBPath by concatenating the provided path components.
getPath(URI) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
Converts the provided URI to an SMBPath instance and returns it.
getPathMatcher(String) - Method in class ch.pontius.nio.smb.SMBFileSystem
Returns a new SMBPathMatcher for the provided pattern.
getRoot() - Method in class ch.pontius.nio.smb.SMBPath
Returns the root component of this SMBPath or 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 SMBFileStore instance.
getUnallocatedSpace() - Method in class ch.pontius.nio.smb.SMBFileStore
Returns the number of bytes that are currently available on the share represented by this SMBFileStore instance.
getUsableSpace() - Method in class ch.pontius.nio.smb.SMBFileStore
Returns the number of bytes that are currently available on the share represented by this SMBFileStore instance.
getUserPrincipalLookupService() - Method in class ch.pontius.nio.smb.SMBFileSystem
UserPrincipalLookupService are not supported by the current version of SMBFileSystem.

H

hashCode() - Method in class ch.pontius.nio.smb.SMBFileStore
 

I

isAbsolute() - Method in class ch.pontius.nio.smb.SMBPath
SMBPath is 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 SMBPath is 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 SMBPath instance is hidden..
isOpen() - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
Determines whether the current SeekableSMBByteChannel is still opened.
isOpen() - Method in class ch.pontius.nio.smb.SMBFileSystem
Returns true, if the current SMBFileSystem is still known to the SMBFileSystemProvider.
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 SMBPath instance 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
Moves the file under the provided source SMBPath to the destination SMBPath.

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 the SMBFileSystem and 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 SeekableSMBByteChannel instance.
newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
Creates and returns a new SMBDirectoryStream for the specified path.
newFileSystem(URI, Map<String, ?>) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
Creates a new SMBFileSystem instance for the provided URI.
newWatchService() - Method in class ch.pontius.nio.smb.SMBFileSystem
WatchService are not supported by the current version of SMBFileSystem.
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 SmbRandomAccessFile that is handled by the current instance of SeekableSMBByteChannel
position(long) - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
Tries to reposition the pointer into the SmbRandomAccessFile that is handled by the current instance of SeekableSMBByteChannel
provider() - Method in class ch.pontius.nio.smb.SMBFileSystem
Returns instance of SMBFileSystemProvider this SMBFileSystem belongs to.

R

read(ByteBuffer) - Method in class ch.pontius.nio.smb.SeekableSMBByteChannel
Reads the content from the SmbRandomAccessFile handled by the current instance of SeekableSMBByteChannel to the provided ByteBuffer.
readAttributes() - Method in class ch.pontius.nio.smb.SMBFileAttributeView
Reads the SmbFile's attributes and returns them in the form of an SMBFileAttributes instance.
readAttributes(Path, Class<A>, LinkOption...) - Method in class ch.pontius.nio.smb.SMBFileSystemProvider
Reads the file attributes of the file under the provided SMBPath and 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 Path implementation 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 SMBFileStore supports 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 SMBFileStore supports the file attributes identified by the given file attribute view.

T

toAbsolutePath() - Method in class ch.pontius.nio.smb.SMBPath
If this SMBPath is 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 SmbRandomAccessFile by 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 ByteBuffer into the SmbRandomAccessFile handled by the current instance of SeekableSMBByteChannel.
C D E F G H I L M N P R S T W 
All Classes All Packages