/** * Generate a reference token from a decoded (raw) representation * * @param raw the input * @return a token * @throws NullPointerException null input */ public static ReferenceToken fromRaw(final String raw) { BUNDLE.checkNotNull(raw, "nullInput"); return new ReferenceToken(asCooked(raw), raw); }
/** * Generate a reference token from a decoded (raw) representation * * @param raw the input * @return a token * @throws NullPointerException null input */ public static ReferenceToken fromRaw(final String raw) { BUNDLE.checkNotNull(raw, "nullInput"); return new ReferenceToken(asCooked(raw), raw); }