Hyperlinks: Difference between revisions

From FreeMind
Jump to navigationJump to search
Line 18: Line 18:
| urlGetFile
| urlGetFile
| A heuristic workaround.
| A heuristic workaround.
|-
| [http://freemind.cvs.sourceforge.net/freemind/freemind/freemind/main/Tools.java Tools]
| fileToUrl
| Converts a file to URL, working around Java issues.
|}
|}



Revision as of 12:28, 1 October 2008

FreeMind supports having one hyperlink per node, linking to web pages, mail addresses, and to local files.

Implementation

Making hyperlinks work fine on all the supported platforms including Microsoft Windows, Max OS X and Linux is technically tricky, requiring dedicated code for each group of platforms.

Methods
Class Method Description
FreeMind openDocument
Tools urlGetFile A heuristic workaround.
Tools fileToUrl Converts a file to URL, working around Java issues.

Cases

Type Case Example Path Note
Local file Unix path "/folder/some more/file"
Local file Windows drive path "C:\Users\User Joe\file"
Local file Windows network path "\\hostname\folder\file" Following is broken in 0.9.0 beta 18.

Tracker items

Links