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

com.rogiel.httpchannel.util.Filesizes Maven / Gradle / Ivy

Go to download

Module providing several utilities to service implementations. Though this module is not required to implement services, it contains several shortcuts that can help implementing services.

The newest version!
/**
 * 
 */
package com.rogiel.httpchannel.util;

/**
 * @author Rogiel
 *
 */
public class Filesizes {
	public static long kb(long kb) {
		return kb * 1024;
	}
	
	public static long mb(long mb) {
		return kb(mb) * 1024;
	}
	
	public static long gb(long gb) {
		return mb(gb) * 1024;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy