eXo JCR :: Component :: Webdav Service 1.15.11-GA

org.exoplatform.services.jcr.webdav.lnkproducer
Class LinkGenerator

java.lang.Object
  extended by org.exoplatform.services.jcr.webdav.lnkproducer.LinkGenerator

public class LinkGenerator
extends Object

Created by The eXo Platform SAS Author : Vitaly Guly.

Version:
$Id: $

Field Summary
static int[] linkHeader
          MICROSOFT *.LNK FILE HEADER.
 
Constructor Summary
LinkGenerator(String hostName, String servletPath, String targetPath)
          Constructor.
 
Method Summary
 byte[] generateLinkContent()
          Generates the content of link.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

eXo JCR :: Component :: Webdav Service 1.15.11-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.