All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vikingbrain.nmt.operations.parameters.FileSorting Maven / Gradle / Ivy

Go to download

A Java HTTP client for consuming TheDavidBox Service API of Networked Media Tank devices

There is a newer version: 1.2.1
Show newest version
package com.vikingbrain.nmt.operations.parameters;

/**
 * Sorting option. (name_asc/dsc, date_asc/dsc, size_asc/dsc).
 * @author vikingBrain
 *
 */
public enum FileSorting {

	NAME_ASC {
		public String getParamValue() {
			return "name_asc";
		}
	},

	NAME_DSC {
		public String getParamValue() {
			return "name_dsc";
		}
	},
	
	DATE_ASC {
		public String getParamValue() {
			return "date_asc";
		}
	},

	DATE_DSC {
		public String getParamValue() {
			return "date_dsc";
		}
	},

	SIZE_ASC {
		public String getParamValue() {
			return "size_asc";
		}
	},
	
	SIZE_DSC {
		public String getParamValue() {
			return "size_dsc";
		}
	};
	

		
	/**
	 * Abstract method get the description.
	 * @return description of the error
	 */
	public abstract String getParamValue();


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy