Certo che puoi... io l'ho usato con un Immagine

codice:
String pathFile = "C:\\Documents and Settings\\;
file = new File(pathFile); 		
 try{javax.imageio.ImageIO.write(bufImage, "jpg", file);}catch (IOException e){e.printStackTrace();}
ricorda di mettere i doppi \\ altrimenti ti da errore