Class Indentation
java.lang.Object
org.apache.creadur.whisker.out.velocity.Indentation
Manages indentation level.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Indentation
public Indentation()
-
-
Method Details
-
indent
Creates appropriate indentation, padding with spaces.- Parameters:
indentation
- not nullsource
- not null- Returns:
- appropriate indentation, not null
- Throws:
IOException
- when source cannot be read
-
indent
Creates appropriate indentation.- Parameters:
indentation
- not nullsource
- not nullpad
- padding- Returns:
- appropriate indentation, not null
- Throws:
IOException
- when source cannot be read
-