code: public static RegistryEntry[] getValues(String branch, short type) throws RegistryException, IOException, InterruptedException {
  	String[] cmd = new String[] { "reg", "query", branch };
  	return filter(executeQuery(cmd), cleanBrunch(branch), type);
      }
docs: gets all entries of one branch
  
  @param branch
  @param type
  @return
  @throws RegistryException
  @throws IOException
  @throws InterruptedException