Révision 3903
TXM/trunk/bundles/org.txm.core/src/java/org/txm/objects/Project.java (revision 3903) | ||
---|---|---|
1607 | 1607 |
*/ |
1608 | 1608 |
public void appendToHistory(String line) { |
1609 | 1609 |
|
1610 |
File logFile = new File(this.getProjectDirectory(), "HISTORY");
|
|
1610 |
File logFile = new File(this.getProjectDirectory(), "NOTES");
|
|
1611 | 1611 |
PrintWriter writer = null; |
1612 | 1612 |
try { |
1613 | 1613 |
writer = IOUtils.getWriter(logFile, true); |
... | ... | |
1626 | 1626 |
|
1627 | 1627 |
public void writeHistory(String history) { |
1628 | 1628 |
|
1629 |
File logFile = new File(this.getProjectDirectory(), "HISTORY");
|
|
1629 |
File logFile = new File(this.getProjectDirectory(), "NOTES");
|
|
1630 | 1630 |
IOUtils.write(logFile, history); |
1631 | 1631 |
} |
1632 | 1632 |
|
1633 | 1633 |
public String getHistory() throws IOException { |
1634 | 1634 |
|
1635 |
File logFile = new File(this.getProjectDirectory(), "HISTORY");
|
|
1635 |
File logFile = new File(this.getProjectDirectory(), "NOTES");
|
|
1636 | 1636 |
if (logFile.exists()) { |
1637 | 1637 |
return IOUtils.getText(logFile); |
1638 | 1638 |
} else { |
Formats disponibles : Unified diff