Skip navigation links
A C D E G I P R S W 

A

AbstractSharedItem<T extends SharedItem> - Class in ch.swaechter.smbjwrapper.core
This class provides a common abstracted class that represents a directory/file like node.
AbstractSharedItem(SharedConnection, String) - Constructor for class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Create a new abstract shared item based on the shared connection and the path name.

C

ch.swaechter.smbjwrapper - package ch.swaechter.smbjwrapper
 
ch.swaechter.smbjwrapper.core - package ch.swaechter.smbjwrapper.core
 
ch.swaechter.smbjwrapper.streams - package ch.swaechter.smbjwrapper.streams
 
ch.swaechter.smbjwrapper.utils - package ch.swaechter.smbjwrapper.utils
 
close() - Method in class ch.swaechter.smbjwrapper.SharedConnection
Close the connection.
close() - Method in class ch.swaechter.smbjwrapper.streams.SharedInputStream
close() - Method in class ch.swaechter.smbjwrapper.streams.SharedOutputStream
createDirectory() - Method in class ch.swaechter.smbjwrapper.SharedDirectory
Create the current directory.
createDirectoryInCurrentDirectory(String) - Method in class ch.swaechter.smbjwrapper.SharedDirectory
Create a directory in the current directory.
createFile() - Method in class ch.swaechter.smbjwrapper.SharedFile
Create a new file.
createFileInCurrentDirectory(String) - Method in class ch.swaechter.smbjwrapper.SharedDirectory
Create a file in the current directory.
createSharedNodeItem(String) - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Create a new shared item.
createSharedNodeItem(String) - Method in class ch.swaechter.smbjwrapper.SharedDirectory
Create a new shared directory via factory.
createSharedNodeItem(String) - Method in class ch.swaechter.smbjwrapper.SharedFile
Create a new shared directory via factory.

D

deleteDirectoryRecursively() - Method in class ch.swaechter.smbjwrapper.SharedDirectory
Delete the current directory with all its subdirectories and subfiles.
deleteFile() - Method in class ch.swaechter.smbjwrapper.SharedFile
Delete the current file.

E

equals(Object) - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Check if the current and the given objects are equals.
equals(Object) - Method in class ch.swaechter.smbjwrapper.SharedDirectory
Check if the current and the given objects are equals.
equals(Object) - Method in class ch.swaechter.smbjwrapper.SharedFile
Check if the current and the given objects are equals.

G

getDirectories() - Method in class ch.swaechter.smbjwrapper.SharedDirectory
Get all directories of the current directory.
getDiskShare() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Get the disk share of the shared connection.
getDiskShare() - Method in class ch.swaechter.smbjwrapper.SharedConnection
Get the disk share to access the server.
getFiles() - Method in class ch.swaechter.smbjwrapper.SharedDirectory
Get all files of the current directory.
getInputStream() - Method in class ch.swaechter.smbjwrapper.SharedFile
Get the input stream of the file that can be used to download the file.
getName() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Get the name of the shared item.
getName() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Get the name of the shared item.
getOutputStream() - Method in class ch.swaechter.smbjwrapper.SharedFile
Get the output stream of the file that can be used to upload content to this file.
getParentPath() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Get the parent shared item.
getParentPath() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Get the parent shared item.
getPath() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Get the path of the shared item.
getPath() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Get the path of the shared item.
getRootPath() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Get the root shared item.
getRootPath() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Get the root shared item.
getServerName() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Get the server name of the connected server.
getServerName() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Get the server name of the connected server.
getServerName() - Method in class ch.swaechter.smbjwrapper.SharedConnection
Get the server name of the server.
getSharedConnection() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Get the shared connection.
getShareName() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Get the share name of the connected server.
getShareName() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Get the share name of the connected server.
getShareName() - Method in class ch.swaechter.smbjwrapper.SharedConnection
Get the share name of the server.
getSmbPath() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Get the full SMB path including the server, share and path, separated by backslashes.
getSmbPath() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Get the full SMB path including the server, share and path, separated by backslashes.

I

isDirectory() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Check if the shared item is a directory.
isDirectory() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Check if the shared item is a directory.
isExisting() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Check if the shared item does exist.
isExisting() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Check if the shared item does exist.
isFile() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Check if the shared item is a file.
isFile() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Check if the shared item is a file.
isRootPath() - Method in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
Check if the current shared item or its parent is the root shared item.
isRootPath() - Method in interface ch.swaechter.smbjwrapper.core.SharedItem
Check if the current shared item or its parent is the root shared item.
isValidSharedItemName(String) - Static method in class ch.swaechter.smbjwrapper.utils.ShareUtils
Check if the shared item name is valid and does not contain some invalid characters

P

PATH_SEPARATOR - Static variable in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
String used to separate paths.

R

read() - Method in class ch.swaechter.smbjwrapper.streams.SharedInputStream
ROOT_PATH - Static variable in class ch.swaechter.smbjwrapper.core.AbstractSharedItem
String used to represent the root path.

S

SharedConnection - Class in ch.swaechter.smbjwrapper
This class is responsible for managing the connection and session.
SharedConnection(String, String, AuthenticationContext) - Constructor for class ch.swaechter.smbjwrapper.SharedConnection
Create a new connection to the server.
SharedDirectory - Class in ch.swaechter.smbjwrapper
This class represents a shared directory.
SharedDirectory(SharedConnection, String) - Constructor for class ch.swaechter.smbjwrapper.SharedDirectory
Create a new shared directory based on the shared connection and the path name.
SharedDirectory(SharedConnection) - Constructor for class ch.swaechter.smbjwrapper.SharedDirectory
Create a new shared directory based on the shared connection.
SharedFile - Class in ch.swaechter.smbjwrapper
This class represents a shared file.
SharedFile(SharedConnection, String) - Constructor for class ch.swaechter.smbjwrapper.SharedFile
Create a new shared file based on the shared connection and the path name.
SharedInputStream - Class in ch.swaechter.smbjwrapper.streams
This class represents a decorated input stream that respects the reference counting close mechanism of the file.
SharedInputStream(File) - Constructor for class ch.swaechter.smbjwrapper.streams.SharedInputStream
Create a new decorated input stream that respects the reference couting close mechanism of the file.
SharedItem - Interface in ch.swaechter.smbjwrapper.core
This class provides an interface for a directory/file like filesystem structure.
SharedOutputStream - Class in ch.swaechter.smbjwrapper.streams
This class represents a decorated output stream that respects the reference counting close mechanism of the file.
SharedOutputStream(File) - Constructor for class ch.swaechter.smbjwrapper.streams.SharedOutputStream
Create a new decorated output stream that respects the reference couting close mechanism of the file.
ShareUtils - Class in ch.swaechter.smbjwrapper.utils
This class provides some common share util methods.
ShareUtils() - Constructor for class ch.swaechter.smbjwrapper.utils.ShareUtils
 

W

write(int) - Method in class ch.swaechter.smbjwrapper.streams.SharedOutputStream
A C D E G I P R S W 
Skip navigation links

Copyright © 2018. All rights reserved.