'개발/JAVA'에 대한 검색결과 22개
개발/JAVA와(과) 일치하는 검색결과가 없습니다.
제안:
- 모든 단어의 철자가 정확한지 확인하세요.
- 다른 검색어를 사용해 보세요.
- 더 일반적인 검색어를 사용해 보세요.
간단한 unmarshal 예제
public static Config getConfigData(String path){ Config element = null; try { JAXBContext jaxbContext = JAXBContext.newInstance(Config.class); Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); element = (Config) unmarshaller.unmarshal (new InputStreamReader(new FileInputStream(path),"UTF-8")); System.out.println (element.getId() ); System.out.println (element.getName() ); } catch (Fi..