public void WriteData(){
        try {
		File fileDir = new File("D:\\Users\\Yknx\\Dropbox\\Programación distribuida\\db\\gen_clases.sql");
 
            try (Writer out = new BufferedWriter(new OutputStreamWriter(
                    new FileOutputStream(fileDir), "UTF8"))) {
                for(Clase x:clases) out.append(x.print()).append("\r\n");
                
                
                
                out.flush();
            }
 
	    } 
	   catch (UnsupportedEncodingException e) 
	   {
		System.out.println(e.getMessage());
	   } 
	   catch (IOException e) 
	   {
		System.out.println(e.getMessage());
	    }
	   catch (Exception e)
	   {
		System.out.println(e.getMessage());
	   } 

    }