- 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 CNRLink
cnrlink
private java.lang.String
commonPathSuffix
private LinkInfoFlags
lif
private java.lang.String
localBasePath
private VolumeID
vid
-
Constructor Summary
Constructors Constructor Description LinkInfo()
LinkInfo(ByteReader data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CNRLink
createCommonNetworkRelativeLink()
Creates CommonNetworkRelativeLink and CommonPathSuffix that is empty stringVolumeID
createVolumeID()
Creates VolumeID and LocalBasePath that is empty stringCNRLink
getCommonNetworkRelativeLink()
java.lang.String
getCommonPathSuffix()
java.lang.String
getLocalBasePath()
VolumeID
getVolumeID()
void
serialize(ByteWriter bw)
LinkInfo
setCommonPathSuffix(java.lang.String s)
Set CommonPathSuffix and creates new CommonNetworkRelativeLink (if it not exists) If s is null takes no effectLinkInfo
setLocalBasePath(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.IOException
ShellLinkException
-
-
Method Detail
-
serialize
public void serialize(ByteWriter bw) throws java.io.IOException
- Specified by:
serialize
in 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
-
-