Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class App {
- public static void main(String[] args) throws FileNotFoundException {
- Yaml y= new Yaml();
- FileReader file = new FileReader("YAML.yml");
- Configuration config = y.loadAs(file,Configuration.class);
- }
- }
Add Comment
Please, Sign In to add comment