com.tngtech.freemind2wiki
Class Confluence2FMConverter

java.lang.Object
  extended by com.tngtech.freemind2wiki.Confluence2FMConverter
All Implemented Interfaces:
Converter

public class Confluence2FMConverter
extends java.lang.Object
implements Converter

Converts a Confluence wiki site to a FreeMind mind-map (*.mm).

See http://confluence.atlassian.com/renderer/notationhelp.action?section=all for a description of the Confluence markup.

The markup content is hierarchically structured by headers and ordered or unordered lists. The converter automatically detects the number of headers used for nesting, i.e. at which depth lists follow headers.

Example: numbers of headers used for nesting = 3

 h1. Depth 0
 h2. Depth 1
 h2. Depth 1
 h3. Depth2
 * Depth 4
 ** Depth 5
 ** Depth 5
 * Depth 4
 
Example 2: numbers of headers used for nesting = 5
 h1. Depth 0
 h2. Depth 1
 h2. Depth 1
 h3. Depth2
 h4. Depth2
 h5. Depth2
 * Depth 4
 ** Depth 5
 ** Depth 5
 * Depth 4
 


Constructor Summary
Confluence2FMConverter()
           
 
Method Summary
 void convert(java.io.Reader source, java.io.Writer target)
          Starts the conversion process.
 boolean isPrettyPrint()
           
 void setPrettyPrint(boolean prettyPrint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Confluence2FMConverter

public Confluence2FMConverter()
Method Detail

convert

public void convert(java.io.Reader source,
                    java.io.Writer target)
             throws java.io.IOException
Starts the conversion process.

Specified by:
convert in interface Converter
Parameters:
source - the source to read from
target - the taget where the data is written to
Throws:
java.io.IOException - if there is an underlying exception

isPrettyPrint

public boolean isPrettyPrint()

setPrettyPrint

public void setPrettyPrint(boolean prettyPrint)


Copyright © 2008-2009 TNG Technology Consulting GmbH. All Rights Reserved.