|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.access.ISeriesNetServerShare
com.ibm.as400.access.ISeriesNetServerFileShare
public class ISeriesNetServerFileShare
The ISeriesNetServerFileShare class represents a NetServer file share.
Field Summary | |
---|---|
static int |
ENABLED
Value of the "text conversion enablement" attribute, indicating "text conversion is enabled". |
static int |
ENABLED_AND_MIXED
Value of the "text conversion enablement" attribute, indicating "text conversion is enabled, and mixed data is allowed". |
static int |
NO_MAX
Value of the "maximum number of users" attribute, indicating "no maximum". |
static int |
NOT_ENABLED
Value of the "text conversion enablement" attribute, indicating "text conversion not enabled". |
static int |
READ_ONLY
Value of the "permission" attribute, indicating read-only permission. |
static int |
READ_WRITE
Value of the "permission" attribute, indicating read-write permission. |
static int |
UNKNOWN
Value of the "current number of users" attribute, indicating that the system was unable to retrieve the actual value. |
Method Summary | |
---|---|
int |
getCcsidForTextConversion()
Gets the client CCSID that is used for text file data conversion. |
int |
getCurrentNumberOfUsers()
Gets the number of connections that are currently made to the share. |
String[] |
getFileExtensions()
Gets the list of file extensions for the share. |
int |
getMaximumNumberOfUsers()
Gets the maximum number of concurrent connections that the share can accommodate. |
String |
getPath()
Gets the path in the integrated file system to be shared with the network. |
int |
getPermissions()
Gets the access available from the network for this share. |
int |
getTextConversionEnablement()
Gets the value of the "enable text conversion" attribute. |
void |
setCcsidForTextConversion(int ccsid)
Sets the client CCSID that is used for text file data conversion. |
void |
setFileExtensions(String[] extensions)
Sets the list of file extensions for the share. |
void |
setMaximumNumberOfUsers(int maximumUsers)
Sets the maximum number of concurrent connections that the share can accommodate. |
void |
setPath(String path)
Sets the path in the integrated file system to be shared with the network. |
void |
setPermissions(int permissions)
Sets the access available from the network for this share. |
void |
setTextConversionEnablement(int enablement)
Sets the value of the "enable text conversion" attribute. |
Methods inherited from class com.ibm.as400.access.ISeriesNetServerShare |
---|
getDescription, getName, setDescription |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_MAX
public static final int UNKNOWN
public static final int READ_ONLY
public static final int READ_WRITE
public static final int NOT_ENABLED
public static final int ENABLED
public static final int ENABLED_AND_MIXED
Method Detail |
---|
public String getPath()
public void setPath(String path)
path
- The path.public int getPermissions()
READ_ONLY
and READ_WRITE
.
public void setPermissions(int permissions)
READ_ONLY
and READ_WRITE
.
public int getMaximumNumberOfUsers()
NO_MAX
indicates that there is no limit.
A value of 0 indicates that the share is unavailable for use.
public void setMaximumNumberOfUsers(int maximumUsers)
NO_MAX
indicates that there is no limit.
A value of 0 indicates that the share is unavailable for use.
maximumUsers
- The maximum number of users.public int getCurrentNumberOfUsers()
UNKNOWN
means that the system was unable to retrieve the value.
public int getTextConversionEnablement()
ENABLED
, NOT_ENABLED
, and ENABLED_AND_MIXED
.
public void setTextConversionEnablement(int enablement)
ENABLED
, NOT_ENABLED
, and ENABLED_AND_MIXED
.
enablement
- The text conversion enablement.public int getCcsidForTextConversion()
public void setCcsidForTextConversion(int ccsid)
ccsid
- The CCSID that is used for text file data conversion.public String[] getFileExtensions()
public void setFileExtensions(String[] extensions)
extensions
- The file extensions list.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |