Class SortTemplate

Version 1.2 - Updated on 9/23/2016

public class SortTemplate

Helper class for sorting getSearch(SearchTemplate, SortTemplate, Integer, Integer) results.

1) To sort by file name A-Z:

SortTemplate sort = new SortTemplate.Builder().sortAsc(;

2) To sort for file extension ascending, then by file name descending:

SortTemplate sort = new SortTemplate.Builder().sortAsc(SortType.extension).sortDesc(;

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.