/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package buzzerproxy; import java.io.DataOutputStream; import java.util.HashMap; /** * * @author Enger */ public class IO { IO() { } public boolean isValidFileTyp(String uri, String filetyp){ boolean is = false; filetyp = filetyp.replaceAll("\\(", ""); filetyp = filetyp.replaceAll("\\)", ""); String[] content = filetyp.split("|."); for ( int i=0;i