Java Doc for Markup.java in » PDF » pdf-itext » com » lowagie » text » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation
removeComment(String string, String startComment, String endComment) Removes the comments sections of a String.
Parameters: string - the original String Parameters: startComment - the String that marks the start of a Comment section Parameters: endComment - the String that marks the end of a Comment section.
This method parses a String with attributes and returns a Properties
object.
Parameters: string - a String of this form: 'key1="value1"; key2="value2";...keyN="valueN" ' a Properties object
parseLength
public static float parseLength(String string)(Code)
Parses a length.
Parameters: string - a length in the form of an optional + or -, followed by anumber and a unit. a float
Removes the comments sections of a String.
Parameters: string - the original String Parameters: startComment - the String that marks the start of a Comment section Parameters: endComment - the String that marks the end of a Comment section. the String stripped of its comment section