com.starla.smb
Class SMBDeviceType
java.lang.Object
|
+--com.starla.smb.SMBDeviceType
- public class SMBDeviceType
- extends java.lang.Object
SMB device types class.
The class provides symbols for the remote device types that may be connected
to. The values are also used when returning remote share information.
|
Field Summary |
static int |
Comm
Remote communications device share |
static int |
Disk
Remote disk share |
static int |
Pipe
Remote interprocess communication/pipe share |
static int |
Printer
Remote printer share |
static int |
Unknown
Unknown remote device type |
|
Method Summary |
static java.lang.String |
asString(int devtyp)
Convert the device type to a string |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Disk
public static final int Disk
- Remote disk share
Printer
public static final int Printer
- Remote printer share
Comm
public static final int Comm
- Remote communications device share
Pipe
public static final int Pipe
- Remote interprocess communication/pipe share
Unknown
public static final int Unknown
- Unknown remote device type
SMBDeviceType
public SMBDeviceType()
asString
public static java.lang.String asString(int devtyp)
- Convert the device type to a string
- Parameters:
devtyp - Device type- Returns:
- Device type string