
net.alloyggp.escaperope.DelimiterSignatures Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of escape-rope Show documentation
Show all versions of escape-rope Show documentation
A library for turning structured data into strings and back.
package net.alloyggp.escaperope;
public class DelimiterSignatures {
/**
* Parses the signature indicated by the prefix of the string.
*/
public static DelimiterSignature parse(String signedString) {
if (signedString.length() < 2) {
throw new IllegalArgumentException("Signed strings must be at least 2 characters long.");
}
throw new IllegalArgumentException("Could not parse a signature for the string: " + signedString);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy