Back to project page Calma.
The source code is released under:
Apache License
If you think the Android project Calma listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (C) 2013 Thomas Schmid/*w w w . ja v a2s. co m*/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. */ package com.scto.android.calma.utils; import com.scto.android.calma.R; /** * Holds all of the sort orders for each list type. * * @author Thomas Schmid (tschmid35@gmail.com) */ public final class SortOrder { /** This class is never instantiated */ public SortOrder() { } /** * Artist sort order entries. */ public static interface SortOrder { /* File system sort order A-Z */ public final static String A_Z = "A_Z" + " DESC"; /* File system sort order Z-A */ public final static String Z_A = A_Z + " DESC"; /* File system sort order folder first */ public final static String FOLDER_FIRST = "FOLDER_FIRST" + " DESC"; /* File system sort order size */ public final static String SIZE = "SIZE" + " DESC"; /* File system sort order date */ public final static String DATE = "DATE" + " DESC"; } }