Package gui
Class PropertyHelper
java.lang.Object
gui.PropertyHelper
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intA constant defining that text should be escaped in a way which is suitable for property comments.static final intA constant defining that text should be escaped in a way which is suitable for property keys.static final intA constant defining that text should be escaped in a way which is suitable for property values.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidsaveConvert(String text, int escapeMode, PrintWriter writer) Performs the necessary conversion of an java string into a property escaped string.
- 
Field Details- 
ESCAPE_KEYpublic static final int ESCAPE_KEYA constant defining that text should be escaped in a way which is suitable for property keys.- See Also:
 
- 
ESCAPE_VALUEpublic static final int ESCAPE_VALUEA constant defining that text should be escaped in a way which is suitable for property values.- See Also:
 
- 
ESCAPE_COMMENTpublic static final int ESCAPE_COMMENTA constant defining that text should be escaped in a way which is suitable for property comments.- See Also:
 
 
- 
- 
Constructor Details- 
PropertyHelperpublic PropertyHelper()
 
- 
- 
Method Details- 
saveConvertPerforms the necessary conversion of an java string into a property escaped string.- Parameters:
- text- the text to be escaped
- escapeMode- the mode that should be applied.
- writer- the writer that should receive the content.
 
 
-