package bjc.utils.funcutils; import bjc.utils.data.ITree; /** * A sequence delimiter specialized for strings. * * @author EVE * */ public class StringDelimiter extends SequenceDelimiter { /** * Override of * {@link SequenceDelimiter#delimitSequence(Object, Object, Object...)} * for ease of use for strings. * * @param seq * The sequence to delimit. * * @return The sequence as a tree. * * @throws DelimiterException * if something went wrong with delimiting the sequence. * * @see SequenceDelimiter */ public ITree delimitSequence(String... seq) throws DelimiterException { return super.delimitSequence("root", "contents", seq); } }