POLITECHNIKA RZESZOWSKA - Wydział Elektrotechniki I Informatyki
File file = new File("file_name.xml")
Document document = builder.parse(file);
InputStream is = new InputStream("file_name.xml");
// InputStream is = getClassO .getResourceAsStream("file_nama.xml"); //JAR
Document document = builder.parse(is);
[)); A
URL url = new URL(getCodeBase(), "file_name. xml") Document document = builder.parse(url.openStreamO
JAVA Wykladli
Copyright © 2012 Jan PROKOP