public class LinkInfo extends Object implements Serializable
| Constructor and Description |
|---|
LinkInfo() |
LinkInfo(ByteReader data) |
| Modifier and Type | Method and Description |
|---|---|
CNRLink |
createCommonNetworkRelativeLink()
Creates CommonNetworkRelativeLink and CommonPathSuffix that is empty string
|
VolumeID |
createVolumeID()
Creates VolumeID and LocalBasePath that is empty string
|
CNRLink |
getCommonNetworkRelativeLink() |
String |
getCommonPathSuffix() |
String |
getLocalBasePath() |
VolumeID |
getVolumeID() |
void |
serialize(ByteWriter bw) |
LinkInfo |
setCommonPathSuffix(String s)
Set CommonPathSuffix and creates new CommonNetworkRelativeLink (if it not exists)
If s is null takes no effect
|
LinkInfo |
setLocalBasePath(String s)
Set LocalBasePath and creates new VolumeID (if it not exists)
If s is null takes no effect
|
public LinkInfo()
public LinkInfo(ByteReader data) throws IOException, ShellLinkException
IOExceptionShellLinkExceptionpublic void serialize(ByteWriter bw) throws IOException
serialize in interface SerializableIOExceptionpublic VolumeID getVolumeID()
public VolumeID createVolumeID()
public String getLocalBasePath()
public LinkInfo setLocalBasePath(String s)
public CNRLink getCommonNetworkRelativeLink()
public CNRLink createCommonNetworkRelativeLink()
public String getCommonPathSuffix()
Copyright © 2016–2018 Frederik Kammel. All rights reserved.