- java.lang.Object
-
- mslinks.LinkInfo
-
- All Implemented Interfaces:
Serializable
public class LinkInfo extends java.lang.Object implements Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private CNRLinkcnrlinkprivate java.lang.StringcommonPathSuffixprivate LinkInfoFlagslifprivate java.lang.StringlocalBasePathprivate VolumeIDvid
-
Constructor Summary
Constructors Constructor Description LinkInfo()LinkInfo(ByteReader data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CNRLinkcreateCommonNetworkRelativeLink()Creates CommonNetworkRelativeLink and CommonPathSuffix that is empty stringVolumeIDcreateVolumeID()Creates VolumeID and LocalBasePath that is empty stringCNRLinkgetCommonNetworkRelativeLink()java.lang.StringgetCommonPathSuffix()java.lang.StringgetLocalBasePath()VolumeIDgetVolumeID()voidserialize(ByteWriter bw)LinkInfosetCommonPathSuffix(java.lang.String s)Set CommonPathSuffix and creates new CommonNetworkRelativeLink (if it not exists) If s is null takes no effectLinkInfosetLocalBasePath(java.lang.String s)Set LocalBasePath and creates new VolumeID (if it not exists) If s is null takes no effectprivate byte[]toByteArray(Serializable o)
-
-
-
Field Detail
-
lif
private LinkInfoFlags lif
-
vid
private VolumeID vid
-
localBasePath
private java.lang.String localBasePath
-
cnrlink
private CNRLink cnrlink
-
commonPathSuffix
private java.lang.String commonPathSuffix
-
-
Constructor Detail
-
LinkInfo
public LinkInfo()
-
LinkInfo
public LinkInfo(ByteReader data) throws java.io.IOException, ShellLinkException
- Throws:
java.io.IOExceptionShellLinkException
-
-
Method Detail
-
serialize
public void serialize(ByteWriter bw) throws java.io.IOException
- Specified by:
serializein interfaceSerializable- Throws:
java.io.IOException
-
toByteArray
private byte[] toByteArray(Serializable o) throws java.io.IOException
- Throws:
java.io.IOException
-
getVolumeID
public VolumeID getVolumeID()
-
createVolumeID
public VolumeID createVolumeID()
Creates VolumeID and LocalBasePath that is empty string
-
getLocalBasePath
public java.lang.String getLocalBasePath()
-
setLocalBasePath
public LinkInfo setLocalBasePath(java.lang.String s)
Set LocalBasePath and creates new VolumeID (if it not exists) If s is null takes no effect
-
getCommonNetworkRelativeLink
public CNRLink getCommonNetworkRelativeLink()
-
createCommonNetworkRelativeLink
public CNRLink createCommonNetworkRelativeLink()
Creates CommonNetworkRelativeLink and CommonPathSuffix that is empty string
-
getCommonPathSuffix
public java.lang.String getCommonPathSuffix()
-
setCommonPathSuffix
public LinkInfo setCommonPathSuffix(java.lang.String s)
Set CommonPathSuffix and creates new CommonNetworkRelativeLink (if it not exists) If s is null takes no effect
-
-