Java tutorial
//package com.java2s; public class Main { public static boolean notWorthCompressing(String contentType) { return contentType.contains("jpeg") || contentType.contains("pdf") || contentType.contains("zip") || contentType.contains("mpeg") || contentType.contains("avi"); } }