Class SortArg<O extends Identifiable>

    • Method Detail

      • valueOf

        public static <T extends IdentifiableSortArg<T> valueOf​(String s)
                                                           throws MalformedArgException
        Used by RS to parse value of request parameters.
        Parameters:
        s - the request taxon argument
        Returns:
        a new SortArg object representing the sort options in the given string, or a malformed SortArg that will throw a BadRequestException, if the given string was not well-formed.
        Throws:
        MalformedArgException