public class LineContent extends Content
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
text
The text associated with the line content.
|
Constructor and Description |
---|
LineContent(java.lang.String text)
Constructs an instance of the ignored line in INI file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
notEmpty()
Checks if the content is empty or not.
|
void |
write(java.io.PrintWriter pw)
Writes the content to the file via Writer object provided.
|
public LineContent(java.lang.String text)
text
- The text corresponding to the whole line of the comment or empty space line.