class MailRepositoryPath implements Comparable<MailRepositoryPath> {

    public static MailRepositoryPath fromEncoded(String encodedPath) throws UnsupportedEncodingException {
        Preconditions.checkNotNull(encodedPath, "Supplied MailRepositoryPath value is null");

        return from(URLDecoder.decode(encodedPath, StandardCharsets.UTF_8.displayName()));
    }

    private  MailRepositoryPath(String value);

}