This is complex stuff, thanks for donating it! I will take a look at it, that was very 
gracious of you.

Wiley
  ----- Original Message ----- 
  From: Grant Gongaware 
  To: Slide Users Mailing List 
  Sent: Wednesday, July 07, 2004 9:49 PM
  Subject: Re: Best Practice?


  Sorry, missed dependent ByteBuffer class.

  -Grant


  Grant Gongaware wrote: 
    Attached is the shortcut building class. Currently it can only make webfolder 
shortcuts, though someday I hope for more features like Local-drive/NetBIOS-share 
shortcuts and maybe other shortcuts like internal Outlook links or application 
launchers.

    Here's an example usage in a doGet() method of a Servlet -

            Win32Link lnk = new Win32Link();
             lnk.setWebfile("files on " + request.getServerName(),
                        "http://abc.org/pub/docs/report.xls";,
                        "http://abc.org/pub/";);
            response.setContentType("application/octet-stream");
            byte [] data = lnk.getBytes();
            response.setContentLength(data.length);
            OutputStream out = response.getOutputStream();
            out.write(data);
            out.close();

    -Grant

----------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to