BrightSide Workbench Full Report + Source Code
org.turro.contacts.comment.AboutWrapper Class Reference

Public Member Functions

 AboutWrapper (String lang, String langLabel, Comment comment)
 
String getLang ()
 
String getLangLabel ()
 
Comment getComment ()
 
boolean isNewComment ()
 
boolean isEmpty ()
 
String getCommentString ()
 
void setCommentString (String value)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 29 of file AboutWrapper.java.

Constructor & Destructor Documentation

◆ AboutWrapper()

org.turro.contacts.comment.AboutWrapper.AboutWrapper ( String  lang,
String  langLabel,
Comment  comment 
)

Definition at line 35 of file AboutWrapper.java.

35  {
36  this.lang = lang;
37  this.langLabel = langLabel;
38  this.comment = comment;
39  initComment();
40  }

Member Function Documentation

◆ getComment()

Comment org.turro.contacts.comment.AboutWrapper.getComment ( )

Definition at line 50 of file AboutWrapper.java.

50  {
51  return comment;
52  }

◆ getCommentString()

String org.turro.contacts.comment.AboutWrapper.getCommentString ( )

Definition at line 62 of file AboutWrapper.java.

62  {
63  return comment.getComment().substring(lang.length() + 3);
64  }
Here is the call graph for this function:

◆ getLang()

String org.turro.contacts.comment.AboutWrapper.getLang ( )

Definition at line 42 of file AboutWrapper.java.

42  {
43  return lang;
44  }

◆ getLangLabel()

String org.turro.contacts.comment.AboutWrapper.getLangLabel ( )

Definition at line 46 of file AboutWrapper.java.

46  {
47  return langLabel;
48  }

◆ isEmpty()

boolean org.turro.contacts.comment.AboutWrapper.isEmpty ( )

Definition at line 58 of file AboutWrapper.java.

58  {
59  return comment.getComment().length() <= lang.length() + 4;
60  }
Here is the call graph for this function:

◆ isNewComment()

boolean org.turro.contacts.comment.AboutWrapper.isNewComment ( )

Definition at line 54 of file AboutWrapper.java.

54  {
55  return newComment;
56  }

◆ setCommentString()

void org.turro.contacts.comment.AboutWrapper.setCommentString ( String  value)

Definition at line 66 of file AboutWrapper.java.

66  {
67  comment.setComment("#cv" + lang + HTMLEntities.plainWhenPossible(value));
68  }
void setComment(String comment)
Definition: Comment.java:85
Here is the call graph for this function:

The documentation for this class was generated from the following file: