public static void main(String[] args) throws TextParseException, IOException {
File zoneFile = new File("zones/unlogic.se");
Master master = new Master(zoneFile.getPath(),Name.fromString(zoneFile.getName(), Name.root));
Record record = master._nextRecord();
while(record != null){
System.out.println("Class: " + record.getClass());
System.out.println("Name: " + record.getName());
System.out.println("toString: " + record.toString());
System.out.println();
record = master._nextRecord();
}
}