class Text {

    public static Text fromRawText(String rawText) {
        Preconditions.checkNotNull(rawText);
        String trimmedText = rawText.trim();
        Preconditions.checkArgument(!trimmedText.isEmpty(), "Text should not be empty");

        return new Text(replaceLineBreaksByContinuation(trimmedText));
    }

    public  Text(String content);

}