Class LinkGenerator


  • public class LinkGenerator
    extends Object
    Created by The eXo Platform SAS.
    Version:
    $Id: $
    Author:
    Vitaly Guly - gavrikvetal@gmail.com
    • Field Detail

      • linkHeader

        public static int[] linkHeader
        MICROSOFT *.LNK FILE HEADER.
    • Constructor Detail

      • LinkGenerator

        public LinkGenerator​(String hostName,
                             String servletPath,
                             String targetPath)
        Constructor.
        Parameters:
        hostName - host name
        servletPath - servlet path
        targetPath - target path
    • Method Detail

      • generateLinkContent

        public byte[] generateLinkContent()
                                   throws IOException
        Generates the content of link.
        Returns:
        link content
        Throws:
        IOException - IOException