public class ShareType extends Object
Available shared resource types.
Modifier and Type | Field and Description |
---|---|
static int |
ADMINPIPE |
static int |
DISK |
static int |
NAMEDPIPE |
static int |
PRINTER |
static int |
UNKNOWN |
Constructor and Description |
---|
ShareType() |
Modifier and Type | Method and Description |
---|---|
static int |
asShareInfoType(int typ)
Return the share type as a share information type.
|
static int |
ServiceAsType(String srvName)
Return the SMB service name as a shared device type.
|
static String |
TypeAsService(int typ)
Return the share type as a service string.
|
static String |
TypeAsString(int typ)
Return the share type as a string.
|
public static final int DISK
public static final int PRINTER
public static final int NAMEDPIPE
public static final int ADMINPIPE
public static final int UNKNOWN
public static final int asShareInfoType(int typ)
typ
- intpublic static final int ServiceAsType(String srvName)
srvName
- java.lang.Stringpublic static final String TypeAsService(int typ)
typ
- intpublic static final String TypeAsString(int typ)
typ
- intCopyright © 2005–2018 Alfresco Software. All rights reserved.