Beware that getContent() may return null