// Path: app/src/main/java/de/codecentric/util/TwitterLinkCreator.java
// public class TwitterLinkCreator {
// 
//     public static final Pattern TWITTER_NAME_PATTERN = Pattern.compile("@[a-zA-Z0-9_]+");
// 
//     public static String process(String result) {
//         Matcher m = TWITTER_NAME_PATTERN.matcher(result);
// 
//         while (m.find()) {
//             final String name = m.group();
//             result = result.replaceFirst(name, "<a href=\"http://twitter.com/" + name.substring(1) + "\">" + name + "</a>");
//         }
// 
//         return result;
//     }
// }


import de.codecentric.util.TwitterLinkCreator;
package de.codecentric.model;


public class TimelineEntry {

    private String date;
    private String user;
    private String comment;
    private String sessionId;
    private String sessionTitle;

    public TimelineEntry(String date, String user, String comment, String sessionId, String sessionTitle) {
        super();
        this.date = date;
        this.user = user;
        this.comment = comment;
        this.sessionId = sessionId;
        this.sessionTitle = sessionTitle;
    }

    public String getDate() {
        return date;
    }

    public String getUser() {
        return user;
    }

    public String getProcessedUser() {
// Path: app/src/main/java/de/codecentric/util/TwitterLinkCreator.java
// public class TwitterLinkCreator {
// 
//     public static final Pattern TWITTER_NAME_PATTERN = Pattern.compile("@[a-zA-Z0-9_]+");
// 
//     public static String process(String result) {
//         Matcher m = TWITTER_NAME_PATTERN.matcher(result);
// 
//         while (m.find()) {
//             final String name = m.group();
//             result = result.replaceFirst(name, "<a href=\"http://twitter.com/" + name.substring(1) + "\">" + name + "</a>");
//         }
// 
//         return result;
//     }
// }


// Path: app/src/main/java/de/codecentric/model/TimelineEntry.java
import de.codecentric.util.TwitterLinkCreator;

package de.codecentric.model;


public class TimelineEntry {

    private String date;
    private String user;
    private String comment;
    private String sessionId;
    private String sessionTitle;

    public TimelineEntry(String date, String user, String comment, String sessionId, String sessionTitle) {
        super();
        this.date = date;
        this.user = user;
        this.comment = comment;
        this.sessionId = sessionId;
        this.sessionTitle = sessionTitle;
    }

    public String getDate() {
        return date;
    }

    public String getUser() {
        return user;
    }

    public String getProcessedUser() {
        return TwitterLinkCreator.process(user);