public interface SmbConstants
Modifier and Type | Field and Description |
---|---|
static int |
ATTR_ARCHIVE
Files is marked to be archived
|
static int |
ATTR_COMPRESSED |
static int |
ATTR_DIRECTORY
File is a directory
|
static int |
ATTR_HIDDEN
File is marked hidden
|
static int |
ATTR_NORMAL |
static int |
ATTR_READONLY
File is marked read-only
|
static int |
ATTR_SYSTEM
File is marked a system file
|
static int |
ATTR_TEMPORARY |
static int |
ATTR_VOLUME
File is marked a volume
|
static int |
CAP_DFS |
static int |
CAP_EXTENDED_SECURITY |
static int |
CAP_LARGE_FILES |
static int |
CAP_LARGE_READX |
static int |
CAP_LARGE_WRITEX |
static int |
CAP_LEVEL_II_OPLOCKS |
static int |
CAP_LOCK_AND_READ |
static int |
CAP_MPX_MODE |
static int |
CAP_NONE |
static int |
CAP_NT_FIND |
static int |
CAP_NT_SMBS |
static int |
CAP_RAW_MODE |
static int |
CAP_RPC_REMOTE_APIS |
static int |
CAP_STATUS32 |
static int |
CAP_UNICODE |
static int |
CMD_OFFSET |
static int |
DEFAULT_CONN_TIMEOUT |
static int |
DEFAULT_MAX_MPX_COUNT |
static int |
DEFAULT_NOTIFY_BUF_SIZE |
static String |
DEFAULT_OEM_ENCODING |
static int |
DEFAULT_PORT |
static int |
DEFAULT_RCV_BUF_SIZE |
static int |
DEFAULT_RESPONSE_TIMEOUT |
static int |
DEFAULT_SHARING
Default sharing mode for files
|
static int |
DEFAULT_SND_BUF_SIZE |
static int |
DEFAULT_SO_TIMEOUT |
static int |
DEFAULT_SSN_LIMIT |
static int |
DELETE |
static int |
ERROR_CODE_OFFSET |
static int |
FILE_APPEND_DATA |
static int |
FILE_DELETE |
static int |
FILE_EXECUTE |
static int |
FILE_NO_SHARE
When specified as the shareAccess constructor parameter,
other SMB clients (including other threads making calls into jCIFS)
will not be permitted to access the target file and will receive "The
file is being accessed by another process" message.
|
static int |
FILE_READ_ATTRIBUTES |
static int |
FILE_READ_DATA |
static int |
FILE_READ_EA |
static int |
FILE_SHARE_DELETE
When specified as the shareAccess constructor parameter,
other SMB clients will be permitted to delete the target file while
this file is open.
|
static int |
FILE_SHARE_READ
When specified as the shareAccess constructor parameter,
other SMB clients will be permitted to read from the target file while
this file is open.
|
static int |
FILE_SHARE_WRITE
When specified as the shareAccess constructor parameter,
other SMB clients will be permitted to write to the target file while
this file is open.
|
static int |
FILE_WRITE_ATTRIBUTES |
static int |
FILE_WRITE_DATA |
static int |
FILE_WRITE_EA |
static int |
FLAGS_COPY_SOURCE_MODE_ASCII |
static int |
FLAGS_COPY_TARGET_MODE_ASCII |
static int |
FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK |
static int |
FLAGS_NONE |
static int |
FLAGS_NOTIFY_OF_MODIFY_ACTION |
static int |
FLAGS_OFFSET |
static int |
FLAGS_OPLOCK_REQUESTED_OR_GRANTED |
static int |
FLAGS_PATH_NAMES_CANONICALIZED |
static int |
FLAGS_PATH_NAMES_CASELESS |
static int |
FLAGS_RECEIVE_BUFFER_POSTED |
static int |
FLAGS_RESPONSE |
static int |
FLAGS_TARGET_MUST_BE_DIRECTORY |
static int |
FLAGS_TARGET_MUST_BE_FILE |
static int |
FLAGS_TREE_COPY |
static int |
FLAGS_VERIFY_ALL_WRITES |
static int |
FLAGS2_EXTENDED_ATTRIBUTES |
static int |
FLAGS2_EXTENDED_SECURITY_NEGOTIATION |
static int |
FLAGS2_LONG_FILENAMES |
static int |
FLAGS2_NONE |
static int |
FLAGS2_PERMIT_READ_IF_EXECUTE_PERM |
static int |
FLAGS2_RESOLVE_PATHS_IN_DFS |
static int |
FLAGS2_SECURITY_REQUIRE_SIGNATURES |
static int |
FLAGS2_SECURITY_SIGNATURES |
static int |
FLAGS2_STATUS32 |
static int |
FLAGS2_UNICODE |
static int |
FOREVER |
static int |
GENERIC_ALL |
static int |
GENERIC_EXECUTE |
static int |
GENERIC_READ |
static int |
GENERIC_WRITE |
static long |
MILLISECONDS_BETWEEN_1970_AND_1601 |
static int |
O_APPEND |
static int |
O_CREAT |
static int |
O_EXCL |
static int |
O_RDONLY |
static int |
O_RDWR |
static int |
O_TRUNC |
static int |
O_WRONLY |
static int |
OPEN_FUNCTION_FAIL_IF_EXISTS |
static int |
OPEN_FUNCTION_OVERWRITE_IF_EXISTS |
static int |
READ_CONTROL |
static int |
SECURITY_SHARE |
static int |
SECURITY_USER |
static int |
SIGNATURE_OFFSET |
static int |
SMB1_HEADER_LENGTH |
static int |
SYNCHRONIZE |
static int |
TID_OFFSET |
static int |
TYPE_COMM
Returned by
SmbResource.getType() if the resource this SmbFile
represents is a communications device. |
static int |
TYPE_FILESYSTEM
Returned by
SmbResource.getType() if the resource this SmbFile
represents is a regular file or directory. |
static int |
TYPE_NAMED_PIPE
Returned by
SmbResource.getType() if the resource this SmbFile
represents is a named pipe. |
static int |
TYPE_PRINTER
Returned by
SmbResource.getType() if the resource this SmbFile
represents is a printer. |
static int |
TYPE_SERVER
Returned by
SmbResource.getType() if the resource this SmbFile
represents is a server. |
static int |
TYPE_SHARE
Returned by
SmbResource.getType() if the resource this SmbFile
represents is a share. |
static int |
TYPE_WORKGROUP
Returned by
SmbResource.getType() if the resource this SmbFile
represents is a workgroup. |
static int |
WRITE_DAC |
static int |
WRITE_OWNER |
static final int DEFAULT_PORT
static final int DEFAULT_MAX_MPX_COUNT
static final int DEFAULT_RESPONSE_TIMEOUT
static final int DEFAULT_SO_TIMEOUT
static final int DEFAULT_RCV_BUF_SIZE
static final int DEFAULT_SND_BUF_SIZE
static final int DEFAULT_NOTIFY_BUF_SIZE
static final int DEFAULT_SSN_LIMIT
static final int DEFAULT_CONN_TIMEOUT
static final int FLAGS_NONE
static final int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK
static final int FLAGS_RECEIVE_BUFFER_POSTED
static final int FLAGS_PATH_NAMES_CASELESS
static final int FLAGS_PATH_NAMES_CANONICALIZED
static final int FLAGS_OPLOCK_REQUESTED_OR_GRANTED
static final int FLAGS_NOTIFY_OF_MODIFY_ACTION
static final int FLAGS_RESPONSE
static final int FLAGS2_NONE
static final int FLAGS2_LONG_FILENAMES
static final int FLAGS2_EXTENDED_ATTRIBUTES
static final int FLAGS2_SECURITY_SIGNATURES
static final int FLAGS2_SECURITY_REQUIRE_SIGNATURES
static final int FLAGS2_EXTENDED_SECURITY_NEGOTIATION
static final int FLAGS2_RESOLVE_PATHS_IN_DFS
static final int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM
static final int FLAGS2_STATUS32
static final int FLAGS2_UNICODE
static final int CAP_NONE
static final int CAP_RAW_MODE
static final int CAP_MPX_MODE
static final int CAP_UNICODE
static final int CAP_LARGE_FILES
static final int CAP_NT_SMBS
static final int CAP_RPC_REMOTE_APIS
static final int CAP_STATUS32
static final int CAP_LEVEL_II_OPLOCKS
static final int CAP_LOCK_AND_READ
static final int CAP_NT_FIND
static final int CAP_DFS
static final int CAP_LARGE_READX
static final int CAP_LARGE_WRITEX
static final int CAP_EXTENDED_SECURITY
static final int ATTR_READONLY
static final int ATTR_HIDDEN
static final int ATTR_SYSTEM
static final int ATTR_VOLUME
static final int ATTR_DIRECTORY
static final int ATTR_ARCHIVE
static final int ATTR_COMPRESSED
static final int ATTR_NORMAL
static final int ATTR_TEMPORARY
static final int FILE_READ_DATA
static final int FILE_WRITE_DATA
static final int FILE_APPEND_DATA
static final int FILE_READ_EA
static final int FILE_WRITE_EA
static final int FILE_EXECUTE
static final int FILE_DELETE
static final int FILE_READ_ATTRIBUTES
static final int FILE_WRITE_ATTRIBUTES
static final int DELETE
static final int READ_CONTROL
static final int WRITE_DAC
static final int WRITE_OWNER
static final int SYNCHRONIZE
static final int GENERIC_ALL
static final int GENERIC_EXECUTE
static final int GENERIC_WRITE
static final int GENERIC_READ
static final int FLAGS_TARGET_MUST_BE_FILE
static final int FLAGS_TARGET_MUST_BE_DIRECTORY
static final int FLAGS_COPY_TARGET_MODE_ASCII
static final int FLAGS_COPY_SOURCE_MODE_ASCII
static final int FLAGS_VERIFY_ALL_WRITES
static final int FLAGS_TREE_COPY
static final int OPEN_FUNCTION_FAIL_IF_EXISTS
static final int OPEN_FUNCTION_OVERWRITE_IF_EXISTS
static final int SECURITY_SHARE
static final int SECURITY_USER
static final int CMD_OFFSET
static final int ERROR_CODE_OFFSET
static final int FLAGS_OFFSET
static final int SIGNATURE_OFFSET
static final int TID_OFFSET
static final int SMB1_HEADER_LENGTH
static final long MILLISECONDS_BETWEEN_1970_AND_1601
static final String DEFAULT_OEM_ENCODING
static final int FOREVER
static final int FILE_NO_SHARE
static final int FILE_SHARE_READ
static final int FILE_SHARE_WRITE
static final int FILE_SHARE_DELETE
static final int DEFAULT_SHARING
static final int TYPE_FILESYSTEM
SmbResource.getType()
if the resource this SmbFile
represents is a regular file or directory.static final int TYPE_WORKGROUP
SmbResource.getType()
if the resource this SmbFile
represents is a workgroup.static final int TYPE_SERVER
SmbResource.getType()
if the resource this SmbFile
represents is a server.static final int TYPE_SHARE
SmbResource.getType()
if the resource this SmbFile
represents is a share.static final int TYPE_NAMED_PIPE
SmbResource.getType()
if the resource this SmbFile
represents is a named pipe.static final int TYPE_PRINTER
SmbResource.getType()
if the resource this SmbFile
represents is a printer.static final int TYPE_COMM
SmbResource.getType()
if the resource this SmbFile
represents is a communications device.static final int O_RDONLY
static final int O_WRONLY
static final int O_RDWR
static final int O_APPEND
static final int O_CREAT
static final int O_EXCL
static final int O_TRUNC
Copyright © 2017. All rights reserved.