Android Programming Press on the image to return to the main documentation page.

SMBj

...

List of types:

Connection
DiscShare
FileAllInformation
FileIdBothDirectoryInformation
Session
Share
SMB2FileId
SMBClient
SmbConfigBuilder
SmbFiles
SmbPath
SymlinkPathResolver
TreeConnect

Connection


Events:

None

Members:


  authenticate (authContext As com.hierynomus.smbj.auth.AuthenticationContext) As com.hierynomus.smbj.session.Session

  Client As com.hierynomus.smbj.SMBClient [read only]

  close

  close2 (force As Boolean)

  Config As com.hierynomus.smbj.SmbConfig [read only]

  connect (hostname As String, port As Int)

  connect2 (hostname As String, port As Int)

  ConnectionInfo As com.hierynomus.smbj.connection.ConnectionInfo [read only]

  getisConnected (t As Throwable) As Boolean

  handle (uncheckedPacket As com.hierynomus.smb.SMBPacketData)

  handleError (t As Throwable)

  IsInitialized As Boolean

  NegotiatedProtocol As com.hierynomus.smbj.connection.NegotiatedProtocol [read only]

  RemoteHostname As String [read only]

  send (packet As com.hierynomus.mssmb2.SMB2Packet) As java.util.concurrent.Future

  test

Members description:

authenticate (authContext As com.hierynomus.smbj.auth.AuthenticationContext) As com.hierynomus.smbj.session.Session
Client As com.hierynomus.smbj.SMBClient [read only]
close
close2 (force As Boolean)
Config As com.hierynomus.smbj.SmbConfig [read only]
connect (hostname As String, port As Int)
connect2 (hostname As String, port As Int)
ConnectionInfo As com.hierynomus.smbj.connection.ConnectionInfo [read only]
getisConnected (t As Throwable) As Boolean
handle (uncheckedPacket As com.hierynomus.smb.SMBPacketData)
handleError (t As Throwable)
IsInitialized As Boolean
NegotiatedProtocol As com.hierynomus.smbj.connection.NegotiatedProtocol [read only]
RemoteHostname As String [read only]
send (packet As com.hierynomus.mssmb2.SMB2Packet) As java.util.concurrent.Future
test

DiscShare


Events:

None

Members:


  deleteOnClose (fileId As com.hierynomus.mssmb2.SMB2FileId)

  fileExists (path As String) As Boolean

  folderExists (path As String) As Boolean

  getFileInformation (fileId As com.hierynomus.mssmb2.SMB2FileId) As com.hierynomus.msfscc.fileinformation.FileAllInformation

  getFileInformation2 (path As String) As com.hierynomus.msfscc.fileinformation.FileAllInformation

  getSecurityInfo (fileId As com.hierynomus.mssmb2.SMB2FileId, securityInfo As java.util.Set) As com.hierynomus.msdtyp.SecurityDescriptor

  Initialize (EventName As String, path As com.hierynomus.smbj.common.SmbPath, tree As com.hierynomus.smbj.share.TreeConnect, resolver As com.hierynomus.smbj.paths.PathResolver)

  isConnected As Boolean

  IsInitialized As Boolean

  list (path As String) As java.util.List

  ShareInformation As com.hierynomus.msfscc.fileinformation.ShareInfo [read only]

  SmbPath As com.hierynomus.smbj.common.SmbPath [read only]

  TreeConnect As com.hierynomus.smbj.share.TreeConnect [read only]

Members description:

deleteOnClose (fileId As com.hierynomus.mssmb2.SMB2FileId)
fileExists (path As String) As Boolean
folderExists (path As String) As Boolean
getFileInformation (fileId As com.hierynomus.mssmb2.SMB2FileId) As com.hierynomus.msfscc.fileinformation.FileAllInformation
getFileInformation2 (path As String) As com.hierynomus.msfscc.fileinformation.FileAllInformation
getSecurityInfo (fileId As com.hierynomus.mssmb2.SMB2FileId, securityInfo As java.util.Set) As com.hierynomus.msdtyp.SecurityDescriptor
Initialize (EventName As String, path As com.hierynomus.smbj.common.SmbPath, tree As com.hierynomus.smbj.share.TreeConnect, resolver As com.hierynomus.smbj.paths.PathResolver)
isConnected As Boolean
IsInitialized As Boolean
list (path As String) As java.util.List
ShareInformation As com.hierynomus.msfscc.fileinformation.ShareInfo [read only]
SmbPath As com.hierynomus.smbj.common.SmbPath [read only]
TreeConnect As com.hierynomus.smbj.share.TreeConnect [read only]

FileAllInformation


Events:

None

Members:


  AccessInformation As com.hierynomus.msfscc.fileinformation.FileAccessInformation [read only]

  AlignmentInformation As com.hierynomus.msfscc.fileinformation.FileAlignmentInformation [read only]

  BasicInformation As com.hierynomus.msfscc.fileinformation.FileBasicInformation [read only]

  EaInformation As com.hierynomus.msfscc.fileinformation.FileEaInformation [read only]

  IsInitialized As Boolean

  ModeInformation As com.hierynomus.msfscc.fileinformation.FileModeInformation [read only]

  NameInformation As String [read only]

  PositionInformation As com.hierynomus.msfscc.fileinformation.FilePositionInformation [read only]

  StandardInformation As com.hierynomus.msfscc.fileinformation.FileStandardInformation [read only]

Members description:

AccessInformation As com.hierynomus.msfscc.fileinformation.FileAccessInformation [read only]
AlignmentInformation As com.hierynomus.msfscc.fileinformation.FileAlignmentInformation [read only]
BasicInformation As com.hierynomus.msfscc.fileinformation.FileBasicInformation [read only]
EaInformation As com.hierynomus.msfscc.fileinformation.FileEaInformation [read only]
IsInitialized As Boolean
ModeInformation As com.hierynomus.msfscc.fileinformation.FileModeInformation [read only]
NameInformation As String [read only]
PositionInformation As com.hierynomus.msfscc.fileinformation.FilePositionInformation [read only]
StandardInformation As com.hierynomus.msfscc.fileinformation.FileStandardInformation [read only]

FileIdBothDirectoryInformation


Events:

None

Members:


  AllocationSize As Long [read only]

  ChangeTime As com.hierynomus.msdtyp.FileTime [read only]

  CreationTime As com.hierynomus.msdtyp.FileTime [read only]

  EaSize As Long [read only]

  EndOfFile As Long [read only]

  FileAttributes As Long [read only]

  FileId() As Byte [read only]

  FileIndex As Long [read only]

  FileName As String [read only]

  IsInitialized As Boolean

  LastAccessTime As com.hierynomus.msdtyp.FileTime [read only]

  LastWriteTime As com.hierynomus.msdtyp.FileTime [read only]

  NextOffset As Long [read only]

  ShortName As String [read only]

Members description:

AllocationSize As Long [read only]
ChangeTime As com.hierynomus.msdtyp.FileTime [read only]
CreationTime As com.hierynomus.msdtyp.FileTime [read only]
EaSize As Long [read only]
EndOfFile As Long [read only]
FileAttributes As Long [read only]
FileId() As Byte [read only]
FileIndex As Long [read only]
FileName As String [read only]
IsInitialized As Boolean
LastAccessTime As com.hierynomus.msdtyp.FileTime [read only]
LastWriteTime As com.hierynomus.msdtyp.FileTime [read only]
NextOffset As Long [read only]
ShortName As String [read only]

Session


Events:

None

Members:


  Anonymous As Boolean [read only]

  AuthenticationContext As com.hierynomus.smbj.auth.AuthenticationContext [read only]

  Connection As com.hierynomus.smbj.connection.Connection [read only]

  connectShare (shareName As String) As com.hierynomus.smbj.share.Share

  Guest As Boolean [read only]

  init (setup As com.hierynomus.mssmb2.messages.SMB2SessionSetup)

  IsInitialized As Boolean

  PacketSignatory As com.hierynomus.smbj.session.PacketSignatory [read only]

  SessionId As Long [read only]

  SigningRequired As Boolean [read only]

Members description:

Anonymous As Boolean [read only]
AuthenticationContext As com.hierynomus.smbj.auth.AuthenticationContext [read only]
Connection As com.hierynomus.smbj.connection.Connection [read only]
connectShare (shareName As String) As com.hierynomus.smbj.share.Share
Guest As Boolean [read only]
init (setup As com.hierynomus.mssmb2.messages.SMB2SessionSetup)
IsInitialized As Boolean
PacketSignatory As com.hierynomus.smbj.session.PacketSignatory [read only]
SessionId As Long [read only]
SigningRequired As Boolean [read only]

Share


Events:

None

Members:


  Anonymous As Boolean [read only]

  close

  ioctl (ctlCode As Long, isFsCtl As Boolean, inData() As Byte) As Byte()

  ioctl2 (ctlCode As Long, isFsCtl As Boolean, inData() As Byte, inOffset As Int, inLength As Int) As Byte()

  ioctl3 (ctlCode As Long, isFsCtl As Boolean, inData() As Byte, inOffset As Int, inLength As Int, outData() As Byte, outOffset As Int, outLength As Int) As Int

  ioctlAsync (ctlCode As Long, isFsCtl As Boolean, inputData As com.hierynomus.smbj.io.ByteChunkProvider) As java.util.concurrent.Future

  IsInitialized As Boolean

  SmbPath As com.hierynomus.smbj.common.SmbPath [read only]

  TreeConnect As com.hierynomus.smbj.share.TreeConnect [read only]

Members description:

Anonymous As Boolean [read only]
close
ioctl (ctlCode As Long, isFsCtl As Boolean, inData() As Byte) As Byte()
ioctl2 (ctlCode As Long, isFsCtl As Boolean, inData() As Byte, inOffset As Int, inLength As Int) As Byte()
ioctl3 (ctlCode As Long, isFsCtl As Boolean, inData() As Byte, inOffset As Int, inLength As Int, outData() As Byte, outOffset As Int, outLength As Int) As Int
ioctlAsync (ctlCode As Long, isFsCtl As Boolean, inputData As com.hierynomus.smbj.io.ByteChunkProvider) As java.util.concurrent.Future
IsInitialized As Boolean
SmbPath As com.hierynomus.smbj.common.SmbPath [read only]
TreeConnect As com.hierynomus.smbj.share.TreeConnect [read only]

SMB2FileId


Events:

None

Members:


  Initialize (persistentHandle() As Byte, volatileHandle() As Byte)

  IsInitialized As Boolean

  read (buffer As com.hierynomus.smb.SMBBuffer) As com.hierynomus.mssmb2.SMB2FileId

  write (buffer As com.hierynomus.smb.SMBBuffer)

Members description:

Initialize (persistentHandle() As Byte, volatileHandle() As Byte)
IsInitialized As Boolean
read (buffer As com.hierynomus.smb.SMBBuffer) As com.hierynomus.mssmb2.SMB2FileId
write (buffer As com.hierynomus.smb.SMBBuffer)

SMBClient


Events:

None

Members:


  authenticate (connection As com.hierynomus.smbj.connection.Connection, username As String, password As String, domain As String) As com.hierynomus.smbj.session.Session

  connect (hostname As String) As com.hierynomus.smbj.connection.Connection

  connect2 (hostname As String, port As Int) As com.hierynomus.smbj.connection.Connection

  connectShare (session As com.hierynomus.smbj.session.Session, sharename As String, path As String, searchPattern As String)

  GetAuthenticationContext (USERNAME As String, PASSWORD As String) As com.hierynomus.smbj.auth.AuthenticationContext

  GetShare (session As com.hierynomus.smbj.session.Session, sharename As String) As com.hierynomus.smbj.share.DiskShare

  Initialize (EventName As String)

  Initialize2 (EventName As String, config As com.hierynomus.smbj.SmbConfig)

  IsInitialized As Boolean

  PathResolver As com.hierynomus.smbj.paths.PathResolver [read only]

  rm (session As com.hierynomus.smbj.session.Session, sharename As String, file As String)

Members description:

authenticate (connection As com.hierynomus.smbj.connection.Connection, username As String, password As String, domain As String) As com.hierynomus.smbj.session.Session
connect (hostname As String) As com.hierynomus.smbj.connection.Connection
connect2 (hostname As String, port As Int) As com.hierynomus.smbj.connection.Connection
connectShare (session As com.hierynomus.smbj.session.Session, sharename As String, path As String, searchPattern As String)
GetAuthenticationContext (USERNAME As String, PASSWORD As String) As com.hierynomus.smbj.auth.AuthenticationContext
GetShare (session As com.hierynomus.smbj.session.Session, sharename As String) As com.hierynomus.smbj.share.DiskShare
Initialize (EventName As String)
Initialize2 (EventName As String, config As com.hierynomus.smbj.SmbConfig)
IsInitialized As Boolean
PathResolver As com.hierynomus.smbj.paths.PathResolver [read only]
rm (session As com.hierynomus.smbj.session.Session, sharename As String, file As String)

SmbConfigBuilder


Events:

None

Members:


  build As com.hierynomus.smbj.SmbConfig

  IsInitialized As Boolean

  withAuthenticators (authenticators() As com.hierynomus.protocol.commons.Factory.Named) As SmbConfigBuilder

  withBufferSize (bufferSize As Int) As SmbConfigBuilder

  withClientGuid (clientGuid As java.util.UUID) As SmbConfigBuilder

  withDfsEnabled (dfsEnabled As Boolean) As SmbConfigBuilder

  withDialects (dialects() As com.hierynomus.mssmb2.SMB2Dialect) As SmbConfigBuilder

  withMultiProtocolNegotiate (useMultiProtocolNegotiate As Boolean) As SmbConfigBuilder

  withNegotiatedBufferSize As SmbConfigBuilder

  withRandomProvider (random As java.util.Random) As SmbConfigBuilder

  withReadBufferSize (readBufferSize As Int) As SmbConfigBuilder

  withReadTimeout (timeout As Long, timeoutUnit As java.util.concurrent.TimeUnit) As SmbConfigBuilder

  withSecurityProvider (securityProvider As com.hierynomus.security.SecurityProvider) As SmbConfigBuilder

  withSigningRequired (signingRequired As Boolean) As SmbConfigBuilder

  withSocketFactory (socketFactory As javax.net.SocketFactory) As SmbConfigBuilder

  withSoTimeout (timeout As Int) As SmbConfigBuilder

  withSoTimeout2 (timeout As Long, timeoutUnit As java.util.concurrent.TimeUnit) As SmbConfigBuilder

  withTimeout (timeout As Long, timeoutUnit As java.util.concurrent.TimeUnit) As SmbConfigBuilder

  withTransactBufferSize (transactBufferSize As Int) As SmbConfigBuilder

  withTransactTimeout (timeout As Long, timeoutUnit As java.util.concurrent.TimeUnit) As SmbConfigBuilder

  withTransportLayerFactory (transportLayerFactory As com.hierynomus.smbj.transport.TransportLayerFactory) As SmbConfigBuilder

  withWriteBufferSize (writeBufferSize As Int) As SmbConfigBuilder

  withWriteTimeout (timeout As Long, timeoutUnit As java.util.concurrent.TimeUnit) As SmbConfigBuilder

Members description:

build As com.hierynomus.smbj.SmbConfig
IsInitialized As Boolean
withAuthenticators (authenticators() As com.hierynomus.protocol.commons.Factory.Named) As SmbConfigBuilder
withBufferSize (bufferSize As Int) As SmbConfigBuilder
withClientGuid (clientGuid As java.util.UUID) As SmbConfigBuilder
withDfsEnabled (dfsEnabled As Boolean) As SmbConfigBuilder
withDialects (dialects() As com.hierynomus.mssmb2.SMB2Dialect) As SmbConfigBuilder
withMultiProtocolNegotiate (useMultiProtocolNegotiate As Boolean) As SmbConfigBuilder
withNegotiatedBufferSize As SmbConfigBuilder
withRandomProvider (random As java.util.Random) As SmbConfigBuilder
withReadBufferSize (readBufferSize As Int) As SmbConfigBuilder
withReadTimeout (timeout As Long, timeoutUnit As java.util.concurrent.TimeUnit) As SmbConfigBuilder
withSecurityProvider (securityProvider As com.hierynomus.security.SecurityProvider) As SmbConfigBuilder
withSigningRequired (signingRequired As Boolean) As SmbConfigBuilder
withSocketFactory (socketFactory As javax.net.SocketFactory) As SmbConfigBuilder
withSoTimeout (timeout As Int) As SmbConfigBuilder
withSoTimeout2 (timeout As Long, timeoutUnit As java.util.concurrent.TimeUnit) As SmbConfigBuilder
withTimeout (timeout As Long, timeoutUnit As java.util.concurrent.TimeUnit) As SmbConfigBuilder
withTransactBufferSize (transactBufferSize As Int) As SmbConfigBuilder
withTransactTimeout (timeout As Long, timeoutUnit As java.util.concurrent.TimeUnit) As SmbConfigBuilder
withTransportLayerFactory (transportLayerFactory As com.hierynomus.smbj.transport.TransportLayerFactory) As SmbConfigBuilder
withWriteBufferSize (writeBufferSize As Int) As SmbConfigBuilder
withWriteTimeout (timeout As Long, timeoutUnit As java.util.concurrent.TimeUnit) As SmbConfigBuilder

SmbFiles


Events:

None

Members:


  copy (source As java.io.File, share As com.hierynomus.smbj.share.DiskShare, destPath As String, overwrite As Boolean) As Int

  Initialize (EventName As String)

  IsInitialized As Boolean

Members description:

copy (source As java.io.File, share As com.hierynomus.smbj.share.DiskShare, destPath As String, overwrite As Boolean) As Int
Initialize (EventName As String)
IsInitialized As Boolean

SmbPath


Events:

None

Members:


  Hostname As String [read only]

  IsInitialized As Boolean

  isOnSameHost (other As com.hierynomus.smbj.common.SmbPath) As Boolean

  isOnSameShare (other As com.hierynomus.smbj.common.SmbPath) As Boolean

  parse (path As String) As com.hierynomus.smbj.common.SmbPath

  Path As String [read only]

  ShareName As String [read only]

  toUncPath As String

Members description:

Hostname As String [read only]
IsInitialized As Boolean
isOnSameHost (other As com.hierynomus.smbj.common.SmbPath) As Boolean
isOnSameShare (other As com.hierynomus.smbj.common.SmbPath) As Boolean
parse (path As String) As com.hierynomus.smbj.common.SmbPath
Path As String [read only]
ShareName As String [read only]
toUncPath As String

SymlinkPathResolver


Events:

None

Members:


  Initialize (EventName As String)

  IsInitialized As Boolean

Members description:

Initialize (EventName As String)
IsInitialized As Boolean

TreeConnect


Events:

None

Members:


  CAShare As Boolean [read only]

  DfsShare As Boolean [read only]

  IsInitialized As Boolean

  ScaleoutShare As Boolean [read only]

  Session As com.hierynomus.smbj.session.Session [read only]

  ShareName As String [read only]

Members description:

CAShare As Boolean [read only]
DfsShare As Boolean [read only]
IsInitialized As Boolean
ScaleoutShare As Boolean [read only]
Session As com.hierynomus.smbj.session.Session [read only]
ShareName As String [read only]

Top